The mld lastlistener-queryinterval command sets the interval at which the MLD querier sends Multicast Address Specific Query messages or Multicast Address and Source Specific Query messages after receiving Multicast Listener Done messages from a host.
The undo mld lastlistener-queryinterval command restores the default value.
By default, the interval for sending Multicast Address Specific Query messages or Multicast Address and Source Specific Query messages is 1 second.
Parameter | Description | Value |
---|---|---|
interval | Specifies the interval for sending Multicast Address Specific Query messages or Multicast Address and Source Specific Query messages. | The value is an integer that ranges from 1 to 5, 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 the MLD querier receives a Multicast Listener Done message of a multicast group, the querier sends Multicast Address Specific Query messages or Multicast Address and Source Specific Query messages continuously to check for other members in the multicast group. The mld lastlistener-queryinterval command sets the interval at which the querier sends Multicast Address Specific Query messages or Multicast Address and Source Specific Query messages. If the querier receives no Multicast Listener Report message for a specified period, the querier stops forwarding data to the multicast group. The period is calculated by multiplying interval by robust-value. To set robust-value, run the mld robust-count or robust-count (MLD view) command.
If the querier receives a Multicast Listener Report message from a host within the maximum response time, the querier maintains the membership of the multicast group. Otherwise, the querier considers that the last member has left the group and does not maintain the membership of the multicast group.
Prerequisites
Layer 3 IPv6 multicast has been enabled using the multicast ipv6 routing-enable command in the system view.
Precautions
The function of the mld lastlistener-queryinterval command is the same as that of the lastlistener-queryinterval 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 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.
# Set the interval for sending Multicast Address Specific Query messages or Multicast Address and Source Specific Query message to 3 seconds on VLANIF100.
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mld lastlistener-queryinterval 3
<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 lastlistener-queryinterval 3