hit counter script

Configuring Event Statements - Cisco Nexus 9000 Series Configuration Manual

Nx-os system management configuration guide, release 6.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Defining a User Policy Using the CLI
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8

Configuring Event Statements

Use one of the following commands in EEM configuration mode to configure an event statement:
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
164
Command or Action
description policy-description
Example:
switch(config-applet)# description
"Monitors interface shutdown."
event event-statement
Example:
switch(config-applet)# event cli match
"shutdown"
tag tag {and | andnot | or} tag [and | andnot
| or {tag}] {happens occurs in seconds}
Example:
switch(config-applet)# tag one or two
happens 1 in 10000
action number[.number2] action-statement
Example:
switch(config-applet)# action 1.0 cli
show interface e 3/1
show event manager policy-state name
[module module-id]
Example:
switch(config-applet)# show event
manager policy-state monitorShutdown
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Configuring the Embedded Event Manager
Purpose
(Optional)
Configures a descriptive string for the policy. The
string can be any alphanumeric string up to 80
characters. Enclose the string in quotation marks.
Configures the event statement for the policy.
Repeat this step for multiple event statements. See
Configuring Event Statements, on page
(Optional)
Correlates multiple events in the policy.
The range for the occurs argument is from 1 to
4294967295. The range for the seconds argument
is from 0 to 4294967295 seconds.
Configures an action statement for the policy.
Repeat this step for multiple action statements. See
Configuring Action Statements, on page
(Optional)
Displays information about the status of the
configured policy.
(Optional)
Copies the running configuration to the startup
configuration.
164.
169.

Advertisement

Table of Contents
loading

Table of Contents

Save PDF