CLI Reference SEM Configuration Commands
event oir
This command is used to configure a monitor of hot-swap events in SEM configuration mode.
The no form of this command is used to delete an event with the specified name.
event tag event-name [correlate {andnot | and | or}] oir [type {plugin | remove}] [slot
{slot-num | slave}]
no event tag event-name
correlate { andnot |
and | or }
The relation between the current event and
the combination of the previous events in the
case of multiple events (optional). The
values are and, or, and andnot
The monitored plug-in and removal events
(optional)
The monitored slot No. (optional), the slave
means the slave management board.
The following example configures a monitor of board plug-in or
removal to or from the device. When a board is plugged in or removed,
a log is generated.
Ruijie(config)#intelligence manager applet Test_1
Ruijie(config-applet)#event tag monitor_oir oir