EasyManua.ls Logo

Cisco Nexus 3548 series - Configuring Event Statements

Cisco Nexus 3548 series
230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PurposeCommand or Action
Configures a descriptive string for the policy.
(Optional) description policy-description
Step 3
Example:
The string can be any alphanumeric string up
to 80 characters. Enclose the string in quotation
marks.
switch(config-applet)# description
"Monitors interface shutdown."
Configures the event statement for the policy.
event event-statement
Example:
Step 4
switch(config-applet)# event cli match
"shutdown"
Correlates multiple events in the policy.
(Optional) tag tag {and | andnot | or} tag [and
| andnot | or {tag}] {happens occurs in
seconds}
Step 5
The range for the occurs argument is from 1 to
4294967295.
Example:
The range for the seconds argument is from 0
to 4294967295 seconds.
switch(config-applet)# tag one or two
happens 1 in 10000
Configures an action statement for the policy.
Repeat this step for multiple action statements.
action number[.number2] action-statement
Example:
Step 6
switch(config-applet)# action 1.0 cli
show interface e 3/1
Displays information about the status of the
configured policy.
(Optional) show event manager policy-state
name [module module-id]
Example:
Step 7
switch(config-applet)# show event manager
policy-state monitorShutdown
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 8
What to do next
Configure event statements and action statements.
Configuring Event Statements
Use one of the following commands in EEM configuration mode (config-applet) to configure an event
statement:
Before you begin
Define a user policy.
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
124
Configuring Embedded Event Manager
Configuring Event Statements

Table of Contents

Related product manuals