09-17-2013 07:03 AM - edited 03-07-2019 03:31 PM
What can be done to determine if a vlan interface is still needed on a LAN switch configuration
09-17-2013 07:49 AM
Do 'sh vlan' to check if any local switchports are using it on an access port.
Do 'sh int trunk' to see if the vlan is being trunked to another switch. If so, repeat the above step on that switch.
If the above two steps reveal the vlan is not being used then it should be save to shudown/ remove.
cheers,
Seb.
09-17-2013 08:29 AM
Hi,
Is this a Layer 2 or Layer 3 switch?
If it's Layer 2, then you'll need to check the SVI/IP GW on a router.
For a multilayer switch, you may use the 'show vlan brief' and 'show ip interface brief' commands.
Sent from Cisco Technical Support iPhone App
09-17-2013 12:35 PM
Having had to do this activity many times in the past - I believe your best bet for commands are the following:
"show spanning-tree vlan x"
- This command will show you where the VLAN is configured on a currently active interface. For example - is it configured on a trunk uplink to another switch? Or an access port to a PC?
"show vlan brief"
- This command will show you which Access ports the VLAN has been assigned to. (Even if they are not currently active interfaces).
"show int trunks"
- This command will show you the list of VLANs that are allowed on a trunk. This will not only show you the "configured" list of VLANs, but also the list of VLANs that can actively participate on the trunk (because sometimes VTP pruning takes VLANs away without us ever knowing!)
The combination of these 3 commands should allow you to decide whether the particular VLAN is needed on any one switch and or if it needed on any downstream switches that may be relying on the switch as a middle-man.
09-17-2013 02:25 PM
I would also add a show mac address-table vlan x to verify if any host is still on that vlan.
HTH
Regards
Carlo
Sent from Cisco Technical Support iPhone App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide