SUMMARY STEPS
1.
enable
2.
show event manager policy pending
3.
event manager scheduler clear
{
all
|
policy job-id
|
queue-type
{
applet
|
call-home
|
axp
|
script
}
class
class-options
} [
processor
{
rp_primary
|
rp_standby
}]
4.
show event manager policy pending
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Displays the pending 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
Clears EEM policies that are executing or pending execution.
event manager scheduler clear
{
all
|
policy job-id
|
queue-type
{
applet
|
call-home
|
axp
|
script
}
class
Step 3
•
In this example, the EEM policy with a job ID of 2 is cleared
from the pending queue.
class-options
} [
processor
{
rp_primary
|
rp_standby
}]
Example:
Device# event manager scheduler clear policy
2
Displays all the pending EEM policies except the policy cleared
in Step 3.
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 clear the EEM policy with a job ID of 2 that was pending execution.
The
show
commands are used to display the policies that are pending before and after the policy is cleared.
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
pend
Thu Sep 7
02:54:04 2006
syslog
applet: two
3
3
pend
Thu Sep 7
02:54:04 2006
syslog
applet: three
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1716
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: ......