Cisco XR 1200 series Command Reference Manual page 96

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

event manager policy
These values can be used for the persist-time:
• The default persist-time is 3600 seconds (1 hour). Enter the event manager policy command without
• Enter zero to stop the username authentication from being cached. If the AAA server is down, the
• Enter infinite to stop the username from being marked as invalid. The username authentication held in
Type
If you enter the event manager policy command without specifying the type keyword, the EEM first tries
to locate the specified policy file in the system policy directory. If the EEM finds the file in the system policy
directory, it registers the policy as a system policy. If the EEM does not find the specified policy file in the
system policy directory, it looks in the user policy directory. If the EEM locates the specified file in the user
policy directory, it registers the policy file as a user policy. If the EEM finds policy files with the same name
in both the system policy directory and the user policy directory, the policy file in the system policy directory
takes precedence, and the policy file is registered as a system policy.
Task ID
Task ID
eem
Examples
This example shows how to register a user-defined policy named cron.tcl located in the user policy directory:
RP/0/0/CPU0:router(config)# event manager policy cron.tcl username joe
Related Commands
Command
event manager environment, on page 80
event manager refresh-time, on page 85
show event manager environment, on page 92
show event manager policy available, on page 100
show event manager policy registered, on page 102
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
84
the persist-time keyword to set the persist-time to 1 hour.
username is not authenticated and the script does not run.
the cache will not expire. If the AAA server is down, the username is authenticated from the cache.
Embedded Event Manager Commands
Operations
read, write
Description
Specifies a directory for storing user library files.
Specifies the time between the system attempts to
contact the AAA server and refresh the username
reauthentication.
Displays the name and value for all EEM environment
variables.
Displays EEM policies that are available to be
registered.
Displays the EEM policies that are already registered.
OL-24735-01

Advertisement

Table of Contents
loading

Table of Contents