Hi everyone,

I am using net-snmp version 5.8 on a custom Linux machine.

I have created a v3 user and enabled traps and traps are received in the
other end successfully.
Then I update the remote engine-id in trapsess directive for informs.

My trapsess line in /etc/snmp/snmpd.conf
*trapsess -Ci -e 80001F888007CDFD01C704B55F -v 3 -u james -l authNoPriv
10.X.X.X*

Corresponding snmptrapd.conf file configuration


*createUser -e 0x80001f880324e9b3928abe james md5 myAuthpass AES128
myPrivpassauthuser log james*


I am getting the inform messages on the management side (receiver).
But snmpwalk is failing when trying with the localhost with below error


*shell# snmpwalk -v3 -u james -l authPriv -a md5 -A myAuthpass -x AES128 -X
myPrivpass 10.X.X.X ifIndex        snmpwalk: Unknown user name (Sub-id not
found: (top) -> ifIndex)*

Getting the below debugs saying 'no match on engineID'































*  usm:  USM processing begun...  usm:  Unknown Engine ID.  usm:  USM
processing has begun (offset 50)  usm:  getting user  usm:  USM processing
completed.  usm:  USM processing begun...  usm:  match on user james  usm:
no match on engineID (  80 00 1F 88 03 00 50 56 81 E8 16  )  usm:  Unknown
User(james)  usm:  USM processing has begun (offset 47)  usm:  getting user
james  usm:  match on user james  usm:  no match on engineID (  80 00 1F 88
03 00 50 56 81 E8 16  )  usm:  USM processing completed.*

It seems it is trying to match the engineID of the localhost with the
remote engineID and fails.
What am I missing here ?

Your help is much appreciated.

Regards,
Salim Malik
_______________________________________________
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

Reply via email to