PurposeCommand or Action
switch# configure terminal
switch(config)#
Registers and activates an EEM script policy.
event manager policy policy-script
Step 2
Example:
The policy-script can be any case-sensitive,
alphanumeric string up to 29 characters.
switch(config)# event manager policy
moduleScript
Registers and activates an EEM script policy.(Optional) event manager policy internal
name
Step 3
The policy-script can be any case-sensitive
alphanumeric string up to 29 characters.
Example:
switch(config)# event manager policy
internal moduleScript
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
(Optional) copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 4
What to do next
Complete any of the following, depending on your system requirements:
• Configure memory thresholds.
• Configure the syslog as an EEM publisher.
• Verify your EEM configuration.
Overriding a System Policy
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Displays information about the system policy
that you want to override, including thresholds.
(Optional) show event manager policy-state
system-policy
Step 2
Use the show event manager system-policy
command to find the system policy names.
Example:
switch(config-applet)# show event
manager policy-state __ethpm_link_flap
Policy __ethpm_link_flap
Cfg count : 5
Cfg time interval : 10.000000
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
130
Configuring Embedded Event Manager
Overriding a System Policy