cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
571
Views
8
Helpful
10
Replies

shut down 50 vlan

alsayed
Level 1
Level 1

HI

Can I shut down 50 vlan in the same time;via 1 command?if so what is this command?

10xs

10 Replies 10

Hi,

You can try entering the following commands:

- enable

- configure terminal

- interface range vlan a - b

- shut

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!

Regards,

AbhisheK

Please rate all helpful posts!!!

Hi AbhisheK;thank U...

Hi,

If the answer I gave resolved your problem, I would request you to set the question as resolved.

Regards,

AbhisheK

Anand Narayana
Level 6
Level 6

let say that ur going 2 shutdown vlans from vlan 1 to vlan 50, which is continues,

use the command

switch#conf t

switch(config)#interface range vlan 1 -50

switch(config-if-range)#shutdown

hope this helps.

rate this post.

HI AbhisheK!

later i will used this command when i remove the old 4507 and replace the 6509.

10xs AbhisheK

Wilson Samuel
Level 7
Level 7

Hi,

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.

Regards,

Wilson Samuel

The interface range command only applies to the layer 3 interface.

The layer 2 vlan will still be active.

Can you explain why?

Any documents I can go through??

Regards,

AbhisheK

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)

conf t

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.

I know that the range command cannot be used to modify the vlan database. 'no' command is not supported with range command.