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
Received on Tue Nov 11 2014 - 21:47:30 ART
This archive was generated by hypermail 2.2.0 : Mon Dec 01 2014 - 07:15:32 ART