Tcl command extension
event_reqinfo
is used in the policy to query the Embedded Event Manager for
information about the detected event.
Figure 111: Embedded Event Manager Core Event Detectors
Safe-Tcl
Safe-Tcl is a safety mechanism that allows untrusted Tcl scripts to run in an interpreter that was created in
the safe mode. The safe interpreter has a restricted set of commands that prevent accessing some system
resources and harming the host and other applications. For example, it does not allow commands to access
critical Cisco IOS file system directories.
Cisco-defined scripts run in full Tcl mode, but user-defined scripts run in Safe-Tcl mode. Safe-Tcl allows
Cisco to disable or customize individual Tcl commands. For more details about Tcl commands, go to
.
The following list of Tcl commands are restricted with a few exceptions. Restrictions are noted against each
command or command keyword:
•
cd
--Change directory is not allowed to one of the restricted Cisco directory names.
•
encoding
--The commands
encoding names
,
encoding convertfrom
, and
encoding convertto
are
permitted. The
encoding system
command with no arguments is permitted, but the
encoding system
command with the
?encoding?
keyword is not permitted.
•
exec
--Not permitted.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1767
Information About 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: ......