Configuring Action Statements - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Configuring EEM
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Command
event snmp oid oid get-type {exact | next}
entry-op {eq | ge | gt | le | lt |ne}
entry-val entry [exit-comb {and | or}]
exit-op {eq | ge | gt | le | lt |ne}
exit-val exit exit-time time
polling-interval interval
event temperature [module slot] [sensor
number] threshold {any | major | minor}

Configuring Action Statements

To configure action statements, use the following commands in EEM configuration mode:
Command
action number[.number2] cli command1
[command2...] [local]
action number[.number2] counter name
counter value val op {dec | inc | nop |
set}
action number[.number2] event-default
Cisco MDS 9000 Family CLI Configuration Guide
54-8
Chapter 54
Configuring the Embedded Event Manager
Purpose
Triggers an event if the SNMP OID crosses the
entry threshold (based on the entry
operation—greater than, less than, and so on.)
The event resets immediately, or optionally you
can configure the event to reset after the counter
passes the exit threshold. The OID is in dotted
decimal notation. The entry and exit value ranges
are from 0 to 18446744073709551615. The time
range is from 0 to 2147483647. The interval range
is from 1 to 2147483647.
Triggers an event if the temperature sensor
exceeds the configured threshold. The slot range
is dependent on different switches. The sensor
range is from 1 to 8 on MDS modules, but current
MDS modules use the range from 1 to 3 only,
some modules use the range from 1 to 2.
Purpose
Executes the configured CLI commands. You can
optionally execute the commands on the module
where the event occurred. The action label is in
the format number1.number2.
number can be any number up to 16 digits. The
range for number2 is from 0 to 9.
Modifies the counter by the configured value and
operation. The action label is in the format
number1.number2.
number can be any number up to 16 digits. The
range for number2 is from 0 to 9.
The counter name can be any case-sensitive,
alphanumeric string up to 28 characters. The val
can be an integer from 0 to 2147483647 or a
substituted parameter.
Executes the default action for the associated
event. The action label is in the format
number1.number2.
number can be any number up to 16 digits. The
range for number2 is from 0 to 9.
OL-18084-01, Cisco MDS NX-OS Release 4.x

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents