Cisco Nexus 7000 Series Configuration Manual page 283

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

Advertisement

Configuring the Embedded Event Manager
Command
action label exit [result ]
Example:
switch(config-applet)# action 1.0 exit 25
action label else
Example:
switch(config-applet)# action 1.0 else
action label elseif string-1 {eq | gt | ge | lt | le | ne} string-2
switch(config-applet)# action 1.0 elseif $x ge 10
action label if string-1 {eq | gt | ge | lt | le | ne} string-2
switch(config-applet)# action 1.0 if $x lt 10
action label if string-1 {eq | gt | ge | lt | le | ne} string-2 goto
label
switch(config-applet)# action 2.0 if $x lt 10 goto
1.0
action label puts string
Example:
switch(config-applet)# action 2.0 puts "Hello world"
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Defining a User Policy Using the CLI
Purpose
Exits from the applet configuration mode
that is currently running.
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.
Identifies the beginning of an else
conditional action block in an if/else 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.
Identifies the beginning of an elseif
conditional action block in an else/if 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.
Identifies the beginning of an if conditional
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.
Instructs the applet to jump to a given label
if the specified condition is true.
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.
Enables the action of printing data directly
to the terminal.
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.
255

Advertisement

Table of Contents
loading

Table of Contents