[c-nsp] Disabling SNMP for certain BGP neighbors

Arie Vayner (avayner) avayner at cisco.com
Wed Jan 20 16:10:40 EST 2010


Seth,

I would say that the right approach for this would be to tune the logic
of your NMS system to ignore these events, or make them low-priority
events, and have a rule that alerts you about low-priority events only
during work hours...

Another approach (but only relatively new IOS versions) would be to use
the EEM SNMP Notification event detector. This would allow you to catch
specific traps and block them on the router (or modify them to a
different event).
In older IOS versions the same can be accomplished for Syslog, so if you
can turn off SNMP traps and use Syslog events, you can accomplish this
on most IOS versions.

The reference for the SNMP Notification EEM event detector is here:
http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_06.html
#wp1178594

Arie

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Seth Mattinen
Sent: Tuesday, January 19, 2010 22:11
To: cisco-nsp
Subject: [c-nsp] Disabling SNMP for certain BGP neighbors

Is there any way to disable SNMP traps for a subset of BGP neighbors
like there is for interfaces? I have a couple BGP sessions that are of
"don't care" priority and they don't need to send traps when they flap
(although rarely, it's always when I'm sleeping).

~Seth
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list