The querier function enables a device to send Query messages for its upstream device and respond to Join/Leave messages sent from downstream devices.
A Layer 3 multicast device on a multicast network running IGMP acts as an IGMP querier, sending IGMP Query messages to create and maintain multicast forwarding entries for normal multicast data forwarding.
In this case, the IGMP querier function of the upstream device cannot be implemented on the network.
To solve these issues, configure the querier function on the Layer 2 device so that it can create and maintain multicast forwarding entries at the data link layer, ensuring normal multicast data forwarding. The querier parameters can be set as required.
The system view is displayed.
IGMP snooping is enabled for the VLAN or VSI.
The querier function is enabled.
By default, the querier function is disabled.
One of these devices is elected as the querier to send Query messages to user hosts.
By default, no device is enabled with the querier function.
If the querier function is enabled on multiple devices in the VSI or VLAN, one of these devices must be elected as the querier to send Query messages to user hosts.
An IGMPv1 host does not send a Leave message when leaving a multicast group. Therefore, the igmp-snooping lastmember-queryinterval command is valid only when IGMPv2 messages can be processed in the VLAN or VSI.
Run igmp-snooping query-interval query-interval
The interval at which a querier sends general query messages is set.
By default, a querier sends general query messages at an interval of 60s.
The default interval value in this command is 60s, which is different than the default value (125s) defined by the relevant standard. A Huawei querier and a non-Huawei querier must send IGMP general query messages at the same interval.
Run igmp-snooping robust-count robust-count
The number of times a group-specific query message is sent is set.
By default, a group-specific query message is sent twice.
Run igmp-snooping max-response-time max-response-time
The maximum time for a downstream host to respond to a querier is set.
By default, the maximum time for a downstream host to respond to a querier is 10s.
The maximum response time must be shorter than the interval at which general query messages are sent.
Run igmp-snooping lastmember-queryinterval lastmember-queryinterval
The interval at which a querier sends group-specific query messages or source/group-specific query messages is set.
By default, a querier sends group-specific query messages or source/group-specific query messages every 1s.
The configuration is committed.