I used to use this script in 2.9 to pre-add simple queues for a group of IP’s. Now it don’t work in 3.0 Help.
#New Script To Auto Create Simple Queues For A Subnet:
#Enter the First 3 Octets of your Subnet Here!
:local subnet “10.10.10.”
#The Interface on which you wish to apply the Queues
:local inface “all”
#The First Usable IP of the Third Octet
:local first “130”
#The Las Usable IP of the Third Octect
:local last “190”
#The Queue Priority Level .. 8 is Generally Sufficient for User Base Queues
:local qu-pri “7”
/queue simple
:for i from=$first to= $last do = {
:if ([/queue simple find target-addresses=($subnet . $i)] = “”) do={
/queue simple add
name=($subnet . $i) target-addresses=($subnet . $i) dst-address=0.0.0.0/0
interface=$inface parent=none priority=$qu-pri
queue=default-small/default-small max-limit=256000/512000 disabled=yes
}
}