Here is some script of Mikrotik router to add IP address and make queue list on top.
Adding such a huge IP Address one by one is very difficult and time consuming task. So here a script to add IP Address in Mikrotik router.
Tested on MT OS verson 5.x
Make sure you already open the MT with Winbox, in my case I already done.
Click on System Menu on the left and choose Script from popup menu, see below
Adding such a huge IP Address one by one is very difficult and time consuming task. So here a script to add IP Address in Mikrotik router.
Tested on MT OS verson 5.x
Make sure you already open the MT with Winbox, in my case I already done.
Click on System Menu on the left and choose Script from popup menu, see below
Now on Script list window. click Plus(+), then copy paste below script on source field. Like in picture
:for i from=2 to=51 do={/queue simple add name="192.168.20.$i" target-address="192.168.20.$i/32" max-limit="64000/128000" parent=Night-User time=19h-7h,sun,mon,tue,wed,thu,fri}
(Modified it with our requirement)
To view the queue list, which we have just add Click on Queues on the left pane, you can see look like this.
This Script make your queue list at top of the list.
/queue simple move [find name=(you-name)] 0
G8
ReplyDelete