Example
Description
Environment Variable
.*UPDOWN.*FastEthernet0/0.*
A regular expression pattern match
string that is used to compare
syslog messages to determine when
the policy runs.
_syslog_pattern
The table below describes the EEM environment variables that must be set before the tm_cli_cmd.tcl sample
policy is run.
Table 177: Environment Variables Used in the tm_cli_cmd.tcl Policy
Example
Description
Environment Variable
0-59/1 0-23/1 * * 0-7
A CRON specification that
determines when the policy will
run.
_cron_entry
show version
The CLI command to be executed
when the policy is run.
_show_cmd
The table below describes the EEM environment variables that must be set before the tm_crash_reporter.tcl
sample policy is run.
Table 178: Environment Variables Used in the tm_crash_reporter.tcl Policy
Example
Description
Environment Variable
1
A value that identifies whether
debug information for
tm_crash_reporter.tcl will be
enabled. This variable is optional
and need not be specified.
_crash_reporter_debug
http://www.example.com/fm/interface_tm.cgi
The URL location to which the
crash report is sent.
_crash_reporter_url
The table below describes the EEM environment variables that must be set before the tm_fsys_usage.tcl
sample policy is run.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1805
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: ......