I have a question about the correct command to walk through bridge mib
of a Cisco SNMPv3 configured switch for a specific vlan.
Based on the information I collected, vlan context should be used in
addition to other SNMPv3 credentials.
When snmpwalk without the vlan context, it seems working:
snmpwalk -v 3 -a MD5 -A cisco123 -l authNoPriv -u v3user 10.77.153.173
.1.3.6.1.2.1.17.1
17.1.1.0 = Hex: 00 08 21 7B 14 00 
17.1.2.0 = 24
17.1.3.0 = 2
17.1.4.1.1.1 = 1
17.1.4.1.1.2 = 2
But if the vlan context was added for a vlan (vlan 2 here), the command
failed:
snmpwalk -v 3 -a MD5 -A cisco123 -l authNoPriv -n vlan-2 -u v3user
10.77.153.173 .1.3.6.1.2.1.17.1
Error in packet.
Reason: authorizationError
Is the format of the command correct?
Is there anything wrong here?
#show snmp context did show "vlan-2" in the output.


Best regards,
Wu-Xin


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to