The mld timer query command sets the interval at which an interface sends MLD General Query messages.
The undo mld timer query command restores the default interval at which an interface sends MLD General Query messages.
By default, an interface sends MLD General Query messages at an interval of 125s.
Parameter | Description | Value |
---|---|---|
interval | Specifies the interval at which an interface sends MLD 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, VLANIF interface view, loopback interface view
Usage Scenario
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 interval for sending General Query messages. The robustness variable can be set using the mld robust-count or robust-count (MLD view) command.
After the startup process is complete, the querier sends General Query messages at intervals to maintain the group memberships on the interface.
Prerequisites
Layer 3 IPv6 multicast has been enabled using the multicast ipv6 routing-enable command in the system view.
Precautions
# Set the interval at which VLANIF100 sends General Query messages to 200 seconds.
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mld timer query 200
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mld timer query 200