Cisco Nexus 7000 Series Configuration Manual page 291

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring the Embedded Event Manager
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Command or Action
show event manager policy-state
system-policy
Example:
switch(config-applet)# show event
manager policy-state __ethpm_link_flap
Policy __ethpm_link_flap
Cfg count : 5
Cfg time interval : 10.000000 (seconds)
Hash default, Count 0
event manager applet applet-name override
system-policy
Example:
switch(config)# event manager applet
ethport override __ethpm_link_flap
switch(config-applet)#
description policy-description
Example:
description "Overrides link flap
policy."
event event-statement
Example:
switch(config-applet)# event
policy-default count 2 time 1000
action number action-statement
Example:
switch(config-applet)# action 1.0 syslog
priority warnings msg "Link is
flapping."
show event manager policy-state name
Example:
switch(config-applet)# show event
manager policy-state ethport
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Overriding a Policy
Purpose
(Optional)
Displays information about the system policy that
you want to override, including thresholds. Use
the show event manager system-policy command
to find the system policy names. For information
about system policies, see
Embedded Event
Manager System Events and Configuration
Examples, on page
409.
Overrides a system policy and enters applet
configuration mode. The applet-name can be any
case-sensitive alphanumeric string up to 29
characters. The system-policy must be one of the
existing system policies.
(Optional)
Configures a descriptive string for the policy. The
string can be any alphanumeric string up to 80
characters. Enclose the string in quotation marks.
Configures the event statement for the policy.
Configures an action statement for the policy.
Repeat this step for multiple action statements.
(Optional)
Displays information about the configured policy.
(Optional)
Copies the running configuration to the startup
configuration.
263

Advertisement

Table of Contents
loading

Table of Contents