net-snmp 问题,求高人指点
安装了net-snmp 5.5 操作系统win7
安装配置V3后,执行下面命令,
C:\Users\Administrator>snmpgetnext -v3 -u enocsnmpv3 -l authPriv -aMD5 -A enocs
nmpv3pw -xDES -X enocsnmpv3pk localhost:161 1.3.6.1.2.1.1.3
Encryption support not enabled.
snmpgetnext: USM encryption error
-l 配置成 authNoPriv 跟 NoAuthPriv都没问题
求高人指点。我这net-snmp 那个地方没有配置正确
附:snmpd.cof 配置文件
# sec.name source community
com2sec enocsnmpv3 default public
com2sec local localhost public
com2sec mynetwork 192.168.1.102 public
####
# Second, map the security names into group names:
# sec.model sec.name
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
group myTestGroup usm enocsnmpv3
####
# Third, create a view for us to let the groups have rights to:
# incl/excl subtree mask
view all included .1
view myTestGroup excluded .1
####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:
# context sec.model sec.level match read write notif
#access MyROGroup "" usm priv exact all all none
access MyROGroup "" usm auth exact all all none
#access MyROGroup "" usm noauth exact all all none
access myTestGroup "" usm auth exact myTestGroup all none
# -----------------------------------------------------------------------------
syslocation Right here, right now.
syscontact Me <me@somewhere.org>
createUser enocsnmpv3 MD5 enocsnmpv3pw DES enocsnmpv3pk
rwuser enocsnmpv3 authPriv