2011/6/7 chengkeke <[email protected]>:
> In net-snmp, if I want to receive a snmpv3 trap, must add user in
> snmptrapd.conf like the following line:
> createUser -e 0x8000000001020304 ruckus-read MD5 12345678 DES 12345678

You need to have a 'createUser' line - yes.
But it does not *need* to specify an explicit engineID.

If you don't specify an engineID, then it will use the
standard engineID for the trap receiver (which will be
logged in /var/net-snmp/snmptrapd.conf).   In this case,
you would need to specify the same engineID on the
client side,  as part of configuring the trap destination.

Bottom line - both sender and receiver have to agree
on what engineID to use.   For traps, this must be specified
at the sending side or the receiving side (or possibly both).
It doesn't really matter which - as long as both sides agree.


> Is it a general rule to use a fixed engine ID when sending
> a trap from same application?

It's a very common approach - yes.
Basically because it simplifies the configuration.

Dave
 If yes, could anybody give me some reference?
> Thanks All.
> Cherry Cheng
> [email protected]
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to