cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1151
Views
0
Helpful
1
Replies

Read dot1dTpFDBTable via v1 works but with v3 does not

creej0001
Level 1
Level 1

Hello,

 

I am attempting to read the MAC address table on a switch and list what MACs are on what ports on a 2960X.  When I read (snmpwalk) using SNMP v1 it works. However if I use SNMP v3 it does not.

 

Config:

snmp-server group nesite v3 priv read V3Read write V3Write
snmp-server group netsite v3 auth read V3Read write V3Write

snmp-server view V3Read iso included
snmp-server view V3Write iso included
snmp-server community jeff RW

snmp-server user netsite netsite  v3 auth sha password priv des password

 

snmpwalk -v3 -u netsite -l AuthPriv -X password -x des -A password -a sha 10.164.163.67 .1.3.6.1.2.1.17.4.3.1.1


SNMPv2-SMI::mib-2.17.4.3.1.1 = No Such Instance currently exists at this OID

 

 

snmpwalk -v1 -c jeff@174 10.164.163.67 .1.3.6.1.2.1.17.4.3.1.1
SNMPv2-SMI::mib-2.17.4.3.1.1.0.31.69.91.61.198 = Hex-STRING: 00 1F 45 5B 3D C6
SNMPv2-SMI::mib-2.17.4.3.1.1.0.31.69.126.72.242 = Hex-STRING: 00 1F 45 7E 48 F2
 

 

Is this a community string index issue?

 

Thanks,

 

Jeff

1 Reply 1

creej0001
Level 1
Level 1

I guess I answered my own question.  I need to set up a context for each VLAN on the switch then pass -N vlan-name in the snmpwalk.

 

Now to figure out why my network management tool will do this for v1 but not v3.

 

Jeff

Review Cisco Networking for a $25 gift card