Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Tracking down unused vlans

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

3 REPLIES
Hall of Fame Super Blue

Re: Tracking down unused vlans

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 " to see if you have any active mac-addresses in that 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

Re: Tracking down unused vlans

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

Hall of Fame Super Gold

Re: Tracking down unused vlans

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.

310
Views
5
Helpful
3
Replies