The mld send-router-alert command configures an interface to send MLD messages containing the Router-Alert option in IPv6 headers.
The undo mld send-router-alert command disables an interface from sending MLD messages containing the Router-Alert option in IPv6 headers.
By default, the IPv6 headers of MLD messages sent by an interface contain the Router-Alert option.
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, VLANIF interface view, loopback interface view
Usage Scenario
By default, the switch sends MLD messages that contain the Router-Alert option in IPv6 headers. If the switch needs to communicate with a device that does not support the Router-Alert option, run the undo mld send-router-alert command to configure the switch to send MLD messages without the Router-Alert option. The mld send-router-alert command is usually used together with the mld require-router-alert command.
Prerequisites
Layer 3 IPv6 multicast has been enabled using the multicast ipv6 routing-enable command in the system view.
Precautions
The function of the mld send-router-alert command is the same as that of the send-router-alert (MLD view) command used in the MLD view. The configuration in the MLD view is globally valid, whereas the configuration in the interface view takes effect only for the specified interface. The configuration in the interface view takes precedence over the configuration in the MLD view. The configuration in the MLD view is used only when no configuration is performed in the interface view.
# Configure VLANIF100 to send MLD messages with the Router-Alert option in their IPv6 headers.
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mld send-router-alert
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mld send-router-alert