Action Commands
action foreach
action gets
action if
action if goto
action increment
action info type interface-names
action info type snmp getid
action info type snmp inform
action info type snmp oid
action info type snmp trap
action info type snmp var
action multiply
action puts
action regexp
action set (EEM)
action string compare
action string equal
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Configuration Examples for Writing Embedded Event Manager Policies Using Tcl
Purpose
Specifies the iteration of an input string using the delimiter as a
tokenizing pattern, when an EEM applet is triggered.
Gets an input from the local TTY in a synchronous applet and store
the value in the given variable when an EEM applet is triggered.
Specifies the identification of the beginning of an if conditional block
when an EEM applet is triggered.
Instructs the applet to jump to a given label if the specified condition
is true when an EEM applet is triggered.
Increments the value of a variable when an EEM applet is triggered.
Specifies the action of obtaining interface names when an EEM applet
is triggered.
Retrieves the individual variables from a Simple Network Management
Protocol (SNMP) entity during the SNMP get operation.
Sends an SNMP inform requests when an EEM applet is triggered.
Specifies the type of SNMP get operation and the object to retrieve
during the SNMP set operation, when an EEM applet is triggered.
Sends SNMP trap requests when an EEM applet is triggered.
Creates a variable for an SNMP object identifier (OID) and its value
from an EEM applet
Specifies the action of multiplying the variable value with a specified
given integer value when an EEM applet is triggered.
Enables the action of printing data directly to the local tty when an
EEM applet is triggered.
Specifies the action of matching a regular expression pattern on an
input string when an EEM applet is triggered.
Specifies the action of setting the value of a variable when an EEM
applet is triggered.
Specifies the action of comparing two unequal strings when an EEM
applet is triggered.
Specifies the action of verifying whether or not two strings are equal
when an EEM applet is triggered
1757