Cisco Nexus 7000 Series Configuration Manual page 285

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

Advertisement

Configuring the Embedded Event Manager
Command
action label continue
Example:
switch(config-applet)# action 2.0 continue
action label foreach string-iterator string-input
[string-delimiter]
Example:
switch(config-applet)# action 3.1 foreach _iterator
"orange blue green"
action label while string-op-1 operator string-op-2
Example:
switch(config-applet)# action 3.2 while $i lt 10
Use any of the following action commands in Applet Configuration (config-applet) mode to enable string
operations.
Command
action label append var-name [var-value]
switch(config-applet)# action 4.2 append $var
12
action label regexp string-pattern string-input
[string-match [string-submatch1] [string-submatch2]
[string-submatch3]]
switch(config-applet)# action 4.3 regexp
"(.*) (.*) (.*)" "one two three" _match _sub1
Purpose
Specifies the action of appending the string value to
the current 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. If the variable does not
exist, it will be created and set to the given value.
Matches the regular expression in string-pattern on
the string-input. string-match and string-submatch
store the results of the match.
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.
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Defining a User Policy Using the CLI
Purpose
Specifies the action of continuing with 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.
Specifies the iteration of an input string
using the delimiter as the tokenizing pattern.
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.
Identifies the beginning of a loop action
block.
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.
Valid values for operator are: ge, gt, eq, ne,
lt, le.
257

Advertisement

Table of Contents
loading

Table of Contents