< Home

mld timer query

Function

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.

Format

mld timer query interval

undo mld timer query

Parameters

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.

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An MLD querier checks whether a local network segment has multicast group members by sending MLD General Query messages at an interval, known as the general query interval. You can set the general query interval based on 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 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

  • The querier is more sensitive when it sends General Query messages at a smaller interval. However, more bandwidth and switch resources are consumed in this case.
  • The function of the MLD timer query command is the same as that of the timer query (MLD view) command used in the MLD view. The configuration in the MLD view is globally valid, whereas the configuration in the interface view takes effect only for the specified interface. The system prefers the configuration in the interface view. The configuration in the MLD view is used only when no configuration is performed in the interface view.

Example

# 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
# Set the interval at which GE0/0/1 sends General Query messages to 200 seconds.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >