10-21-2010 04:04 PM
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
Solved! Go to Solution.
10-23-2010 10:25 PM
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.
10-23-2010 10:25 PM
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.
10-25-2010 10:07 AM
That's what I figured... Thanks for confirming it...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide