Purpose
Command or Action
Example:
Device> enable
•
Enter your password if prompted.
Displays the pending and held EEM policies.
show event manager policy pending
Step 2
Example:
Device# show event manager policy pending
Only the syntax applicable to this task is used in this
example. For more details, see the Cisco IOS Network
Management Command Reference.
Note
Resumes execution of specified EEM policies.
event manager scheduler release
{
all
|
policy
policy-id
|
queue-type
{
applet
|
call-home
|
axp
|
Step 3
•
The example shows how to resume the execution of the
policy with job ID of 2.
script
}}
class class-options
[
processor
{
rp_primary
|
rp_standby
}]
Example:
Device# event manager scheduler release
policy 2
Displays the status of the EEM policy resumed in Step 3 as
pending, along with other pending policies.
show event manager policy pending
Example:
Device# show event manager policy pending
Step 4
Only the syntax applicable to this task is used in this
example. For more details, see the Cisco IOS Network
Management Command Reference.
Note
Examples
The following example shows how to view all pending EEM policies, to specify the policy that will resume
execution, and to see that the policy is now back in a pending status.
Device#
show event manager policy pending
no. job id status time of event
event type
name
1
1
pend
Thu Sep 7
02:54:04 2006
syslog
applet: one
2
2
held
Thu Sep 7
02:54:04 2006
syslog
applet: two
3
3
pend
Thu Sep 7
02:54:04 2006
syslog
applet: three
Rotuer#
event manager scheduler release policy 2
Rotuer#
show event manager policy pending
no. job id status time of event
event type
name
1
1
pend
Thu Sep 7
02:54:04 2006
syslog
applet: one
2
2
pend
Thu Sep 7
02:54:04 2006
syslog
applet: two
3
3
pend
Thu Sep 7
02:54:04 2006
syslog
applet: three
Clearing Pending EEM Policy Events or Event Queues
Perform this task to clear EEM policies that are executing or pending execution. In this task, the EEM policy
with a job ID of 2 is cleared from the pending queue. The
show event manager policy pending
command
is used to display the policies that are pending before and after the policy is cleared.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1715
How to Write EEM Policies Using the Cisco IOS CLI
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: ......