Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Deleting Multiple Vlans at one!

3 REPLIES
New Member

Re: Deleting Multiple Vlans at one!

How can I delete, let say 10 vlans at once. Is there such a command or something similer to the "range" command? Thank you.

Cisco Employee

Re: Deleting Multiple Vlans at one!

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)#

New Member

Re: Deleting Multiple Vlans at one!

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

77
Views
0
Helpful
3
Replies
CreatePlease to create content