Hi,
Thanks.
I also tried adding "*event timer countdown time <SEC>*" to second applet
(which does no shut for BGP) so to delay to un-shut BGP but the issue is
after this timer reach to 0, we should be able to check again to see that
this interface is in fact at UP status, before un-shut BGP peer, otherwise
logic failed.
Alternatively, it may need to introduce if then - after timer reaches to
0, if interface is up, then un-shut BGP.
If any one more ideas, please let me know. Thanks.
Mathew
On Tuesday, August 13, 2013, Petesccie wrote:
> Hi Mathew,
> I haven't done too much within EEM, but I'm sure plenty of the other
> experts here could lend some advice on that. If the main issue is to
> overcome the flapping, I think trying to use a tracked object with a delay
> coming back up is the path I'd investigate.
>
>
> Sent from my iPhone
>
> On 13 Aug 2013, at 01:20 p.m., Mathew <mathewfer_at_gmail.com<javascript:_e({}, 'cvml', 'mathewfer_at_gmail.com');>>
> wrote:
>
> Hi Mohamad/Pete,
>
> Thanks for both relies.
>
> In fact, I want to avoid using IP SLA tracking - due to some reasons.
>
> I am thinking of using the timer and interface status checks in EEM.
>
> Is this still possible with EEM?
>
> Mathew
>
> On Tuesday, August 13, 2013, Petesccie wrote:
>
>> 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
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>
>
> --
> Thanks
>
> Mathew
>
>
-- Thanks Mathew Blogs and organic groups at http://www.ccie.netReceived on Tue Aug 13 2013 - 23:00:13 ART
This archive was generated by hypermail 2.2.0 : Sun Sep 01 2013 - 08:35:50 ART