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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Multiple MAC Addresses on Access Port

We are trying to determine a way that we could easily view the mac table and only display the ports or macs that have multiple mac address attached to them.  We have a VOIP intiative that we are working on but we need to make sure there are no rogue hubs or switches attached at the access layer. Any guidance would be appreciated.

2 REPLIES

Re: Multiple MAC Addresses on Access Port

I'm not sure if there's an easier way to do it, but here are a couple of options.

If you know what port you're concerned with, run:

sh mac address-table | inc

OR

sh mac address-table interface g3/0/27

HTH,

John

HTH, John *** Please rate all useful posts ***
New Member

Re: Multiple MAC Addresses on Access Port

Best way, in my opinion, is to create a perl script from scratch.

Second best way is to use one that is already available like this one :

http://codewiki.wikispaces.com/cammer_c.pl

From the page:  "It will scan your network switches and provide information to help identify the devices attached to each port."

650
Views
0
Helpful
2
Replies