[c-nsp] Automatic SNMP trap generation

lee.e.rian at census.gov lee.e.rian at census.gov
Wed Apr 26 07:33:11 EDT 2006


Gert Doering <gert at greenie.muc.de> wrote on 04/26/2006 05:29:32 AM:

> Hi,
>
> On Wed, Apr 26, 2006 at 09:57:16AM +0100, Sam Stickland wrote:
> > We need to run through our NMS and check that every device is correctly
> > sending traps (and that the traps actually reach the NMS). Is there any
way,
> > perhaps using the SNMP r/w community, to get a Cisco device to generate
a
> > test (or unimportant) trap?
>
> prod it with a non-valid SNMP communities to trigger alerts?
>
> (I know that these are logged via syslog, but I'm not sure whether it
> will cause SNMP traps)

An invalid community string will cause a trap if authentication traps are
enabled
ie - snmp-server enable traps snmp authentication

Telnet or rsh will generate a trap if tty traps are enabled.
What doesn't make sense to me is that ssh does not cause a trap.  Or am I
missing something??

Lee





More information about the cisco-nsp mailing list