01-13-2004 08:27 AM - edited 03-02-2019 12:51 PM
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!
01-13-2004 02:11 PM
P-
What type of switch?
01-13-2004 07:49 PM
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)#
01-14-2004 06:33 AM
Thank you very much prkrishn, you know I was trying to delete them from the vlan database. Thanks, indeed.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide