where is my mistake please ???

hi guys

anybody can help me to let this script work ?
it adds all the subnet in /queue simple

:for i from=1 to=254 do={add target-address=(192.168.210. . $i) limit-at=0/0 max-limit=0/0 target-netmask=255.255.255.255 interface=ether1}

thanks

Skynoc,

If i’m reading it right your mistake is in the target address…

:for i from=1 to=254 do={add target-address=(192.168.210.$i) limit-at=0/0 max-limit=0/0 target-netmask=255.255.255.255 interface=ether1}

hello
thanks for your reply
i tried it but it said invalid expression no such command or directry add

:for i from=1 to=5 do={add target-address=(192.168.210.$i) l
imit-at=0/0 max-limit=0/0 target-netmask=255.255.255.255 interface=local}
invalid expression
no such command or directory (add)
[admin@HURRICANE] >


thanks

Skynoc,

Sorry i forgot to mention you need to tell it to run where you want it to run… Try this…

:for i from=1 to=5 do={/queue simple add target-address=(192.168.210.$i) limit-at=0/0 max-limit=0/0 target-netmask=255.255.255.255 interface=local}

thanks
i appreciate your help


regards
skynoc