Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Is there a way to use SNMPWALK to get entire MAC addr table instead of per VLAN?

Hi experts,

I have a dilemma here that I need to use snmpwalk and get the entire MAC address table from the switch. I'm aware that I need to use <snmp string>@<VLAN id> as the string to get the MAC address table for that VLAN.

e.g. to get MAC address table of vlan 1101 I do this:

snmpwalk -v2c -c public@1101 172.17.254.1 1.3.6.1.2.1.17.4.3.1.1

However I do need to get the entire MAC address table of all the VLANs on the switch. How do I do it??

thanks!!

Difan

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Is there a way to use SNMPWALK to get entire MAC addr table

You cannot do it.  You need to use community string indexing to pull the MAC address table from each VLAN.  Even using SNMPv3, you cannot get all of the VLANs' MAC address tables with one request.

2 REPLIES
Cisco Employee

Re: Is there a way to use SNMPWALK to get entire MAC addr table

You cannot do it.  You need to use community string indexing to pull the MAC address table from each VLAN.  Even using SNMPv3, you cannot get all of the VLANs' MAC address tables with one request.

New Member

Re: Is there a way to use SNMPWALK to get entire MAC addr table

That's what I figured... Thanks for confirming it...

774
Views
0
Helpful
2
Replies
CreatePlease to create content