07-28-2016 11:03 AM - edited 03-08-2019 06:48 AM
Hi all,
Huawei switches have a simple option to generate many VLANs (especially useful for when you want to trunk VLANs through the switch). All you do is enter "vlan batch 2 - 4000" and VLANs 2 through 4000 will be created.
Does Cisco have a version of this for their higher end switches that support all 4094 VLANs?
Thanks,
-gns
Solved! Go to Solution.
07-28-2016 12:03 PM
Hi,
I haven't tried that yet but you could use a simple TCL script like this:
Switch# tclsh
Switch(tcl)# set i 2; while {$i < 4001} {ios_config "vlan $i"; incr i}
Switch(tcl)# tclquit
HTH
Rolf
07-28-2016 12:03 PM
Hi,
I haven't tried that yet but you could use a simple TCL script like this:
Switch# tclsh
Switch(tcl)# set i 2; while {$i < 4001} {ios_config "vlan $i"; incr i}
Switch(tcl)# tclquit
HTH
Rolf
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide