Configuring MLD queries and responses

You can tune the MLD general query interval based on the actual condition of the network.

Upon receiving an MLD query—general query or multicast-address-specific query, a host starts a timer for each IPv6 multicast group that it has joined. This timer is initialized to a random value in the range of 0 to the maximum response time—the host obtains the value of the maximum response time from the Max Response Time field in the MLD query that it received. When the timer value comes down to 0, the host sends an MLD report to the corresponding IPv6 multicast group.

An appropriate setting of the maximum response time for MLD queries enables hosts to respond to queries quickly and avoids bursts of MLD traffic on the network. Such burst can occur when a large number of hosts simultaneously send reports after the corresponding timers expire simultaneously.

Configuring MLD queries and responses globally

Follow these steps to configure MLD queries and responses globally:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter MLD snooping view

mld-snooping

Configure the maximum response time for MLD general queries

max-response-time interval

Optional

10 seconds by default

Configure the MLD last-member query interval

last-listener-query-interval interval

Optional

1 second by default

Configuring MLD queries and responses in a VLAN

Follow these steps to configure MLD queries and responses in a VLAN

To do...

Use the command...

Remarks

Enter system view

system-view

Enter VLAN view

vlan vlan-id

Configure MLD query interval

mld-snooping query-interval interval

Optional

125 seconds by default

Configure the maximum response time for MLD general queries

mld-snooping max-response-time interval

Optional

10 seconds by default

Configure the MLD last-member query interval

mld-snooping last-listener-query-interval interval

Optional

1 second by default


[CAUTION: ]

CAUTION:

Be sure to configure the MLD query interval greater than the maximum response time for MLD general queries. Otherwise, unexpected deletion of IPv6 multicast members might occur.