PurposeCommand or Action
(seconds)
Hash default, Count 0
Overrides a system policy and enters applet
configuration mode.
event manager applet applet-name override
system-policy
Step 3
Example:
The applet-name can be any case-sensitive,
alphanumeric string up to 80 characters.
switch(config-applet)# event manager
applet
The system-policy must be one of the system
policies.
ethport override __ethpm_link_flap
switch(config-applet)#
Configures a descriptive string for the policy.
description policy-description
Step 4
Example:
The policy-description can be any
case-sensitive, alphanumeric string up to 80
switch(config-applet)# description
"Overrides link flap policy"
characters, but it must be enclosed in quotation
marks.
Configures the event statement for the policy.
event event-statement
Example:
Step 5
switch(config-applet)# event
policy-default count 2 time 1000
Configures an action statement for the policy.
For multiple action statements, repeat this step.
section number action-statement
Example:
Step 6
switch(config-applet)# action 1.0 syslog
priority warnings msg "Link is
flapping."
Displays information about the configured
policy.
(Optional) show event manager policy-state
name
Example:
Step 7
switch(config-applet)# show event
manager policy-state ethport
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 8
Configuring Syslog as an EEM Publisher
Configuring syslog as an EEM publisher allows you to monitor syslog messages from the switch.
The maximum number of searchable strings to monitor syslog messages is 10.
Note
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
131
Configuring Embedded Event Manager
Configuring Syslog as an EEM Publisher