Cisco Nexus 7000 Series Configuration Manual page 281

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring the Embedded Event Manager
Command
action label cli command1 [command2...] [local]
Example:
switch(config-applet)# action 1.0 cli
"show interface e 3/1"
action label counter name counter value val op {dec | inc |
nop | set}
Example:
switch(config-applet)# action 2.0 counter
name mycounter value 20 op inc
action label event-default
Example:
switch(config-applet)# action 1.0 event-default
action label forceshut [module slot | xbar xbar-number]
reset-reason seconds
Example:
switch(config-applet)# action 1.0 forceshut
module 2 reset-reason "flapping links"
action label overbudgetshut [module slot[-slot]]
Example:
switch(config-applet)# action 1.0
overbudgetshut module 3-5
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Defining a User Policy Using the CLI
Purpose
Runs the configured CLI commands. You
can optionally run the commands on the
module where the event occurred.
The action label is in the format
number1.number2. number1 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. number1 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. number1 can be any
number up to 16 digits. The range for
number2 is from 0 to 9.
Forces a module, crossbar, or the entire
system to shut down.
The action label is in the format
number1.number2. number1 can be any
number up to 16 digits. The range for
number2 is from 0 to 9.
The reset reason is a quoted alphanumeric
string up to 80 characters.
Forces one or more modules or the entire
system to shut down because of a power
overbudget issue.
The action label is in the format
number1.number2. number1 can be any
number up to 16 digits. The range for
number2 is from 0 to 9.
253

Advertisement

Table of Contents
loading

Table of Contents