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 Monday at 3:00 AM, the router should clear its BGP neighbor statistics for a specific peer to ensure fresh data for analysis. The administrator wants to use a feature that resides directly on the router and can execute CLI commands based on a scheduled event. Which Cisco IOS feature should be used?

  1. AEEM
  2. BPython Scripting
  3. CSNMP Traps
  4. DTCL Scripting
Show answer & explanation

Correct answer: A. EEM

Embedded Event Manager (EEM) is a powerful and flexible feature in Cisco IOS that allows administrators to define policies to respond to events detected in the router's operating environment. It can execute CLI commands based on various triggers, including time-based schedules, making it ideal for automating recurring tasks like clearing BGP statistics.

Why the other options are wrong

  • B. Python scripting is powerful for automation, but typically requires a router with Python execution capabilities (e.g., IOS XE with Guest Shell) and is often used for external orchestration, not internal scheduled CLI execution in a basic IOS environment.
  • C. SNMP Traps are used by devices to send notifications about events to a management station, not to automate tasks or execute commands on the device itself.
  • D. TCL (Tool Command Language) scripting can be used for automation, but EEM provides a more structured and integrated event-driven framework for scheduled tasks directly in IOS.

Embedded Event Manager (EEM)

A Cisco IOS feature that allows for on-device detection of events and automated, policy-based responses, including executing CLI commands, sending SNMP traps, or running scripts.

  • Event-driven automation directly on the network device.
  • Supports various event detectors: syslog, NetFlow, interface counters, timers.
  • Can execute CLI commands, send emails, generate SNMP traps.
  • Useful for self-healing networks and automating routine tasks.

Memory trick: Automation: Making the network work for you.

More Infrastructure questions