Hello all.
i was reading in an older forum thread (http://forum.mikrotik.com/t/moving-static-queue-above-dynamic-queues/16285/1) that dynamic queues could be moved forced down the simple queue list by attaching an “on login” script to the hotspot user profile.
Just wondering if there is any way to make these dynamic queues have a static queue as parent?
Say for example I had a p2p queue and then an unlimited bandwidth queue to a local server, and I wanted to always have these at the top, could I create a Static “Local-users” Queue, then move all Dynamic queues; using a similar script to sergejs and matching priority into a Static queue? (Thereby forceing them to be lower than the previous static queues)
Sergejs’s script
:foreach n in=[/queue simple find priority=1] do={ /queue simple move $n [:pick [/queue simple find] 0] }
The queues I am using allow the following
Hotspot - gurantees a 1mb/1mb to the hotspot for any user trying to login etc (attached to WAN)
Local-Wan - allows 50mb/50mb connection to intranet (this is part of the walled garden and allows them to access for free)
p2p - shapes p2p back to 5mb/5mb
internal - allows 20mb/20mb to the internal network of a second router via an IP Tunnel
wan-share - gurantees 10mb/10mb and max of 20mb/20mb internet access (attached to WAN)
Unfortunatly, as soon as I turn on any sort of dynamic queues, they pile up on top and remove any effect the queues would have had.
Any suggestions, or better script ideas?
Regards,
Omega-00