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.
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. |
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
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 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.
# 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
<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