Re: EEM to keep BGP peer shut during an interface flap

From: Petesccie <petesccie_at_gmail.com>
Date: Tue, 13 Aug 2013 13:05:59 +0100

Hi Matthew,
You could possibly try use EEM to track the ip reacability being used for bgp peer, and maybe put a delay on the track coming back up. Then reference the track object number in your EEM. Might help...

Rgds,
Pete

Sent from my iPhone

On 13 Aug 2013, at 12:52 p.m., Mathew <mathewfer_at_gmail.com> wrote:

> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Tue Aug 13 2013 - 13:05:59 ART

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