cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6454
Views
0
Helpful
3
Replies

Deleting Multiple Vlans

pmpesha
Level 1
Level 1

How can I delete multiple vlans at once, let say ten vlans. Is there a "range" command that can be used? CLI based commands please!

3 Replies 3

7rbowenii
Level 3
Level 3

P-

What type of switch?

Prashanth Krishnappa
Cisco Employee
Cisco Employee

In CAT OS you can use clear vlan command

Console> (enable) clear vlan 950-955

This command will deactivate all ports on vlan(s) 950-955

Do you want to continue(y/n) [n]?y

VTP advertisements transmitting temporarily stopped,

and will resume after the command finishes.

Vlan 950 deleted

Vlan 951 deleted

Vlan 952 deleted

Vlan 953 deleted

Vlan 954 deleted

Vlan 955 deleted

Console> (enable)

In IOS, depending on h/w and sw, you can can use no vlan command

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#no vlan 950-955

Switch(config)#

Thank you very much prkrishn, you know I was trying to delete them from the vlan database. Thanks, indeed.