Configuring Multiple Event Support
The multiple event support feature adds the ability to register multiple events in the EEM server. The multiple
event support involves one or more event occurrences, one or more tracked object states, and a time period
for the event to occur. The event parameters are specified in the CLI commands. The data structure to handle
multiple events contains multiple event identifiers and correlation logic. This data is used to register multiple
events in the EEM Server.
Setting the Event Configuration Parameters
The
trigger
command enters the trigger applet configuration mode and specifies the multiple event configuration
statements for EEM applets. The trigger statement is used to relate multiple event statement using the
tag
argument specified in each event statement. The events are raised based on the specified parameters.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
event manager applet applet-name
4.
event
[
tag event-tag
]
cli pattern regular-expression sync
{
yes
|
no skip
{
yes
|
no
}} [
occurs
num-occurrences
] [
period period-value
] [
maxrun maxruntime-number
]
5.
trigger
[
occurs occurs-value
] [
period period-value
] [
period-start period-start-value
] [
delay delay-value
]
6.
correlate
{
event event-tag
|
track object-number
} [
boolean-operator event event-tag
]
7.
attribute tag event-tag
[
occurs occurs-value
]
8.
action label cli command cli-string
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.
configure terminal
Example:
Device# configure terminal
Step 2
Registers an applet with EEM and enters applet
configuration mode.
event manager applet applet-name
Example:
Device(config)# event manager applet EventInterface
Step 3
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1710
How to Write EEM Policies Using the Cisco IOS CLI
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......