64
Enabling MLD snooping
When you enable MLD snooping, follow these guidelines:
•
You must enable MLD snooping globally before you enable it for a VLAN.
•
After you enable MLD snooping for a VLAN, you cannot enable MLD or IPv6 PIM on the
corresponding VLAN interface, and vice versa.
•
MLD snooping for a VLAN works only on the ports in this 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:
•
Clears all MLD snooping forwarding entries that are dynamically created.
•
Keeps static MLDv2 snooping forwarding entries (*, G).
•
Clears static MLDv2 snooping forwarding entries (S, G), which will be restored when MLDv1
snooping is changed back to MLDv2 snooping.
For more information about static joining, see "
."
Configuration procedure
To specify the version of MLD snooping:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Specify the version of MLD
snooping.
mld-snooping version
version-number
Version 1 by default