03-03-2004 06:55 PM - edited 03-02-2019 02:00 PM
Does anyone know what is the command to send a dummy snmp trap from a cisco 3600 router to a NMS.
I know Cat 6500 can do it, so I guess there is a way to do it on the Cisco router.
03-03-2004 07:20 PM
Though IOS routers can not send dummy trap, it's quite easy to initiate one. Simply enable syslog trap, and exit from "conf t" mode.
Configure this on router
snmp-server enable traps syslog
snmp-server host 1.1.1.1 <-- this is your trap receiver
Now exit. This will generate a syslog messaage, which in turn will trigger a trap.
03-03-2004 07:30 PM
Thx for the tip, this is one of the solution I use.
anyway the parameter
'snmp-server enable traps config' will generate a snmp trap every time you exit from the conf t mode.
03-09-2004 12:39 AM
My config is
snmp-server community XXX RW
snmp-server enable traps snmp(all traps)
snmp-server host X.X.X.X version 2c XXX
But no matter how I enter the conf t mode or shut down an interface , no messages on the host .
Could anybody help me to know why?
{cisco 7206vxr,ios=12.2(8)YW3,the host is where ciscoworks installed}
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide