398
Configuring parameters for MLD queries and responses
You can modify the MLD general query interval based on the actual condition of the network.
A multicast listening host starts a timer for each IPv6 multicast group that it has joined when it receives an
MLD query (general query or multicast-address-specific query). This timer is initialized to a random value,
in the range of 0 to the maximum response delay advertised in the MLD query message. When the timer
value decreases to 0, the host sends an MLD report to the IPv6 multicast group.
To speed up the response of hosts to MLD queries and avoid simultaneous timer expirations causing MLD
report traffic bursts, you must correctly set the maximum response delay.
•
The maximum response delay for MLD general queries is set by the
max-response-time
command.
•
The maximum response delay for MLD multicast-address-specific queries equals the MLD
last-listener query interval.
CAUTION:
Make sure the interval for sending MLD general queries is greater than the maximum response delay for
MLD general queries. Otherwise, IPv6 multicast members might be removed by mistake.
Configuring the global parameters for MLD queries and responses
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MLD-snooping view.
mld-snooping
N/A
3.
Set the maximum response
delay for MLD general
queries.
max-response-time
interval
10 seconds by default.
4.
Set the MLD last-listener query
interval.
last-listener-query-interval
interval
1 second by default.
Configuring the parameters for MLD queries and responses in a VLAN
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Set the interval for sending
MLD general queries.
mld-snooping query-interval
interval
125 seconds by default.
4.
Set the maximum response
delay for MLD general
queries.
mld-snooping max-response-time
interval
10 seconds by default.
5.
Set the MLD last-listener query
interval.
mld-snooping
last-listener-query-interval
interval
1 second by default.
Configuring the source IPv6 addresses for MLD queries
Changing the source IPv6 address of MLD queries might affect MLD querier election within the subnet.
To configure the source IP address for MLD queries: