Specifications
15-5
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 15 Configuring Embedded Event Manager
Prerequisites
• Cisco built-in variables (available in EEM applets)
Defined by Cisco and can be read-only or read-write. The read-only variables are set by the system
before an applet starts to execute. The single read-write variable, _exit_status, allows you to set the
exit status for policies triggered from synchronous events.
Cisco-defined environment variables and Cisco system-defined environment variables might apply to
one specific event detector or to all event detectors. Environment variables that are user-defined or
defined by Cisco in a sample policy are set by using the event manager environment global
configuration command. You must defined the variables in the EEM policy before you register the
policy.
For information about the environmental variables that EEM supports, see the Embedded Event Manager
Configuration Guide, Cisco IOS Release 15M&T.
EEM 3.2
EEM 3.2 introduces these event detectors:
• Neighbor Discovery—Provides the ability to publish a policy to respond to automatic neighbor
detection when:
–
a Cisco Discovery Protocol (CDP) cache entry is added, deleted, or updated.
–
a Link Layer Discovery Protocol (LLDP) cache entry is added, deleted or updated.
–
an interface link status changes.
–
an interface line status changes.
• Identity—Generates an event when AAA authorization and authentication is successful, when
failure occurs, or after normal user traffic on the port is allowed to flow.
• Mac-Address-Table—Generates an event when a MAC address is learned in the MAC address table.
Note The Mac-Address-Table event detector is supported only on switch platforms and can be used
only on Layer 2 interfaces where MAC addresses are learned. Layer 3 interfaces do not learn
addresses, and routers do not usually support the MAC address-table infrastructure needed to
notify EEM of a learned MAC address.
EEM 3.2 also introduces CLI commands to support the applets to work with the new event detectors.
Prerequisites
• Review the “Information About Embedded Event Manager” section on page 15-1.
• If the action snmp-trap command is used, the snmp-server enable traps event-manager
command must be enabled to permit SNMP traps to be sent from the Cisco IOS device to the SNMP
server. Other relevant snmp-server commands must also be configured; for details see the action
snmp-trap command page.