Configuring the MLD snooping querier
This section describes how to configure the MLD snooping querier.
Configuration prerequisites
Before you configure the MLD snooping querier, complete the following tasks:
Enable MLD snooping for the VLAN.
•
Determine the interval for sending MLD general queries.
•
•
Determine the MLD last listener query interval.
Determine the maximum response time for MLD general queries.
•
Enabling MLD snooping querier
In an IPv6 multicast network that runs MLD, a multicast router or a Layer 3 multicast device sends MLD
general queries. This allows all Layer 3 multicast devices to establish and maintain multicast forwarding
entries for forwarding multicast traffic correctly at the network layer. This router or Layer 3 device is called
the "MLD querier."
By default, a Layer 2 multicast device does not support MLD and cannot send MLD queries. To ensure
IPv6 multicast data forwarding at the data link layer on a network without Layer 3 multicast devices, you
can configure the Layer 2 device as an MLD snooping querier. In this way, the Layer 2 device sends MLD
queries, and establishes and maintains multicast forwarding entries.
Do not configure an MLD snooping querier in an IPv6 multicast network that runs MLD. Although an MLD
snooping querier does not participate in MLD querier elections, it might affect MLD querier elections if it
sends MLD general queries with a low source IPv6 address.
To enable MLD snooping querier in a VLAN:
Step
1.
Enter system view.
2.
Enter VLAN view.
3.
Enable the MLD snooping
querier.
Configuring parameters for MLD queries and responses
CAUTION:
Make sure the interval for sending MLD general queries is larger than the maximum response time for MLD
general queries. Otherwise, multicast group members might be deleted by mistake.
You can modify the MLD general query interval based on the actual network conditions.
When a multicast listening host receives an MLD query (general query or multicast-address-specific
query), it 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 advertised in the MLD query message.
When the timer value decreases to 0, the host sends an MLD report to the IPv6 multicast group.
Command
system-view
vlan vlan-id
mld-snooping querier
228
Remarks
N/A
N/A
By default, no MLD snooping
querier is configured.