cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1816
Views
0
Helpful
1
Replies

Batch Create 4000 VLANs

schmitgreg
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Rolf Fischer
Level 9
Level 9

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

View solution in original post

1 Reply 1

Rolf Fischer
Level 9
Level 9

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

Review Cisco Networking for a $25 gift card