< Home

igmp timer query

Function

The igmp timer query command sets the interval at which an interface sends IGMP General Query messages.

The undo igmp timer query command restores the default interval at which an interface sends IGMP General Query messages.

By default, an interface sends IGMP General Query messages at an interval of 60s.

Format

igmp timer query interval

undo igmp timer query

Parameters

Parameter Description Value
interval Specifies the interval at which an interface sends IGMP General Query messages. The value is an integer that ranges from 1 to 18000, in seconds.

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An IGMP querier checks whether a local network segment has group members by sending IGMP General Query messages at an interval, known as the general query interval. You can set the general query interval based on the needs of your network. The general query interval affects the following processes:

  • When a querier starts, it sends General Query messages a certain number of times specified by the robustness variable to query the multicast groups that have members on the shared network segment. The message sending interval during this process is 1/4 of the general query interval. The robustness variable can be set using the igmp robust-count command or the robust-count command.

  • After the startup process is complete, the querier sends General Query messages at intervals to maintain the group memberships on the interface.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

  • The querier is more sensitive when it sends General Query messages at a shorter interval, but more bandwidth and resources are consumed.
  • The function of the igmp timer query command is the same as that of the timer query command used in the IGMP view. The configuration in the IGMP view takes effect for all interfaces, whereas the configuration in the interface view takes effect only for the specified interface. The configuration in the interface view takes precedence over the configuration in the IGMP view. The configuration in the IGMP view is used only when no configuration is performed in the interface view.

The default interval value in this command is 60 seconds, which is different than the default value 125 seconds defined by the RFC standard. A Huawei querier and a non-Huawei querier must send IGMP general query messages at the same interval.

Example

# Set the interval at which VLANIF100 sends General Query messages to 50 seconds.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] igmp timer query 50
# Set the interval at which GE0/0/1 sends General Query messages to 50 seconds.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] igmp timer query 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >