1. Create Simple Queue
2. Create Script
3. Create Schedule
In this configuration we use MikroTik Routerboard CCR1036-8G-2S+ with Firmware 6.43
1. Create Simple Queue
/queue simple
add max-limit=1000M/1000M name=move-on-top target=10.10.10.10/32
2. Create Script
/system script
add dont-require-permissions=no name=move-on-top-simple-queue owner=saoheng policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/queue simple move [find name=\"move-on-top\"] [:pick [find] 0]"
3. Create Schedule
/system scheduler
add interval=1m name=move-on-top on-event=move-on-top-simple-queue policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-time=startup
*Schedule will run every each 1 minute and simple queue name "move-on-top" will go on top (index 0).
No comments:
Post a Comment