cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1461
Views
0
Helpful
4
Replies

get mac address

amisu
Level 1
Level 1

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

4 Replies 4

jackko
Level 11
Level 11

"sh ip arp" shows all mac address the switch has, but there is no info on which particular port the host is connected to.

mheusinger
Level 11
Level 11

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

thanks - it the exact thing that i looking for

Good to know!

Happy New Year!

Martin

P.S.: please rate all helpful posts.

Review Cisco Networking for a $25 gift card