:local traf;
/queue simple
:for i from=1 to= 254 do = {
:if ([/queue simple find target-addresses=("172.18.1." . $i)] != "") do={
:set traf [get [find target-addresses=("172.18.1." . $i)] total-bytes]
:if ($traf >262144000) do = {
set [find target-addresses=("172.18.1." . $i)] max-limit=16000/64000 limit-at=16000/64000
}
}
}
This script is on RouterOs 2.951 what i should change
to make it work on version 5.x
Thanks in advance