[AGENT++] snmp++ get v3 problem
Don Radick
dradick at comcast.net
Mon Jul 27 23:55:53 CEST 2009
Apologies in advance for what is surely a user error.
Environment: Ubuntu 9.04, snmp++ v3.2.23
Finally testing Snmp V3 for my application.
Using the example router configurations and command line (net-snmp) from
Cisco Cookbook Ian Brown, Kevin Dooley "O-Reilly"
pages 656 - 660
using consoleExamples snmpGet to test
First example for V3 and noAuthNoPriv works correctly with snmp++
Second example with authNoPriv works fine with net-snmp command line:
snmpget -v3 -u cking -l authNoPriv -a MD5 -A daytona19y 10.10.1.8
sysName.0
snmp++ command line:
./snmpGet 10.10.1.8 -v3 -sl2 -sncking -uadaytona19y -authPROTMD5
fails with this (partial) error:
SNMP++ Get to 10.10.1.8 SNMPV3 Retries=1 Timeout=1000ms
securityName= cking, securityLevel= 2, securityModel= 3
20090727.17:44:11: 11354: (1)WARNING: v3MP: Returning error for building
message: (1403)
20090727.17:44:11: 11354: (4)DEBUG : SNMPMessage: return value for
build message: (1403)
SNMP++ Get Error, SNMPv3: USM: Unsupported SecurityLevel (1403)
Sorry for bother - do I have an error with the parameters?
-Don
More information about the AGENTPP
mailing list