03-27-2006 05:40 AM
Is it possible from an IOS and/or CatOS device to generate a non-instrusive "test" SNMP trap?
03-27-2006 06:01 AM
You can cause a config change trap by changing the description of a port or a banner.
It's all about how you define non-intrusive
Michel
03-27-2006 06:23 AM
Specifically something that doesn't impact the operational status of the router in any form. I don't want to have to bounce an interface just to test if my SNMP traps are working. Is there not a simple command that will generate a generic trap or must I make a change to the router config, however cosmetic it may be?
03-27-2006 08:12 AM
According to a previous post, you can generate the following traps on CatOS:
to send a warmstart trap
# test snmp trap 1
to send a coldstart trap
# test snmp trap 0
03-27-2006 09:56 AM
Thanks, this worked perfectly. Does anybody know of a similar IOS command?
03-27-2006 09:30 AM
for IOS devices
just telnet to the device go into configuration mode and leave config mode
# telnet x.x.x.x
Switch-02>en
Password:
Switch-02#term mon
Switch-02#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch-02(config)#exit
Switch-02#
*Sep 19 14:20:21.608: %SYS-5-CONFIG_I: Configured from console by vty0 (y.y.y.y)
Switch-02#exit
HTH
08-01-2007 01:42 AM
I've the same need, ie test snmp trap on IOS cisco devices (router 2800). I'm not able to verify if it is available a command similar to the CatOS test snmp trap...
Have you notice of similar command for IOS?
Thank's
08-01-2007 03:04 AM
afaik, there is no similar command in IOS to that in CatOS, but as i mentioned in my previous comments in this thread - you just need to enter the configure mode an leave it again without changing anything.
conf t
exit
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: