Re: SNMP V3 trap not working when configuring same user with different authentication type
Pushpa Thimmaiah <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAASqVJU7oNRxNZ0+Biof358TpZ7nQ7dvbw_u7GOALp1E2sOT4Q@mail.gmail.com> |
Hi Hitesh Patel, snmptrapd.conf have entry for 'user' with MD5/AES not with SHA/DES Thanks, Pushpa.T On Wed, Jul 19, 2017 at 4:21 PM, Hitesh Patel <[email protected]> wrote: > Hello everybody, > > I am using Linux based snmp (net-snmp) in my Linux device. To receive snmp > trap on Linux host machine, I have configured snmptrapd in > /etc/snmp/snmptrapd.conf file as below (After stopping snmpd daemon) > > createUser user MD5 "password123" DES "encrypt123" > authuser log user authPriv > > Above configuration allow me to receive snmp trap on Linux host machine > when I execute below command from my Linux device > snmptrap -Ci -v3 -u user -a MD5 -A password123 -x DES -X encrypt123 -l > authPriv 10.103.0.110 '' Test-MIB::statusChangeNotification > Test-MIB::statusChangeAlarm s 'status change' > > Now if I execute above snmptrap command with same user and SHA/DES > configuration (as below) then in that case snmptrap command is failing with > "snmpinform: Authentication failure (incorrect password, community or key)" > error message. (snmptrapd is stopped and started after SHA/DES > configuration as above.) > snmptrap -Ci -v3 -u user -a SHA -A password123 -x DES -X encrypt123 -l > authPriv 10.103.0.110 '' Test-MIB::statusChangeNotification > Test-MIB::statusChangeAlarm s 'status change' > > Can anybody suggest possible reason behind this error? > Does snmptap command maintain usmUser table which not allow same user > entry with different authentication type? > Is there any way to reset usmUser table? > Is there any additional configuration required? > > Thanks in advance, > Hitesh Patel > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users