igmp-snooping lastmember-queryinterval (Bridge domain view)

Function

The igmp-snooping lastmember-queryinterval command sets the interval at which a querier sends group-specific query messages or source/group-specific query messages.

The undo igmp-snooping lastmember-queryinterval command restores the default setting.

By default, a querier sends group-specific query messages or source/group-specific query messages at an interval of 1s.

Format

igmp-snooping lastmember-queryinterval lastmember-queryinterval

undo igmp-snooping lastmember-queryinterval

Parameters

Parameter Description Value
lastmember-queryinterval

Specifies the interval at which a querier sends group-specific query messages or source/group-specific query messages.

The value ranges from 1 to 5, in seconds.

Views

Bridge domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

The igmp-snooping lastmember-queryinterval command has the following functions:

  • Sets the interval at which a querier sends group-specific query messages or source/group-specific query messages. If the querier function is enabled, this command is used to set the interval at which the querier sends group-specific messages or source/group-specific query messages. When memberships change frequently on the network, this command can be used to reduce the interval at which the querier sends group-specific query messages or source/group-specific query messages. This ensures that IGMP group-specific query messages or source/group-specific query messages can be rapidly responded to.
  • Changes the aging time of member ports. After receiving an IGMP Leave message from a host, a device sets the aging time of the corresponding member port based on the following formula: Aging time of a member port = Interval at which group-specific query messages or source/group-specific query messages are sent x Number of times group-specific query messages or source/group-specific query messages are sent. By default, the aging time is re-set to 2s. The interval at which group-specific query messages or source/group-specific query messages are sent in the formula is set using the igmp-snooping lastmember-queryinterval command. The number of times group-specific group query messages or source/group-specific query messages are sent is set using the igmp-snooping robust-count command. If the querier receives a Report message for the multicast group from another host within the robust-value x lastmember-queryinterval period, it continues to maintain the memberships for the group. Otherwise, the querier considers that there is no member of the group on the network segment, and does not maintain the memberships for the group.

Prerequisites

IGMP snooping has been configured globally and in a BD.

Configuration Impact

If the igmp-snooping lastmember-queryinterval command is run in the same BD view several times, the latest configuration overrides the previous one.

Precautions

When the igmp-snooping lastmember-queryinterval 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 group-specific query messages or source/group-specific query messages to 2s in BD 2.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] bridge-domain 2
[*HUAWEI-bd2] igmp-snooping lastmember-queryinterval 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >