Network Management / (OpenView-NNM) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

How to get MAC adresses via SNMP???

Go to Solution
Occasional Advisor

How to get MAC adresses via SNMP???

Hi there you all!!

I am searching for a way to get the number of MAC adresses a switch has learned or even better a list of the adresses a switch has learned.

Is there any MIB Var. telling me that and I am just to blind to see???
We are using cisco 1900 and 2900. So if you got any idea...

I already wrote the script to get those values, it is just the variables...

Other hints are welcome
The Trouble with Troubleshooting is ... sometimes trouble shoots back!!!
Honored Contributor

Re: How to get MAC adresses via SNMP???

It's a little tricky to pull it off, but the following MIB should give you what you want.

Try the following untill you get the info you want.

snmpwalk ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress

Hope that helps.
Sr. Systems Consultant @ ABS Computer Technology, Inc. &
Frequent Advisor

Re: How to get MAC adresses via SNMP???


I think you can try MIB Browser and choose:

or at command comm (DOS)
issues the command:

arp -g (IPAddress)

hope it's help you

A Cossa