Hi,
the script described here:
http://wiki.mikrotik.com/wiki/Limiting_a_user_to_a_given_amount_of_traffic_II
:local traf;
/queue simple
:for i from=1 to= 254 do = {
:if ([/queue simple find target-addresses=("192.168.1." . $i)] != "") do={
:set traf [get [find target-addresses=("192.168.1." . $i)] total-bytes]
:if ($traf > 104857600) do = {
set [find target-addresses=("192.168.1." . $i)] max-limit= 32000/64000
}
}
}
does not work anymore
Because this script is very old, what would be the correct syntax for it to work in ROS V6.x?