cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4564
Views
5
Helpful
3
Replies

SNMP Trap Test

dkktan
Level 1
Level 1

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.

3 Replies 3

minie
Level 4
Level 4

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.

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.

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}