Configuration Examples for Writing Embedded Event Manager Policies Using Tcl
IHQ: pkts in input hold queue
OHQ: pkts in output hold queue
RXBS: rx rate (bits/sec)
TXBS: tx rate (bits/sec)
TRTL: throttle count
Interface
-------------------------------------------------------------------------
* FastEthernet0/0
To use other action commands supporting variable logic within applets, use the commands listed in the
Note
table below.
Table 164: Available action commands
Action Commands
action add
action append
action break
action comment
action context retrieve
action context save
action continue
action decrement
action divide
action else
action elseif
action end
action exit
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1756
IQD: pkts dropped from input queue
OQD: pkts dropped from output queue
RXPS: rx rate (pkts/sec)
TXPS: tx rate (pkts/sec)
IHQ
IQD
OHQ
OQD
RXBS RXPS
0 87283
0
0
Purpose
Adds the value of two variables when an EEM applet is triggered.
Appends the given value to the current value of a variable when an
EEM applet is triggered.
Causes an immediate exit from a loop of actions when an EEM applet
is triggered
Adds comments to an applet when an EEM applet is triggered
Retrieves variables identified by a given set of context name keys
when an EEM applet is triggered.
Saves information across multiple policy triggers when an EEM applet
is triggered.
Continues with a loop of actions when an EEM applet is triggered.
Decrements the value of a variable when an EEM applet is triggered.
Divides the dividend value by the given divisor value when an EEM
applet is triggered.
Specifies the beginning of else conditional action block in if / else
conditional action block when an EEM applet is triggered.
Identifies the beginning of the else conditional action block in the
else / if conditional action block when an EEM applet is triggered.
Specifies the identification of the end of an conditional action block
in the if / else and while conditional action block when an EEM applet
is triggered.
Specifies an immediate exit from the running applet configuration
when an EEM applet is triggered.
TXBS TXPS TRTL
0
0
0
0
0