Event Hotplug - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

event hotplug

Use event hotplug to configure a hot-swapping event.
Use undo event to delete the event in a CLI-defined monitor policy.
Syntax
In standalone mode:
event hotplug [ insert | remove ] slot slot-number [ subslot subslot-number ]
undo event
In IRF mode:
event hotplug [ insert | remove ] chassis chassis-number slot slot-number [ subslot
subslot-number ]
undo event
Default
No hotplug event is configured.
Views
CLI-defined policy view
Predefined user roles
network-admin
mdc-admin
Parameters
insert: Specifies the card insert event.
remove: Specifies the card remove event.
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The
chassis-number argument represents the member ID of the IRF member device. The slot-number
argument represents the slot number of the card. (In IRF mode.)
subslot subslot-number: Specifies a subcard by its subslot number. If you do not specify a subcard,
EAA monitors the slot for hot swapping events. This option is not supported by the device.
Usage guidelines
After you configure the event, the monitor policy is triggered when a card is inserted in or removed
from the specified slot. If you do not specify the insert or remove keyword, EAA monitors the card
slot for both removal and insert actions.
You can configure only one event entry for a monitor policy. If the monitor policy already contains an
event entry, the new event entry replaces the old event entry.
Examples
# (In standalone mode.) Configure a CLI-defined policy to monitor the specified slot for card
swapping.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] event hotplug slot 1
249

Advertisement

Table of Contents
loading

Table of Contents