![Cisco ASR 9000 Serie Configuration Manuals Download Page 74](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679074.webp)
SUMMARY STEPS
1.
show event manager policy available
[
system
|
user
]
2.
configure
3.
event manager policy policy-name username username
[
persist-time
{
seconds
|
infinite
}] |
type
{
system
|
user
}
4.
Repeat Step 3 for every EEM policy to be registered.
5.
commit
6.
show event manager policy registered
DETAILED STEPS
Purpose
Command or Action
Displays all EEM policies that are available to be registered.
show event manager policy available
[
system
|
user
]
Step 1
•
Entering the optional
system
keyword displays all available system
policies.
Example:
RP/0/RSP0/CPU0:router# show event
manager policy available
•
Entering the optional
user
keyword displays all available user
policies.
configure
Step 2
Registers an EEM policy with the EEM.
event manager policy policy-name
username username
[
persist-time
{
seconds
|
infinite
}] |
type
{
system
|
user
}
Step 3
•
An EEM script is available to be scheduled by the EEM until the
no
form of this command is entered.
Example:
RP/0/RSP0/CPU0:router(config)# event
•
Enter the required
username
keyword and argument, where
username
is the username that runs the script.
manager policy cron.tcl username tom
type user
•
Enter the optional
persist-time
keyword to determine how long the
username authentication is held in memory:
◦
Enter the number of
seconds
for the
persist-time
keyword.
◦
Enter the
infinite
keyword to make the authentication
permanent (the authentication will not expire).
•
Entering the optional
type system
keywords registers a system policy
defined by Cisco.
•
Entering the optional
type user
keywords registers a user-defined
policy.
AAA authorization (such as aaa authorization eventmanager)
must be configured before EEM policies can be registered. See
the
Configuring AAA Services
module of
Cisco ASR 9000 Series
Aggregation Services Router System Security Configuration Guide
for more information about AAA authorization configuration.
Note
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
58
Configuring and Managing Embedded Event Manager Policies
Registering Embedded Event Manager Policies