286
slot slot-number: Specifies an IRF member device by its member ID. (Centralized devices in IRF
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. (Distributed devices in IRF mode.)
subslot subslot-number: Specifies a subcard by its subslot number. If you do not specify a subcard,
EAA monitors all subcards for swapping events.
The following matrix shows the subslot subslot-number option and hardware compatibility:
MSR954 (JH296A/JH297A/JH298A/JH299A/JH373A) No
MSR958 (JH300A/JH301A) No
MSR1002-4/1003-8S No
MSR2003 No
MSR2004-24/2004-48 No
MSR3012/3024/3044/3064 No
MSR4060/4080 Yes
Usage guidelines
(Centralized devices in standalone mode.) After you configure the event, the monitor policy is
triggered when a subcard is inserted in or removed from the specified slot. If you do not specify the
insert or remove keyword, EAA monitors the subcard slot for both insert and remove actions.
(Centralized devices in IRF mode.) After you configure the event, the monitor policy is triggered
when the member device joins or leaves the IRF fabric, or when a subcard is inserted in or removed
from the specified subcard slot. If you do not specify the insert or remove keyword, EAA monitors
the member device for joining or leaving the IRF fabric and the subcard slot for subcard
hot-swapping.
(Distributed devices.) 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 insert and remove 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
# (Centralized devices in standalone mode.) Configure a CLI-defined policy to monitor slot 2 for
subcard swapping.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] event hotplug slot 2
# (Distributed devices in standalone mode.) Configure a CLI-defined policy to monitor the card in slot
2 for card swapping.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] event hotplug slot 2
# (Centralized devices in IRF mode.) Configure a CLI-defined policy to monitor the cards on IRF
member device 2 for card swapping.
<Sysname> system-view
[Sysname] rtm cli-policy test