The igmp-snooping send-router-alert command configures the switch to send IGMP messages with the Router-Alert option in the IP header to a VLAN.
The undo igmp-snooping send-router-alert command configures the switch to send IGMP messages without the Router-Alert option in the IP header to a VLAN.
By default, the switch sends IGMP messages with the Router-Alert option in the IP header.
Usage Scenario
The Router-Alert option identifies the protocol messages that need to be processed by upper-layer routing protocols.
By default, the switch sends IGMP messages with the Router-Alert option. If some devices in the same VLAN as the switch can process only the IGMP messages without the Router-Alert option, use the undo igmp-snooping send-router-alert command to configure the switch to send IGMP messages without the Router-Alert option.
The switch adds the Router-Alert option only to locally originated IGMP messages and does not add this option to IGMP messages received from other devices.
Prerequisites
IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.
Precautions
If IGMP snooping is disabled in the specified VLAN, the configuration succeeds but does not take effect until IGMP snooping is enabled in the VLAN. To enable IGMP snooping in a VLAN, run the igmp-snooping enable (VLAN view) command.