EEM to keep BGP peer shut during an interface flap

From: Mathew <mathewfer_at_gmail.com>
Date: Tue, 13 Aug 2013 21:52:19 +1000

Hi,

I tested two EEM applet configs:

- One check for syslog for an interface down and CLI to shut down BGP peer.
- Second one to no shut the BGP peer when syslog entry is seen with
interface up.

In fact the interface that I want check is NOT being used for this BGP
peering so there is no way to do it with BGP configuration.

The above two EEM configs works but the issue is that when this interface
start to flap, EEM keep shutting and no-shutting BGP peer. I want to avoid
this as it results in BGP flap.

Has any body tried an EEM solution to keep the BGP peer shut during an
interface flap?

I do not mind keeping the BGP shut till interface flapping is over but how
do we do/detect it with EEM?

Thanks in advance for your replies.

Mathew

-- 
Thanks
Mathew
Blogs and organic groups at http://www.ccie.net
Received on Tue Aug 13 2013 - 21:52:19 ART

This archive was generated by hypermail 2.2.0 : Sun Sep 01 2013 - 08:35:50 ART