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

shut down 50 vlan

HI

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

10xs

10 REPLIES

Re: shut down 50 vlan

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!!!

Community Member

Re: shut down 50 vlan

Hi AbhisheK;thank U...

Re: shut down 50 vlan

Hi,

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

Regards,

AbhisheK

Re: shut down 50 vlan

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.

Community Member

Re: shut down 50 vlan

HI AbhisheK!

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

10xs AbhisheK

Re: shut down 50 vlan

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

Community Member

Re: shut down 50 vlan

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

The layer 2 vlan will still be active.

Re: shut down 50 vlan

Can you explain why?

Any documents I can go through??

Regards,

AbhisheK

Community Member

Re: shut down 50 vlan

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.

Re: shut down 50 vlan

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

225
Views
8
Helpful
10
Replies
CreatePlease to create content