36-6
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 36 Configuring Embedded Event Manager
Configuring Embedded Event Manager
Mac-Address-Table—Mac-Address-Table event detector 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.
For further details about EEM 3.2 features, see the Embedded Event Manager 3.2 document.
http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_3.2.html
Configuring Embedded Event Manager
Registering and Defining an Embedded Event Manager Applet, page 36-6
Registering and Defining an Embedded Event Manager TCL Script, page 36-7
For complete information about configuring embedded event manager, see the Cisco IOS Network
Management Configuration Guide, Release 12.4T.
Note To configure EEM, you must have the IP services feature set installed on the switch.

Registering and Defining an Embedded Event Manager Applet

Beginning in privileged EXEC mode, perform this task to register an applet with EEM and to define the
EEM applet using the event applet and action applet configuration commands.
Note Only one event applet command is allowed in an EEM applet. Multiple action applet commands are
permitted. If you do not specify the no event and no action commands, the applet is removed when you
exit configuration mode.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 event manager applet applet-name Register the applet with EEM and enter applet configuration mode.
Step 3 event snmp oid oid-value get-type
{exact | next} entry-op {eq | ge | gt | le |
lt | ne} entry-val entry-val [exit-comb
{or | and}] [exit-op {eq | ge | gt | le | lt |
ne}] [exit-val exit-val] [exit-time
exit-time-val] poll-interval poll-int-val
Specify the event criteria that causes the EEM applet to run.
(Optional) Exit criteria. If exit criteria are not specified, event monitoring
is re-enabled immediately.