求救:Net-snmp v3 错误 Encryption support not enabled. snmpwalk: USM encryption error
我使用的环境如下:
Windows XP, Windows 2003
Vc++ 2008
Open SSL
Net-snmp 5.5
在执行snmp命令的时候,如果使用version 3,并使用AuthPriv出现错误:
Encryption support not enabled. snmpwalk: USM encryption error
snmpget -v3 -u abcd -l authPriv -a MD5 -A 12345678 -x AES -X 12345678 10.10.10.110 oid
Encryption support not enabled.
snmpwalk: USM encryption error (Sub-id not found: (top) -> sysDescr)
我觉得是windows中有配置,现在的问题是对DES的支持没有打开,搜索了N久也没有找到解决方案。
http://fixunix.com/snmp/220576-net-snmp-5-3-1-snmpv3-encryption-support-not-enabled-error.html
说明:
1. 我的snmp agent是公司的一个设备,从另外一台xp和linux上可以正常执行所有的snmpv2, snmpv3的命令。
2. 所有机器的安装步骤都一直,VC++2008, Open SSL, Net-snmp.
2. 在一台windows xp, windows 2003当使用snmpv2或者AuthNoPriv的时候,可以正常执行。
snmpget -v 2c -c public 192.168.0.10 oid
snmpget -v3 -u abcd -l authNoPriv -a MD5 -A 12345678 10.10.10.110 oid