Hi I need script as like shown below:
:if ([:len [/ip hotspot active find]]>=19) do={
/ip hotspot user profile set [/ip hotspot user profile find ] rate-limit=70k/250k}
and remove queue simple
i hope get help from mrz
Hi I need script as like shown below:
:if ([:len [/ip hotspot active find]]>=19) do={
/ip hotspot user profile set [/ip hotspot user profile find ] rate-limit=70k/250k}
and remove queue simple
i hope get help from mrz
you could use PCQ and there would be no need for any scripts, bandwidth for each user would be divided equally. ie. if you would have 10mbits, and 3 active users, each user would get 3.3mbit.
or you could give each user maximum of 1mbit, and when there are more than 10 users, decrease the speed equally for all.