You can try entering the following commands:
- configure terminal
- interface range vlan a - b
where a is the starting vlan and b is the last vlan.
Also if you want to enter vlans which are not in sequence, you can use comma between the number of the vlans.
For example interface range vlan a,b,c - f.
Hope this helps!
Please rate all helpful posts!!!
let say that ur going 2 shutdown vlans from vlan 1 to vlan 50, which is continues,
use the command
switch(config)#interface range vlan 1 -50
hope this helps.
rate this post.
A word of caution. Some of the old IOS on switches may NOT allow the command, interface range, hence, in case if you are not able to see the command interface range on the switch, consider updragding the IOS.
To delete the layer 2 vlan you need to go to global configuration mode (conf t) and type the following (assuming you want to delete vlan 10)
no vlan 10
I am not aware of a commnd that allows you to delete multiple layer 2 vlans.
The command "interface vlan 10" or "interface range" command is only making reference to the layer 3 vlan.