310
Configuration guidelines
•
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.
Configuration procedure
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 MLD
snooping is switched back to MLDv2 snooping.
For more information about static MLD snooping forwarding entries, see "
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.
Setting the maximum number of MLD snooping forwarding
entries
You can modify the maximum number of MLD snooping forwarding entries. When the number of
forwarding entries on the device reaches the upper limit, the device does not create forwarding
entries until some entries time out or are removed.