EEM Undo Configuration Changes

Cisco Event Embedded Manager (EEM) can be used to detect and undo configuration changes on a production network like reload, removal of routing process and shutdown of management interfaces.

This EEM applet is used to unshut the loopback2 when shutdown.

event manager session cli username eemadmin event manager applet NO-SHUT-LOOPBACK event syslog pattern "%LINK-5-CHANGED: Interface […]

EEM Unable to Establish CLI Session

I had an issue where EEM complained about couldn’t execute due to no available TTY lines.

001214: Aug 6 03:29:21.488 UTC: %HA_EM-3-FMPD_CLI_CONNECT: Unable to establish CLI session: 'Embedded Event Manager' detected the 'fatal' condition 'no tty lines available, minimum of 2 required by EEM' 001215: Aug 6 03:29:21.488 UTC: %HA_EM-3-FMPD_ERROR: Error executing applet PRIMARY-DOWN […]

Using Embedded Event Manager with SRST

This configuration example uses Embedded Event Manager (EEM) with Survivable Remote Site Telephony (SRST). In high level, the EEM monitors the IP SLA 300 (IP host alive) to (Cisco Unified Call Manager). If the IP reachability to the said IP goes down, the EEM will execute the EEM applet CUCM-MONITORING-DOWN. When the IP reachability […]

Cisco IOS EEM: Monitor ISDN Layer 2 Status

Here are the steps on how to set it up.

1. Configure the recipient’s email address. Replace this value [recipient’s email address] with valid email address.

event manager environment _email_to [recipient’s email address]

2. Configure the email server IP address. Replace this value [email server IP address] with valid email server IP address.

event […]