03-11-2010 12:19 PM - edited 03-06-2019 10:06 AM
I am trying to clean up a configuration on a 6500 that has 30+ vlans defined. I am certain most of these are not in use any longer, but I would like to make sure before I go deleting them from the vlan database. The problem is that the native vlan is trunked all over the place, so I have no real way of telling which vlans are really in use and which ones are not. Can anyone give me some suggestions about how to track this mess?
Thanks!
-J
03-11-2010 12:27 PM
millerjw wrote:
I am trying to clean up a configuration on a 6500 that has 30+ vlans defined. I am certain most of these are not in use any longer, but I would like to make sure before I go deleting them from the vlan database. The problem is that the native vlan is trunked all over the place, so I have no real way of telling which vlans are really in use and which ones are not. Can anyone give me some suggestions about how to track this mess?
Thanks!
-J
J
Catalysts keep per-vlan mac-address tables so i would start with that ie. "sh mac-address-table vlan
You could also enable VTP pruning to see which vlans are pruned off the trunks links and where it at all the vlans are in use.
Not sure what your point about the native vlan is ?
Jon
03-11-2010 12:39 PM
You could also scan for IP Addresses in the range for the VLAN's and see if any respond back. Also if you have DHCP scopes setup for any of the VLAN's you could see if there are any resent leases.
Jon, Thanks for that command, I did not now about that one. 5+
Mike
03-11-2010 01:12 PM
What I normally use is the combo of "sh vlans" and "sh interface trunks". In the "sh vlans" I would look at VLANs that doesn't have ports assigned to them. I would corolate them with the "sh interface trunks". If it's not there either then I delete it. If you are using VTP Server/Client, remember to do your changes on the Server.
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: