Showing results for 
Search instead for 
Did you mean: 

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?


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

3 Replies 3

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

Router do not see/know VLANs.

How is your router configured? Are there any subinterfaces?

What is the model of your switch?


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


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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: