• Here you will learn what EEM (Embedded Event Manager) is.
    EEM is a Cisco IOS feature that lets you automate tasks directly on a router.

    How EEM Works

    The idea is simple:

    • An event happens (example: an interface goes down, a syslog message appears, a command is entered)

    • EEM reacts by executing one or more actions automatically

    To understand this, look at the diagram below.

    eem event sources

    Figure 1 - Event Sources

    1. Event Sources

    Event Sources are the different “inputs” that EEM can monitor on the device.
    In this figure, you can see common examples:

    • Syslog: a log message is generated

    • SNMP: a trap is received

    • Timer: a scheduled trigger

    • CLI: a command is entered

    • Interface: a link/state change is detected

    Answer the question below

    Which component generates a log message that EEM can monitor?

    2. EEM Engine

    The EEM Engine is the component that receives these events and checks whether they match a condition you configured.
    In other words: events arrive at the top, and the engine decides whether something should happen next.

    eem event sources to eem engine

    Figure 2 - EEM Engine

    Answer the question below

    Which component decides whether an event should trigger an action?

    3. EEM Applets

    Now let’s extend the workflow: when an event matches, EEM can launch an applet.

    eem workflow

    Figure 3 - EEM Applet

    An EEM applet is a small IOS script that describes what to react to and what to do when it happens.

    It contains:

    • an event: the trigger condition

    • actions: the list of tasks the device will execute

    embedded event manager eem

    Figure 4 - EEM Applet details

    If we summarize the full chain:

    • Event Sources: an event happens (example: syslog “interface down”)

    • EEM Engine: EEM detects it and checks for a match

    • EEM Applet: if there is a match, EEM runs the applet actions (the “script” executed automatically)

    Answer the question below

    What IOS feature contains the trigger and the list of actions to execute automatically?