vlan removal from router

Unanswered Question
Mar 3rd, 2009
User Badges:

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?


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


clear vlan 1411

clear trunk 1/1 1411

clear trunk 1/2 1411

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Leo Laohoo Tue, 03/03/2009 - 13:31
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Router do not see/know VLANs.

How is your router configured? Are there any subinterfaces?

What is the model of your switch?

anjery1234 Wed, 03/04/2009 - 04:36
User Badges:


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 YES NVRAM up up

Vlan83 YES NVRAM up up

Vlan200 YES NVRAM up up

Vlan206 YES NVRAM up up

Vlan217 YES NVRAM up up

Vlan224 YES NVRAM up up

Vlan226 YES NVRAM up up

Vlan227 YES NVRAM up up

Vlan235 YES NVRAM up up

Vlan236 YES NVRAM up up

Vlan237 YES NVRAM up up

Vlan333 YES NVRAM up up

Vlan335 YES NVRAM up up

Vlan700 YES NVRAM up up

Vlan701 YES manual up up

Vlan702 YES manual up up

Vlan711 YES NVRAM up up

Vlan751 YES NVRAM up up

Vlan771 YES NVRAM up up

Vlan864 YES NVRAM up up

adamclarkuk_2 Wed, 03/04/2009 - 05:48
User Badges:
  • Silver, 250 points or more


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.


This Discussion