Cisco Nexus 7000 Series Configuration Manual page 278

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

Advertisement

Defining a User Policy Using the CLI
Command
event module [tag tag] status {online | offline | any} module
{all | module-num}
Example:
switch(config-applet)# event module status
offline module all
event module-failure [tag tag] type failure-type module {slot
| all} count repeats [time seconds]
Example:
switch(config-applet)# event module-failure
type lc-failed module 3 count 1
event none
Example:
switch(config-applet)# event none
event oir [tag tag] {fan | module | powersupply} {anyoir |
insert | remove} [number]
Example:
switch(config-applet)# event oir fan remove
4
event policy-default count repeats [time seconds]
Example:
switch(config-applet)# event policy-default
count 3
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
250
Configuring the Embedded Event Manager
Purpose
Triggers an event if the specified module
enters the selected status.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
Triggers an event if a module experiences
the failure type configured.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
The repeats range is from 0 to
4294967295. The seconds range is from 0
to 4294967295, where 0 indicates no time
limit.
Manually runs the policy event without
any events specified.
To use this command, you must
Note
first enable the feature evmed
command to enable generic event
detectors.
Triggers an event if the configured device
element (fan, module, or power supply) is
inserted or removed from the device.
The tag tag keyword-argument pair
identifies this specific event when multiple
events are included in the policy.
You can optionally configure a specific
fan, module, or power supply number. The
number range is as follows:
• Fan number—Module dependent.
• Module number—Device dependent.
• Power supply number—The range is
from 1
to 3.
Uses the event configured in the system
policy. Use this option for overriding
policies.
The repeats range is from 1 to 65000. The
seconds range is from 0 to 4294967295,
where 0 indicates no time limit.

Advertisement

Table of Contents
loading

Table of Contents