03-03-2009 11:52 AM - edited 03-06-2019 04:21 AM
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
03-03-2009 01:31 PM
Router do not see/know VLANs.
How is your router configured? Are there any subinterfaces?
What is the model of your switch?
03-04-2009 04:36 AM
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
03-04-2009 05:48 AM
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.
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: