[c-nsp] Disabling SNMP for certain BGP neighbors

Ivan Pepelnjak ip at ioshints.info
Sat Jan 23 14:34:07 EST 2010


You need EEM 3.1 to catch outbound SNMP traps. EEM 3.1 is (at the moment) only available in IOS release 15.0M.

Ivan Pepelnjak
blog.ioshints.info / www.ioshints.info

> -----Original Message-----
> From: Arie Vayner (avayner) [mailto:avayner at cisco.com]
> Sent: Wednesday, January 20, 2010 10:11 PM
> To: Seth Mattinen; cisco-nsp
> Subject: Re: [c-nsp] Disabling SNMP for certain BGP neighbors
> 
> 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