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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

vlan removal from router

When removing a vlan from a router, do I have to remove the vlan from both the port-channel and from the trunk?

What about removing the vlan from the switch?

Are these configs ok?

ROUTER

no vlan1411

no int vl1411

no spanning-tree vlan 1411 priority

conf t

Int po1

switchport trunk allowed vlan rem 1411

int gi8/16

switchport trunk allowed vlan rem 1411

int gi9/16

switchport trunk allowed vlan rem 1411

SWITCH

clear vlan 1411

clear trunk 1/1 1411

clear trunk 1/2 1411

3 REPLIES
Hall of Fame Super Gold

Re: vlan removal from router

Router do not see/know VLANs.

How is your router configured? Are there any subinterfaces?

What is the model of your switch?

New Member

Re: vlan removal from router

Leo,

The switch model is WS-C6506 running CatOs Version 7.6(7).

The router config is attached.

As far as subinterfaces, I have vlan interfaces configured. Below is a snap shot.

ROUTER#sh ip int br

Interface IP-Address OK? Method Status Protocol

Vlan1 unassigned YES NVRAM administratively down down

Vlan82 10.82.0.252 YES NVRAM up up

Vlan83 10.82.1.252 YES NVRAM up up

Vlan200 10.93.0.252 YES NVRAM up up

Vlan206 158.137.75.188 YES NVRAM up up

Vlan217 10.82.132.252 YES NVRAM up up

Vlan224 158.137.56.252 YES NVRAM up up

Vlan226 158.137.47.252 YES NVRAM up up

Vlan227 10.82.222.252 YES NVRAM up up

Vlan235 10.82.11.252 YES NVRAM up up

Vlan236 10.92.144.252 YES NVRAM up up

Vlan237 10.92.145.252 YES NVRAM up up

Vlan333 10.82.220.252 YES NVRAM up up

Vlan335 10.82.219.252 YES NVRAM up up

Vlan700 10.65.192.17 YES NVRAM up up

Vlan701 10.81.184.2 YES manual up up

Vlan702 10.81.184.10 YES manual up up

Vlan711 10.81.1.241 YES NVRAM up up

Vlan751 10.129.242.18 YES NVRAM up up

Vlan771 10.129.242.22 YES NVRAM up up

Vlan864 10.65.224.13 YES NVRAM up up

Re: vlan removal from router

Hi

If these trunks that you are talking about are members of the Port-Channel, then you just need to remove the VLAN from the Port-Channel and all the members will be updated using the command you said

switchport trunk allowed vlan rem 1411

As you are using rapid PVST, there is no need to remove the spanning instance as this will happen when you clear the VLAN from the switch configuration. In fact, if no ports/trunks are assigned and up in a VLAN, there will be no spanning-tree instance running.

You can verify this by doing :-

6509#show spanning-tree vlan x

and you will get the following :-

Spanning tree instance(s) for vlan x does not exist.

460
Views
0
Helpful
3
Replies