Mikrotik v6 Script

To add all ips to simple queue

:for x from 2 to 254 do={/queue simple add name="User-$x" max-limit=0/0 limit-at=0/0 target="192.168.1.$x"}

To enable all simple queues

/queue simple enable [/queue simple find]

To disable all simple queues

/queue simple disable [/queue simple find]
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s