action
number
add
variable-name
|
Adds variable values to the action command when an EEM applet is triggered. To undo the add action, use the no form of this command.
|
action
number
append
variable-name
|
Appends a variable value to an existing variable string when an EEM applet is triggered. To undo the append action, use the
no form of this command.
|
action
number
break
|
Exits from a loop of action when an EEM applet is triggered. To disable the break action, use the no form of this command.
|
action
number
cli command
command-name |
Executes the configured VSH CLI commands when an EEM applet is triggered. To disable the CLI command action, use the no form of this command. Valid value for the VSH command name is 256 characters.
From Cisco MDS NX-OS Release 8.1(1) the command keyword was added. The command keyword specifies the message to be sent to the Cisco NX-OS CLI. Add the command name within double quotation marks.
|
action
number
cli local command
command-name |
Executes the configured VSH CLI commands when an EEM applet is triggered. To disable the CLI command action, use the no form of this command. Valid value for the VSH command name is 256 characters.
From Cisco MDS NX-OS Release 8.1(1), the command keyword was added. The command keyword specifies the message to be sent to the Cisco NX-OS CLI. Add the command name within double quotation marks.
|
action
number
comment
string |
Specifies an action of adding comments to an applet when an EEM applet is triggered. To disable the comment action, use the
no form of this command. Valid value for string sequence is 256 characters.
|
action
number
continue
|
Specifies an action of continuing with loop of actions when an EEM applet is triggered. To disable the comment action, use
the no form of this command.
|
action
number [.
number ] counter
name
counter
value
val
op
{dec | inc
|
nop
|
set }
|
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.
|
action
number
decrement
decrement-name |
Specifies the action of decrementing the value of a variable, when an EEM applet is triggered. To remove the action from the
applet, use the no form of this command.
|
action
number
divide
divide-name |
Divides the dividend value by the given divisor value when an EEM applet is triggered. To remove the calculation process,
use the no form of this command.
|
action
number
eem
|
Specifies the EEM action command when an EEM applet is triggered. To remove the EEM action command, use the no form of this command.
|
action
number
else
|
Specifies the beginning of an else conditional action block in an if/else conditional action block when an EEM applet is triggered.
To remove the else conditional action block, use the no form of this command.
|
action
number
elseif
|
Specifies the beginning of an elseif conditional action block in an if/else conditional action block when an EEM applet is
triggered. To remove the else conditional action block, use the no form of this command.
|
action
number
end
|
Specifies the end of a conditional action block in the if/else and while conditional action block when an EEM applet is triggered.
To remove the end conditional action block, use the no form of this command.
|
action
number [.
number ] event-default
|
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.
|
action
number
exit
|
Exits from the running applet configuration when an EEM applet is triggered. To cancel the process of immediate exit from
the running applet, use the no form of this command.
|
action
number
file {close | delete | gets | open | puts | read | write} |
Configures the EEM applet file operations, use the action file command in applet configuration mode. To disable the configuration,
use the no form of this command.
|
action
number
foreach
foreach-name
|
Specifies the iteration of an input string using the delimiter as a tokenizing pattern. To remove iteration of the input string,
use the no form of this command.
|
action
number
if
if-name
|
Identifies the beginning of an if conditional block when an EEM applet is triggered, use the action if command in applet configuration
mode. To remove the if conditional action block, use the no form of this command.
|
action
number
increment
increment-name
|
Specifies the action of incrementing the value of a variable, when an EEM applet is triggered. To remove the action from the
applet, use the no form of this command.
|
action
number
multiply
multiply-name
|
Specifies the action of multiplying the variable value with a specified given integer value when an EEM applet is triggered.
To remove the calculation process, use the no form of this command.
|
action
number
overbudgetshut
[module
module-name] |
Forces one or more modules or the entire system to shut down because of a power overbudget issue.
|
action
number
policy-default
|
Executes the default action for the policy that you are overriding. To remove the action policy command from the configuration,
use the no form of this command.
|
action
number
publish-event
|
Specifies the action of publishing an application-specific event when the event specified for an EEM applet is triggered.
To remove the action of publishing an application-specific event, use the no form of this command.
|
action
number
puts
|
Enables the action of printing data directly to the local TTY when an EEM applet is triggered. To disable this function, use
the no form of this command.
|
action
number
regexp regexp-name
|
Matches a regular expression pattern on an input string when an EEM applet is triggered. To disable this function, use the
no form of this command.
|
action
number
reload
|
Forces one or more modules or the entire system to reload.
|
action
number
set set-name
|
Sets the value of a variable when an EEM applet is triggered. To remove the value of an EEM applet variable, use the no form of this command.
|
action
number [.
number2 ] snmp-trap
{[intdata1
data [intdata2
data [strdata string]]]}
|
Sends an SNMP trap with the configured data. number can be any number up to 16 digits. The range for number2 is from 0 to 9.
The data arguments can by any number up to 80 digits. The string can be any alphanumeric string up to 80 characters.
|
action
number
string
|
Specifies the string action command for an EEM applet. To remove the action of string operation, use the no form of this command.
|
action
number
wait
wait-value |
Specifies the wait time for an action for an EEM applet. To disable this function, use the no form of this command.
|
action
number
while
while-number |
Identifies the beginning of a loop of a conditional block when an EEM applet is triggered. To disable this function, use the
no form of this command.
|
action
number [.
number2] exceptionlog
module
module
syserr
error
devid
id errtype
type
errcode
code
phylayer
layer
ports
list
harderror
error [desc
string ]
|
Logs an exception if the specific conditions are encountered when an EEM applet is triggered.
|
action
number [.
number
number2 ] forceshut [module
slot | xbar
xbar number ] reset-reason
seconds
|
Forces a module, crossbar, or the entire system to shut down. 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 slot range is dependent on different switches. The xbar-number range is from 1 to 2 and is only available on MDS 9513 modules.
The reset reason is a quoted alphanumeric string up to 80 characters.
|
action
number
[.
number ] overbudgetshut [module
slot [-
slot ]]
|
Forces one or more modules or the entire system to shut down because of a power overbudget issue.
number can be any number up to 16 digits. The range for number2 is from 0 to 9.
The slot range is dependent on different switches.
|
action
number [.
number ] policy-default
|
Executes the default action for the policy that you are overriding. 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.
|
action
number [.
number ] reload [module
slot [-
slot ]]
|
Forces one or more modules or the entire system to reload.
number can be any number up to 16 digits. The range for number2 is from 0 to 9.
The slot range is dependent on different switches.
|
action
number [.
number2 ] syslog
[priority
prio-val ] msg
error message
|
Sends a customized syslog message at the configured priority.number can be any number up to 16 digits. The range for number2 is from 0 to 9.
The error-message can be any quoted alphanumeric string up to 80 characters.
|