cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3049
Views
0
Helpful
5
Replies

Shut down multiple Vlans

spatil001
Level 1
Level 1

Hi I am having Vlan 22, 32, 43, 55 configured (but not in use) on a Cisco 2811 and I want to shut them down for a while as I am getting alarms on HP Openview.

eg:

interface Vlan22

description VLAN-VOICE-22

ip address 10.XXX.X.XX 255.255.255.192

service-policy input AM-Q-CLASSIFY-VOICE-J

There is no trunking and these Vlan are not assigned to any interfaces on the router. Is there any CLI command that will shut these Vlans together. I mean a comamnd that can shut multiple Vlans at a time.

5 Replies 5

paddyxdoyle
Level 6
Level 6

I don't think you can issues a command to do this but you could write an expect screen to automate shutting down the interfaces but again they won't shutdown at exactly the same time.

Rgds

Paddy

Sorry i mean't expect script!

http://expect.nist.gov/

Rgds

Paddy

glen.grant
VIP Alumni
VIP Alumni

Don't know what version you are running but see if it will take the "interface range" command and then group your vlans in there and do a "shut" .

srego4
Level 2
Level 2

as glen grant mentioned use

interface range vlan ...

however I do not think you can do these if they are not contigous...

Easier than this, is to unmanage the interfaces in openview for the period that you are doing this testing.

m-abooali
Level 4
Level 4

I belelive, clear vlan 1,2,3,,,n will do it. this should be executed on all the switches that have those VLAN information.

Hope this helps.

Masood