The igmp-snooping max-response-time command sets the maximum response time for IGMP General Query messages in a VSI.
The undo igmp-snooping max-response-time command restores the default maximum response time for IGMP General Query messages in a VSI.
By default, the maximum response time for IGMP General messages in a VSI is 10 seconds.
Parameter |
Description |
Value |
---|---|---|
max-response-time |
Specifies the maximum response time for IGMP General Query messages. |
The value is an integer that ranges from 1 to 25, in seconds. The default value is 10. |
Usage Scenario
The maximum response time for General Query messages is used to calculate the aging time of group member interfaces. When a member port receives a Report message from a downstream host, the switch starts the aging timer for the interface. The aging time is calculated using the following formula: Aging time = Query count x General query interval + Maximum response time for General Query messages. This command sets the maximum response time in the formula. The general query interval is set by the igmp-snooping robust-count command, and the general query interval is set by the igmp-snooping query-interval command.
If the member port receives Report messages from downstream hosts within the aging time, the switch retains the member port in the outbound interface list of the corresponding Layer 2 multicast forwarding entry. If the member port does not receive any Report messages within the aging time, the switch considers that no group member is connected to the interface, and therefore deletes the interface from the Layer 2 multicast forwarding entry.
Prerequisites
IGMP snooping has been enabled for VPLS using the igmp-snooping over-vpls enable command in the system view.
Precautions
The configuration takes effect only when IGMP snooping is enabled in the VSI using the igmp-snooping enable (VSI view) command.
# Set the maximum response time for IGMP General Query messages in VSI company1 to 20 seconds.
<HUAWEI> system-view [HUAWEI] igmp-snooping enable [HUAWEI] igmp-snooping over-vpls enable [HUAWEI] vsi company1 [HUAWEI-vsi-company1] igmp-snooping enable [HUAWEI-vsi-company1] igmp-snooping max-response-time 20