Hi
My scripting skill are pathetic but have tried to create a script that will shape my clients once they reach 200megs per day.
Here Goes
:local traf;
/queue simple
:foreach i in=[/queue simple find dynamic=yes] do={
:set traf [get [/queue simple find dynamic=yes] total-bytes]
:if ($traf > 209715200) do = {
set [/queue simple find dynamic=yes] max-limit= 32000/32000
}
}
Can anyone tell why this does not work ?