Task
Configuring basic MLD snooping functions
This section describes how to configure basic MLD snooping functions.
Configuration prerequisites
Before you configure basic MLD snooping functions, complete the following tasks:
Enable IPv6 forwarding.
•
Configure the corresponding VLANs.
•
•
Determine the MLD snooping version.
Enabling MLD snooping
When you enable MLD snooping, follow these guidelines:
Enable MLD snooping globally before you enable it for a VLAN.
•
If you enable MLD snooping for a VLAN, do not enable MLD or IPv6 PIM on the corresponding
•
VLAN interface, and vice versa.
•
MLD snooping for a VLAN works only on the ports within that VLAN.
To enable MLD snooping:
Step
1.
Enter system view.
2.
Enable MLD snooping globally and
enter MLD-snooping view.
3.
Return to system view.
4.
Enter VLAN view.
5.
Enable MLD snooping for the VLAN.
Specifying the version of MLD snooping
Different versions of MLD snooping can process different versions of MLD messages:
MLDv1 snooping can process MLDv1 messages, but flood MLDv2 messages in the VLAN instead
•
of processing them.
MLDv2 snooping can process MLDv1 and MLDv2 messages.
•
If you change MLDv2 snooping to MLDv1 snooping, the system does the following:
Setting the maximum number of multicast groups that a port can
join
Enabling IPv6 multicast group replacement
Setting the 802.1p precedence for MLD messages
Enabling the MLD snooping host tracking function
Command
system-view
mld-snooping
quit
vlan vlan-id
mld-snooping enable
392
Remarks
Optional.
Optional.
Optional.
Optional.
Remarks
N/A
Disabled by default.
N/A
N/A
Disabled by default.