Question 341 · 1003 in bank
Refer to the exhibit. The IP SLA is configured in a router. An engineer must configure an EEM applet to shut down the interface and bring it back up when there is a problem with the IP SLA. Which configuration should the engineer use?
Show answer
Answer: A
Explanation
! ip sla 1 icmp-echo 2.2.2.2 source-interface Loopback0 ip sla schedule 1 life forever start-time now ! track 1 ip sla 1 reachability ! event manager applet Q_355_shut_port event track 1 state down action 1.0 cli command "enable" action 2.0 cli command "conf t" action 3.0 cli command "int loo1" action 4.0 cli command "shut" action 5.0 syslog msg "Loo1 was shutdown" ! event manager applet Q_355_no_shut_port event track 1 state up action 1.0 cli command "enable" action 2.0 cli command "conf t" action 3.0 cli command "int loo1" action 4.0 cli command "no shut" action 5.0 syslog msg "Loo1 was enabled" !
Source: Adapted from community discussion — nushadu

