The igmp send-router-alert command configures an interface to send IGMP messages containing the Router-Alert option in IP headers.
The undo igmp send-router-alert command disables an interface from sending IGMP messages containing the Router-Alert option in IP headers.
By default, the IP headers of IGMP 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, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view
Usage Scenario
By default, the switch sends IGMP messages that contain the Router-Alert option in IP headers. If the switch needs to communicate with a device that does not support the Router-Alert option, run the undo igmp send-router-alert command to configure the switch to send IGMP messages without the Router-Alert option. The igmp send-router-alert command is usually used together with the igmp require-router-alert command.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
The igmp send-router-alert command has the same function as the send-router-alert command used in the IGMP view. The configuration in the IGMP view takes effect for all interfaces, 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 IGMP view. The configuration in the IGMP view is used only when no configuration is performed in the interface view.
# Configure VLANIF100 to send IGMP messages without the Router-Alert option.
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] undo igmp send-router-alert
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] undo igmp send-router-alert