Hello, NET-SNMP version: 5.8
I want to use snmp V3 to manage device,the snmpd config file is /etc/snmp/snmpd.conf: master agentx com2sec admin default public com2sec admin2 default private rwuser admin priv rouser user priv view all included .1 80 view all excluded .1.3.6.1.4.1 view all included .1.3.6.1.4.1.8691 access moxaGroup "" any noauth exact all all none access moxaGroup2 "" any noauth exact all all none ################################################################################## /var/net-snmp/snmpd.conf: createUser admin MD5 "moxamoxa" DES moxamoxa createUser user MD5 "moxa" DES moxamoxa EngineID 0x012345 ################################################################################## When use ” snmpget” command snmpget -v 3 -u admin -l authNoPriv -a MD5 -A moxamoxa localhost sysUpTime.0 snmpget: Unknown user name And snmpget、snmpset、snmpgetnext also fail, I can't recognize where the fail is!! and why it is written in the log that "Unknown user name”,my user list actually have “admin” this use. Maybe snmpd -c /etc/snmp/snmpd.conf –f command not include /var/net-snmp/snmpd.conf, Should other options be added?? " .
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users