Enabling IGMP snooping querier election
To avoid traffic interruption caused by the failure of a single querier in a VLAN or VSI, configure multiple queriers in the VLAN or VSI and enable querier election. When the elected querier fails, a new querier election starts to ensure multicast forwarding. IGMP snooping querier election has the same mechanism as IGMP querier election. For more information about IGMP querier election, see "Configuring IGMP".
Configuration prerequisites
Before you enable IGMP snooping querier election for a VLAN or VSI, complete the following tasks:
Enable the IGMP snooping querier for the VLAN or VSI.
Configure the source IP address for IGMP general queries as an IP address different from 0.0.0.0 and the local querier IP address. An IGMP snooping querier performs querier election only if the source IP address of a received IGMP general query is not 0.0.0.0 or its own IP address. To configure the source IP address for IGMP general queries, use the igmp-snooping general-query source-ip command.
Make sure the candidate IGMP snooping queriers run the same IGMP snooping version. To specify the IGMP snooping version, use the igmp-snooping version command.
Configuration procedure
To enable IGMP snooping querier election:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter VLAN or VSI view. |
| N/A |
3. Enable the IGMP snooping querier. | igmp-snooping querier | By default, the IGMP snooping querier is disabled. |
4. Enable IGMP snooping querier election. | igmp-snooping querier-election | By default, IGMP snooping querier election is disabled. |