Purpose
Action Commands
Specifies the action of returning the index on the first occurrence of
string1 within string2 when an EEM applet is triggered.
action string first
Specifies the action of returning the characters specified at a given
index value when an EEM applet is triggered.
action string index
Specifies the action of returning the index on the last occurrence of
string1 within string 2 when an EEM applet is triggered.
action string last
Specifies the action of returning the number of characters in a string
when the EEM applet is triggered.
action string length
Specifies the action of returning 1 to the $_string_result, if the string
matches the pattern when an EEM applet is triggered.
action string match
Specifies the action of storing a range of characters in a string when
an EEM applet is triggered.
action string range
Specifies the action of storing a new string by replacing range of
characters in the specified string when an EEM applet is triggered.
action string replace
Specifies the action of storing specific range of characters of a string
in lowercase when an EEM applet is triggered.
action string tolower
Specifies the action of storing specific range of characters of a string
in uppercase when an EEM applet is triggered.
action string toupper
Specifies the action to trim a string when an EEM applet is triggered.
action string trim
Specifies the action to trim the characters of one string from the left
end of another string when an EEM applet is triggered.
action string trimleft
Specifies the action to trim the characters one string from the right
end of another string when an EEM applet is triggered.
action string trimright
Subtracts the value of a variable from another value when an EEM
applet is triggered.
action subtract
Specifies the action of identifying the beginning of a loop of
conditional block when an EEM applet is triggered.
action while
Configuring Event SNMP-Object Examples
The following example shows the SET operation and the value to set is in $_snmp_value and it is managed
by the script. The example below saves the oid and its value as contexts to be retrieved later.
event manager applet snmp-object1
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1758
Configuration Examples for Writing Embedded Event Manager Policies Using Tcl
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......