I think I got it working now. Here are my configurations:

Redhat Linux 9
/etc/snmp/snmptrapd.conf
# Create a user with an engineID. Note: Cisco IOS won't take any
# engineID that is longer than 24 hex characters.
createUser -e 0xABCDEFGABCDEFGABCDEFGABCDEFG myUser MD5 myPassword DES

Cisco 2950
en
config t
snmp-server engineID remote 192.168.0.100 0xABCDEFGABCDEFGABCDEFGABCDEFG
snmp-server user myUser RequiresNoAuth remote 192.168.0.100 v3
snmp-server group RequiresNoAuth v3 noauth
snmp-server host 192.168.0.100 informs version 3 noauth myUser
snmp-server enable traps


Do a "tail -f /var/log/messages"
Oct  1 09:38:02 localhost snmptrapd[21038]: 10.0.31.254 [10.0.31.254]: Trap 
RFC1213-MIB::sysUpTime.0 = Timeticks: (6703751) 18:37:17.51, SNMPv2-MIB::snmpTrapOID.0 
= OID: CISCO-SMI::ciscoMgmt.41.2.0.1, CISCO-SMI::ciscoMgmt.41.1.2.3.1.2.19 = STRING: 
"SYS", CISCO-SMI::ciscoMgmt.41.1.2.3.1.3.19 = INTEGER: 6, 
CISCO-SMI::ciscoMgmt.41.1.2.3.1.4.19 = STRING: "CONFIG_I", 
CISCO-SMI::ciscoMgmt.41.1.2.3.1.5.19 = STRING: "Configured from console by vty0 
(192.168.0.100)", CISCO-SMI::ciscoMgmt.41.1.2.3.1.6.19 = Timeticks: (6703749) 
18:37:17.49 


Now...is there any way such that I don't have to specify the remote engine ID of the 
trap receiver?

Shing


> -----Original Message-----
> From: Robert Story (Users) [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 30, 2004 7:29 PM
> To: Cheung, Shing (GE Healthcare)
> Cc: [EMAIL PROTECTED]
> Subject: Re: Configuring snmptrapd to receive snmp informs from Cisco
> router
> 
> 
> On Thu, 30 Sep 2004 13:49:02 -0500 Cheung, wrote:
> CS> I followed the procedures describe here:
> CS> 
> http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/product
s_configuration_guide_chapter09186a00800ca66b.html#28293
CS> but somehow it's not syslog'ed on the server that's running snmptrapd.
CS> I was able to send snmpinform from another server successfully.

Have you tried using a packet sniffer to see if they are making it to the host
running snmptrapd?  Or run snmptrapd in the foreground and dump packets, like
so:
        snmptrapd -f -Le -d

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

Reply via email to