< Home

igmp-snooping query-interval

Function

The igmp-snooping query-interval command sets the general query interval in a VSI, that is, the interval at which IGMP General Query messages are sent in the VSI.

The undo igmp-snooping query-interval command restores the default general query interval in a VSI.

By default, Group-Specific Query messages are sent in a VSI at an interval of 125 seconds.

Format

igmp-snooping query-interval query-interval

undo igmp-snooping query-interval

Parameters

Parameter

Description

Value

query-interval

Specifies the interval at which IGMP General Query messages are sent.

The value is an integer that ranges from 1 to 65535, in seconds. The default value is 125.

Views

VSI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The general query interval is used to calculate the aging time of group member ports. When a member port receives an IGMP Report message from a host, the switch starts the aging timer for the interface. The aging time is calculated using the following formula: Aging time = IGMP robustness variable x General query interval + Maximum response time for General Query messages. The igmp-snooping query-interval command sets the general query interval. The general query count is set by the igmp-snooping robust-count command, and the maximum response time for General Query messages is set by the igmp-snooping max-response-time 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.

Example

# Set the general query interval in VSI company1 to 100 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 query-interval 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >