![Cisco ASR 9000 Serie Скачать руководство пользователя страница 99](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679099.webp)
This table describes the EEM environment variables that must be set before the sl_intf_down.tcl sample policy
is run.
Table 13: Environment Variables Used in the sl_intf_down.tcl Policy
Example
Description
Environment Variable
interface gigabitEthernet1/0/5/0
First configuration command that
is run.
_config_cmd1
no shutdown
Second configuration command
that is run. This variable is optional
and need not be specified.
_config_cmd2
.*UPDOWN.*FastEthernet0/0.*
Regular expression pattern match
string that is used to compare
syslog messages to determine when
the policy runs.
_syslog_pattern
This table describes the EEM environment variables that must be set before the tm_cli_cmd.tcl sample policy
is run.
Table 14: Environment Variables Used in the tm_cli_cmd.tcl Policy
Example
Description
Environment Variable
0-59/1 0-23/1 * * 0-7
CRON specification that
determines when the policy will
run.
_cron_entry
show version
CLI command to be executed when
the policy is run.
_show_cmd
This table describes the EEM environment variables that must be set before the tm_crash_reporter.tcl sample
policy is run.
Table 15: Environment Variables Used in the tm_crash_reporter.tcl Policy
Example
Description
Environment Variable
1
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
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
83
Configuring and Managing Embedded Event Manager Policies
EEM Event Detector Demo: Example