I have an APC Rack PDU (AP7920) and have configured:
- [x] Enable SNMPv3 access
- Username: switch
- Authentication Passphrase: test
- Privacy Passphrase: test
- Authentication Protocol: (o) MD5
- Privacy Protocol: (o) DES
- Access Control: [x] Enable, Username: switch, NMS IP/Host Name: 0.0.0.0
Now when I execute snmpwalk I get:
# snmpwalk -v3 -a MD5 -A test -u switch -x DES -X test 192.168.1.1
snmpwalk: Decryption error
What am I doing wrong?
My goal is to switch outlets via SNMP
Best Answer
Unfortunately I can't comment yet, so giving here my 2 cents:
your snmpwalk command misses the option to specify the security level:
-l LEVEL set security level (noAuthNoPriv|authNoPriv|authPriv)
since you specify both Authentication and Privacy, you might try again with:
The above answer by Lex Li is correct too: APC specifies a password length should be no less than 12 chars.