From: Wes H. <wjh...@uc...> - 2000-11-17 01:14:40
|
>>>>> On Thu, 16 Nov 2000 13:44:58 -0500, Randy Renwick <ra...@e-...> said: Randy> Do the utilities snmptrapd and snmptrap support SNMPv3 notifications? Yes. However... Randy> I have been able to generate and receive v2c notifications with Randy> these utilities but not v3 notifications. I setup a user in Randy> snmptrapd.conf using the createUser directive. I am running Randy> this test with both snmptrapd and snmptrap on the localhost. Randy> Is there something else needed in snmpd.conf/snmptrapd.conf for Randy> v3 notifications? 1) I'm not sure the v3 snmptrap&d code in the 4.1.2 release was correct (I don't think it is). 2) The trap code in 4.2.pre1 release should be. 3) The createUser line for inform notifications is as you'd expect. 4) For snmpv3 traps (unacknowledged), however, the user has to be created using the -e ENGINEID switch to createUser (which may not be documented). The ENGINEID must be the engineid of the remote entity (the one sending the traps) instead of the local one (the one receiving the traps). So, to send a v3 trap (as an example, I'm picking 0x001122 as a engineid): snmptrapd.conf: createUser -e 0x001122 user MD5 PASSPHRASE snmptrap -v 3 -u user -a MD5 -A PASSPHRASE -e 0x001122 localhost ... -- Wes Hardaker Please mail all replies to net...@li... |