mld-snooping max-response-time (VSI view)

Function

The mld-snooping max-response-time command sets the maximum time for a querier to wait for responses from downstream hosts.

The undo mld-snooping max-response-time restores the default value.

By default, the maximum time for a querier to wait for responses from downstream hosts is 10s.

Format

mld-snooping max-response-time QueryRspIntValue

undo mld-snooping max-response-time

Parameters

Parameter Description Value
QueryRspIntValue

Sets the maximum time for a querier to wait for responses from downstream hosts.

The value is an integer ranging from 1 to 3741, in seconds.

Views

VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

This command has two functions:

  • Sets the maximum response time to control the deadline for hosts to send IGMP Report messages. If the querier function is enabled and you want hosts to rapidly respond to the querier, you can set the maximum response time to a smaller value. To prevent traffic congestion caused by a large number of hosts sending response packets at the same time, you can set the maximum response time to a larger value. Ensure that the interval for the querier to send General Query messages is greater than the maximum response time of MLD Query messages. Otherwise, the device may incorrectly delete member entries.
  • Adjusts the aging time of a member. When the device receives a Report message from a downstream host, it sets the aging time of the member to the following value: Aging time of a member = Number of times group-specific query messages are sent × Interval at which General Query messages are sent + Maximum time for a downstream host to respond to a querierNumber of times that the sends group-specific Query messages x Interval for sending General Query messages + Maximum response time for MLD Query messages. By default, the aging time is 130 seconds. This command is used to set the maximum response time in the preceding formula. You can run the mld-snooping robust-count command to set the number of times group-specific query messages are sent. The interval at which General Query messages are sent can be set using the mld-snooping query-interval command.

Prerequisites

MLD snooping has been enabled using the mld-snooping enable command.

Configuration Impact

If the mld-snooping max-response-time command is run more than once in the same view, the latest configuration overrides the previous one.

Precautions

To use the mld-snooping max-response-time configuration as a factor of adjusting the member interface aging time, set the same maximum wait time as that specified on its upstream device. Otherwise, multicast data transmission will be interrupted between the Layer 2 and Layer 3 devices.

The maximum time for a downstream host to respond to a querier fails to be set in a VLAN in any of the following situations:

  • The VLAN is bound to a VSI.

    The

    mld-snooping max-response-time command fails to be run in a VSI view in the following condition:
  • The VSI is bound to a BD.

Example

# Set the maximum time for a querier in VLAN 100 to wait for responses from downstream hosts to 20s.
<HUAWEI> system-view
[~HUAWEI] mld-snooping enable
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 200
[*HUAWEI-vsi-vsi1-ldp] quit
[*HUAWEI-vsi-vsi1] mld-snooping max-response-time 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >