event manager directory user
To specify a directory name for storing user library files or user-defined Embedded Event Manager (EEM)
policies, use the
event manager directory user
command in global configuration mode. To disable the use
of a directory for storing user library files or user-defined EEM policies, use the
no
form of this command.
event manager directory user
{
library path
|
policy path
}
no event manager directory user
{
library path
|
policy path
}
Syntax Description
Specifies a directory name for storing user library files.
library
Absolute pathname to the user directory on the flash device.
path
Specifies a directory name for storing user-defined EEM policies.
policy
Command Default
No directory name is specified for storing user library files or user-defined EEM policies.
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
The
fault manager userlibdirectory
and
fault manager
userpolicydirectory
commands were replaced with the
event manager
directory user
command.
Release 3.6.0
Task ID was changed from fault-mgr to eem.
Release 3.7.0
Usage Guidelines
Cisco IOS XR software supports only the policy files that are created by using the Tool Command Language
(TCL) scripting language. The TCL software is provided in the Cisco IOS XR software image when the EEM
is installed on the network device. Files with the .tcl extension can be EEM policies, TCL library files, or a
special TCL library index file named tclindex. The tclindex file contains a list of user function names and
library files that contain the user functions (procedures). The EEM searches the user library directory when
the TCL starts to process the tclindex file.
User Library
A user library directory is needed to store user library files associated with authoring EEM policies. If you
do not plan to write EEM policies, you do not have to create a user library directory.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
78
OL-24735-01
Embedded Event Manager Commands
event manager directory user