:for e from 1 to 100 do={
/ip firewall mangle add\
src-address=(1.1.1. . $e)\
src-netmask=255.255.255.255\
mark-flow=$e
/queue tree add flow=$e (anything you want after)
}
Of course you can do it in one script, e.g.:Code: Select all:for e from 1 to 100 do={ /ip firewall mangle add\ src-address=(1.1.1. . $e)\ src-netmask=255.255.255.255\ mark-flow=$e /queue tree add flow=$e (anything you want after) }
Try thisSearch the scripting forum. This question has been answered many times before.