cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2638
Views
5
Helpful
2
Replies

Trying to get MAC address from switch ports with SNMP v3.

GaryAdamson
Level 1
Level 1

I have been reading the postings on this site trying to retrieve the MAC address for the client devices (computers, printers) attached to our switches.  We have approximately 500 switches and I need to map the mac address to the switch.  It appears the OID information is for SNMP v2.  We are restricted to using only SNMP v3.  I have tried using the Cisco SNMP Object Navigator without any success.  Any assistance would be greatly appreciated.

1 Accepted Solution

Accepted Solutions

Hello Gary,

Amazing information, Really usefull,

Some kudos for you

Please mark the question as answered so future users can learn from this

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

View solution in original post

2 Replies 2

GaryAdamson
Level 1
Level 1

Found it!  For anyone else looking for the OID here it is:

SNMPv2-SMI::enterprises.9.9.315.1.2.1.1.10

This lists the MAC address associated with the switch port. I have only test this on a 3750.  If you have an IP Phone connected to the same port with a computer, only the computers MAC address is listed.

Hello Gary,

Amazing information, Really usefull,

Some kudos for you

Please mark the question as answered so future users can learn from this

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC