cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1305
Views
0
Helpful
2
Replies

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

Difan Zhao
Level 5
Level 5

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

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

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.

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