S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-64
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
event oir
event oir
To specify an event criteria for an Embedded Event Manager (EEM) applet that is run on the basis of an
Online-Insertion-Removal (OIR), use the
event oir
command. To remove the OIR event criteria, use the
no
form of this command.
event oir
{
fan
[
anyoir
|
insert
|
remove
]
| module
[
anyoir
|
insert
|
remove
]
|
powersupply
[
anyoir
|
insert
|
remove
] |
tag
tag
}
no event oir
{
fan
[
anyoir
|
insert
|
remove
]
| module
[
anyoir
|
insert
|
remove
]
|
powersupply
[
anyoir
|
insert
|
remove
] |
tag
tag
}
Syntax Description
Defaults
None
Command Modes
Embedded event manager configuration mode
Command History
Usage Guidelines
This command does not require a license.
Examples
This example shows how to specify that an EEM applet runs when an OIR occurs:
switch#
configure terminal
switch(config)
event manager applet cli-event
switch(config-applet)#
event oir fan remove 1
switch(config-applet)#
fan
Specifies a fan OIR event.
anyoir
(Optional) Specifies any OIR event.
insert
(Optional) Specifies the OIR insert event.
remove
(Optional) Specifies the OIR remove event.
module
Specifies the module OIR event.
powersupply
Specifies a power supply OIR event.
tag
tag
Identifies this specific event when multiple events are included in the policy. The
tag name can be any alphanumeric string up to 29 characters.
Release
Modification
5.0(3)U3(1)
This command was introduced.