SUMMARY STEPS
1.
enable
2.
show event manager policy registered [description [policy-name] | detailed policy-filename [system
| user] | [event-type event-name] [system | user] [time-ordered | name-ordered]]
3.
configure terminal
4.
no event manager policy policy-filename
5.
exit
6.
Repeat Step 2 to ensure that the policy has been removed.
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
(Optional) Displays the EEM policies that are currently
registered.
show event manager policy registered [description
[policy-name] | detailed policy-filename [system | user] |
Step 2
[event-type event-name] [system | user] [time-ordered |
name-ordered]]
•
The optional systemand user keywords display the
registered system and user policies.
Example:
Device# show event manager policy registered
•
If no keywords are specified, EEM registered
policies for all event types are displayed in time
order.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 3
Removes the EEM policy from the configuration, causing
the policy to be unregistered.
no event manager policy policy-filename
Example:
Device(config)# no event manager policy IPSLAping1
Step 4
Exits global configuration mode and returns to privileged
EXEC mode.
exit
Example:
Device(config)# exit
Step 5
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1703
How to Write EEM Policies Using the Cisco IOS CLI