Hi, I have this.
/system script
add name=Limit-Others source={
:local traf;
/queue simple
:set traf [get [find name="Others"] total-bytes]
:if (([/system clock get time] > "16:00:00") or ([/system clock get time] < "00:00:00")) do={
:if ($traf < 100000000) do={set [find name="Others"] limit-at="1M/1M" max-limit="3M/3M" burst-limit="5M/5M" burst-threshold="4M/4M" burst-time="10s/10s"}
:if ($traf > 100000000) do={set [find name="Others"] limit-at="1M/1M" max-limit="1M/1M" burst-limit=0 burst-threshold=0 burst-time=0}}
Now I want to edit that for speed checking not total-bytes.
edit2: I mean I want to say "if ($traf < 512K) and traf is the speed of the user…
Thanks.
SOLVED: using interface tx rate is fine…