igmp-snooping query-interval (VSI E-Tree view)

Function

The igmp-snooping query-interval command sets the interval at which a querier sends general query messages.

The undo igmp-snooping query-interval command restores the default setting.

By default, a querier sends general query messages at an interval of 60s.

Format

igmp-snooping query-interval query-interval

undo igmp-snooping query-interval

Parameters

Parameter Description Value
query-interval

Specifies the interval at which a querier sends general query messages.

The value ranges from 1 to 65535, 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

The igmp-snooping query-interval command has the following functions:

  • Sets the interval at which a querier sends general query messages.

    If the querier function is enabled, the igmp-snooping query-interval command can be used to set the interval at which a querier sends general query messages. This enables a device to periodically send general query messages in order to maintain group memberships. The shorter the interval is, the more frequently general query messages are sent and the more bandwidth and device resources are consumed.

    Ensure that the interval at which IGMP general query messages are sent is greater than the maximum response time of IGMP general query messages; otherwise, multicast group members may be deleted mistakenly.
  • Changes the aging time of member ports.

    After receiving a Report message from a downstream device, a device sets the aging time of the corresponding member port based on the following formula: Aging time of a member port = Number of times group-specific query messages are sent x Interval at which general query messages are sent + Maximum time for a downstream host to respond to a querier. The default aging time is 130 seconds. The interval at which IGMP general query messages are sent in the formula is set using the igmp-snooping query-interval command. The number of times group-specific group query messages are sent is set using the igmp-snooping robust-count command. The maximum time for a downstream host to respond to a querier is set using the igmp-snooping max-response-time command.

Prerequisites

IGMP snooping has been configured using the igmp-snooping enable command.

Configuration Impact

If the command is run in the same view several times, the latest configuration overrides the previous one.

Note:

The default interval for the querier to send General Query messages is 60 seconds, but the default interval is 125 seconds in related standards. Currently, the default value used by some vendors is 125 seconds. To ensure that a Huawei device can interwork with devices of these vendors, you need to modify the configuration at either end to keep consistency of the interval at which the querier sends General Query messages.

Precautions

When the igmp-snooping query-interval command is used to set the aging time of member ports, the settings of parameters in this command must be consistent on a Layer 2 device and its upstream Layer 3 device; otherwise, multicast data transmission between Layer 2 and Layer 3 networks will be interrupted.

Example

# Set the interval at which a querier sends general query messages to 100s in VSI vsi1.
<HUAWEI> system-view
[~HUAWEI] igmp-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] igmp-snooping query-interval 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >