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

A network administrator needs to automate a recurring task on a Cisco router: every Sunday at 3:00 AM, the router should clear its BGP neighbor statistics and then send a syslog message indicating the completion of this action. The administrator wants to configure an embedded automation tool on the router itself to perform this sequence of commands automatically. Which Cisco IOS XE feature allows for this type of event-driven or scheduled automation?

  1. ANetConf/YANG
  2. BTCL (Tool Command Language) Scripting
  3. CEEM (Embedded Event Manager)
  4. DPython Scripting
Show answer & explanation

Correct answer: C. EEM (Embedded Event Manager)

EEM (Embedded Event Manager) is a powerful, integrated feature in Cisco IOS and IOS XE that allows administrators to automate tasks by defining policies that respond to specific events or are triggered by a schedule. It can execute a sequence of commands, send syslog messages, or even execute Tcl scripts, directly meeting the requirement for scheduled automation and command execution.

Why the other options are wrong

  • A. NetConf/YANG are protocols and data models for programmatic network device configuration and management, typically used from external controllers, not for embedded, scheduled task automation on the device itself.
  • B. TCL Scripting can be used within EEM, but EEM itself is the framework for event detection and action, not just the scripting language.
  • D. Python Scripting is available on some newer Cisco platforms for automation, but EEM is the native, more widely available, and often simpler solution for event-driven automation of CLI commands on IOS XE.

EEM (Embedded Event Manager)

A powerful, distributed, and customizable event management system integrated into Cisco IOS and IOS XE that allows for automation of tasks based on various events or schedules.

  • Automates tasks on the device itself.
  • Triggers include syslog, interface status, counters, timer.
  • Actions include CLI commands, sending email, Tcl scripts.
  • Enhances network resilience and operational efficiency.

Memory trick: EEM is the router's personal assistant, always ready to do tasks on schedule or when something happens.

More Infrastructure questions