Hello,
in trying to make a script which can generate new VLAN names and ID’s
so far, my terminal command is:
interface vlan add name=Laner vlan-id=2 copy-from=vlan1 interface=ether1
im trying to make a cycle to incrementally make new vlans by adding a number after the name and changing the vlan id
my pseudo code is
interface vlan add name=Laner$i vlan-id=$i copy-from=vlan1 interface=ether1 :set i 0; :while ($i
< 50) do={:put $i; :set i ($i + 1)};
any pointers?
Thank You
JFer