< Home

timer query (MLD view)

Function

The timer query command sets a global interval for sending MLD General Query messages.

The undo timer query command restores the default interval for sending MLD General Query messages.

By default, the interval for sending MLD General Query messages is 125 seconds.

Format

timer query interval

undo timer query

Parameters

Parameter Description Value
interval Interval for sending MLD General Query messages The value is an integer that ranges from 1 to 18000, in seconds.

Views

MLD 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 this command is the same as that of the mld timer query command used in the interface 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 configuration in the interface view takes precedence over the configuration in the MLD view. The configuration in the MLD view is used only when no configuration is performed in the interface view.

Example

# In the MLD view, set the interval for sending MLD General Query messages to 200 seconds.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] mld
[HUAWEI-mld] timer query 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >