Cisco Nexus 7000 Series Configuration Manual page 284

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

Advertisement

Defining a User Policy Using the CLI
Command
action label add {long-integer | variable-name} {long-integer
| variable-name}
Example:
switch(config-applet)# action 2.0 add $var1 10
action label decrement variable-name long-integer
Example:
switch(config-applet)# action 1.0 decrement $varname
12
action label increment variable-name long-integer
Example:
switch(config-applet)# action 2.0 increment $varname
12
action label multiply {long-integer1 | variable-name1}
{long-integer2 | variable-name2}
switch(config-applet)# action 2.0 multiply 12 35
action label subtract {long-integer1 | variable-name1}
{long-integer2 | variable-name2}
Example:
switch(config-applet)# action 2.0 subtract $var1
$var2
action label comment string
Example:
switch(config-applet)# action 2.0 comment keyvalue
action label break
Example:
switch(config-applet)# action 2.0 break
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
256
Configuring the Embedded Event Manager
Purpose
Specifies the action of adding two variables.
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.
Specifies the action of decrementing the
value of a variable.
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.
Specifies the action of incrementing the
value of a variable.
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.
Specifies the action of multiplying a
variable value with a long integer value.
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.
Specifies the action of subtracting the value
of a variable from another one.
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.
Adds comments to applets.
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.
Specifies the action of exiting from a loop
of actions.
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.

Advertisement

Table of Contents
loading

Table of Contents