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

Batch Create 4000 VLANs

schmitgreg
Beginner
Beginner

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
Engager
Engager

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
Engager
Engager

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: