Code: Select all
:local traf;
/queue simple
:for i from=10 to=55 do ={
:local ip "192.168.33.$i/32"
:if ([/queue simple find dst-address=($ip)] != "") do={
:set traf [get [find dst-address=($ip)] total-bytes]
:if ($traf > 360000000) do ={
set [find dst-address=($ip)] max-limit= 256000/246000
}
}
}
Can somebody help ? thanks