Clearing Pending Eem Policy Events Or Event Queues - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Command or Action
Example:
Device> enable
Step 2
show event manager policy pending
Example:
Device# show event manager policy pending
Step 3
event manager scheduler release {all | policy
policy-id | queue-type {applet | call-home | axp |
script}} class class-options [processor {rp_primary
| rp_standby}]
Example:
Device# event manager scheduler release
policy 2
Step 4
show event manager policy pending
Example:
Device# show event manager policy pending
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
1
2
2
3
Rotuer# event manager scheduler release policy 2
Rotuer# show event manager policy pending
no. job id status time of event
1
2
3

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.
1
pend
Thu Sep 7
held
Thu Sep 7
3
pend
Thu Sep 7
1
pend
Thu Sep 7
2
pend
Thu Sep 7
3
pend
Thu Sep 7
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Write EEM Policies Using the Cisco IOS CLI
Purpose
• Enter your password if prompted.
Displays the pending and held EEM policies.
Only the syntax applicable to this task is used in this
Note
example. For more details, see the Cisco IOS Network
Management Command Reference.
Resumes execution of specified EEM policies.
• The example shows how to resume the execution of the
policy with job ID of 2.
Displays the status of the EEM policy resumed in Step 3 as
pending, along with other pending policies.
Note
Only the syntax applicable to this task is used in this
example. For more details, see the Cisco IOS Network
Management Command Reference.
event type
02:54:04 2006
syslog
02:54:04 2006
syslog
02:54:04 2006
syslog
event type
02:54:04 2006
syslog
02:54:04 2006
syslog
02:54:04 2006
syslog
name
applet: one
applet: two
applet: three
name
applet: one
applet: two
applet: three
1715

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents