QuestionQ100

Automation

An engineer needs to invoke a Python script that will alert the operations team whenever the router DC-RTR-1 becomes unreachable, based on the configuration shown in the exhibit.

Which configuration set accomplishes this task?

Question Image

  • A event scheduler name DOWN-ROUTER event track 2 state 1 not up event action 1.0 command source routerdown.py event start 0:00 repeat 0:05
  • B track 3 ip sla 10 reachability event name GATEWAY-DOWN event state down action cli command routerdown.py
  • C event manager applet ROUTER-DOWN-SLA event track 5 state down action 1.0 event-default action 2.0 cli command source routerdown.py
  • D scheduler job name ROUTER-DOWN job track 9 state down action 1.0 cli source routerdown.py schedule 10
Explanation

The exhibit configures IP SLA 10 to send ICMP echoes to DC-RTR-1's interface (10.19.31.1) and binds this SLA to tracked object 5 via 'track 5 ip sla 10 reachability'. To trigger a Python script when this tracked object goes down (i.e., when DC-RTR-1 becomes unreachable), an Embedded Event Manager (EEM) applet must be defined using the syntax 'event manager applet NAME', followed by 'event track 5 state down' to match the specific tracked object, and an action statement such as 'action 1.0 cli command source routerdown.py' (with an 'event-default action' for handling default/other outcomes) to execute the script. This matches Cisco NX-OS EEM applet configuration conventions for invoking scripts based on tracked object state changes, as documented in Cisco's EEM configuration guides.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!