Re: EEM and IP SLA

From: Carlos G Mendioroz <tron_at_huapi.ba.ar>
Date: Wed, 12 Nov 2014 07:40:37 -0300

Hmmm...

adverb: simultaneously

    at the same time.

I wonder what did dls152 mean by doing two opposite actions at the same
time. Would you care to {tell|be quiet} please ?

My first reaction was thinking about shut, no shut (aka bump) an
interface, but may be not.

-Carlos

Bill Burns @ 12/11/2014 01:47 -0300 dixit:
> I got this off of supportforums.cisco.com.
>
> track 1 ip sla 10 reachability
>
> delay down 10 up 10
>
> !
>
> ip sla 10
>
> icmp-echo 192.168.0.1 source-interface GigabitEthernet 0/1
>
> frequency 30
>
> ip sla schedule 10 life forever start-time now
>
> !
>
> event manager applet Link-Down
>
> event track 1 state down
>
> action 1.0 syslog msg "Reply timed out; Link is down"
>
> action 1.1 cli command "enable"
>
> action 1.2 cli command "conf t"
>
> action 1.3 cli command "interface g0/0"
>
> action 1.4 cli command "shut"
>
> action 1.5 cli command "end"
>
> action 1.6 syslog msg "Interface GigabitEthernet 0/1 shutdown"
>
> !!
>
> event manager applet Link-Up
>
> event track 1 state up
>
> action 1.0 syslog msg "Ping received; Link is up"
>
> action 1.1 cli command "enable"
>
> action 1.2 cli command "conf t"
>
> action 1.3 cli command "interface g0/0"
>
> action 1.4 cli command "no shut"
>
> action 1.5 cli command "end"
>
> action 1.6 syslog msg "Interface GigabitEthernet 0/1 up"
>
> Thank you,
>
> Bill Burns
> CCIE #12464, CCSI
>
>
>
>
> On Tue, Nov 11, 2014 at 7:57 PM, <dls152_at_cox.net> wrote:
>
>> Hello,
>>
>> Can anyone tell me if EEM be used to simultaneously shutdown and
>> unshutdown router interface based on IP SLA IP reachability condition? If
>> so, can you point me to example configuration?
>>
>> Thank you!
>>
>>
>> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>

-- 
Carlos G Mendioroz  <tron_at_huapi.ba.ar>  LW7 EQI  Argentina
Blogs and organic groups at http://www.ccie.net
Received on Wed Nov 12 2014 - 07:40:37 ART

This archive was generated by hypermail 2.2.0 : Mon Dec 01 2014 - 07:15:32 ART