Dears... with the following script I covered 254 host. In the event that I want to analyze a / 20 or /21, for example, present in 2000 simple queue, what parameters should be changed? I currently run a script for each / 24, which generates excessive CPU consumption. Help !!!
:local traffic
/queue simple
:for i from=1 to=254 do={
:set traffic [get [find target="192.168.10.$i/32"] total-bytes]
:if ($traffic > 1572864000) do={
set [find target="192.168.10.$i/32"] max-limit=512000/512000
}
}
best regards !!!
Luciano