392
Task
Remarks
Setting the maximum number of multicast groups that a port can
join
Optional.
Enabling IPv6 multicast group replacement
Optional.
Setting the 802.1p precedence for MLD messages
Optional.
Enabling the MLD snooping host tracking function
Optional.
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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable MLD snooping globally and
enter MLD-snooping view.
mld-snooping
Disabled by default.
3.
Return to system view.
quit
N/A
4.
Enter VLAN view.
vlan
vlan-id
N/A
5.
Enable MLD snooping for the VLAN.
mld-snooping enable
Disabled by default.
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: