06-30-2010 09:03 AM - edited 03-06-2019 11:50 AM
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.
06-30-2010 09:10 AM
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
06-30-2010 09:12 AM
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."
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