cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
799
Views
0
Helpful
1
Replies
Highlighted
Beginner

Batch Create 4000 VLANs

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

Everyone's tags (7)
1 ACCEPTED SOLUTION

Accepted Solutions
Engager

Hi,

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

1 REPLY 1
Engager

Hi,

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

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards