Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) v1.2AutomationMedium

A network engineer wants to automate a remediation task on a Cisco IOS XE device. Specifically, if a particular interface goes down, a script should automatically attempt to shut down and then no shut down the interface to try and bring it back up. This automation needs to run directly on the device, triggered by a system event. Which Cisco IOS XE feature is best suited for this scenario?

  1. ARESTCONF
  2. BEmbedded Event Manager (EEM)
  3. CNETCONF
  4. DGuest Shell
Show answer & explanation

Correct answer: B. Embedded Event Manager (EEM)

Cisco Embedded Event Manager (EEM) allows network administrators to define policies to respond to various events detected on the device. An EEM applet can be configured to monitor an interface's operational status and trigger a series of CLI commands (like 'shutdown' and 'no shutdown') directly on the device when the interface goes down, without requiring an external controller.

Why the other options are wrong

  • A. RESTCONF is an API for external systems to configure the device, not for on-device event-driven automation.
  • C. NETCONF is an XML-based protocol for external systems to configure the device, not for on-device event-driven automation.
  • D. Guest Shell provides a Linux environment on the device for running scripts, but EEM is specifically designed for event-driven automation of CLI commands.

Embedded Event Manager (EEM)

A powerful and flexible feature in Cisco IOS XE that allows network devices to respond to various events by executing predefined actions or scripts directly on the device.

  • Event-driven automation on the device.
  • Monitors syslog messages, interface status, OID changes, etc.
  • Can execute CLI commands, Tcl scripts, or Python scripts.
  • Reduces need for external monitoring and remediation tools for simple tasks.

Memory trick: EEM is the device's internal watchdog, reacting to events.

More Automation questions