01-01-2006 07:39 AM - edited 02-21-2020 12:37 AM
Hi,
is there a OID that can show me the mac-address of the attached device to the port on cat4506 or 2950 (IOS)?
i think that ciscoworks do it
thanks
01-01-2006 10:33 AM
"sh ip arp" shows all mac address the switch has, but there is no info on which particular port the host is connected to.
01-01-2006 12:31 PM
Hi,
Have a look at
Using SNMP to Find a Port Number from a MAC Address on a Catalyst Switch
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801c9199.shtml
and
How To Get Dynamic CAM Entries (CAM Table) for Catalyst Switches Using SNMP
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a9b.shtml
The CAM table contains what you are looking for, namely MAC address to port information.
This should solve your problem.
Hope this helps
Martin
01-01-2006 11:09 PM
thanks - it the exact thing that i looking for
01-02-2006 03:44 AM
Good to know!
Happy New Year!
Martin
P.S.: please rate all helpful posts.
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