291
Configuring basic MLD snooping features
Before you configure basic MLD snooping features, complete the following tasks:
•
Configure VLANs or VSIs.
•
Determine the MLD snooping version.
•
Determine the maximum number of MLD snooping forwarding entries.
•
Determine the MLD last listener query interval.
Enabling MLD snooping
When you enable MLD snooping, follow these restrictions and guidelines:
•
You must enable MLD snooping globally before you can enable it for a VLAN or VSI.
•
MLD snooping configuration made in VLAN view or VSI view takes effect only on the member
ports in that VLAN or VSI.
•
You can enable MLD snooping for the specified VLANs in MLD-snooping view, for a VSI in VSI
view, or for a VLAN in VLAN view. For a VLAN, the configuration in VLAN interface has the
same priority as the configuration in MLD-snooping view, and the most recent configuration
takes effect.
Enabling MLD snooping in MLD-snooping view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable MLD snooping
globally and enter
MLD-snooping view.
mld-snooping
By default, MLD snooping is
globally disabled.
3.
Enable MLD snooping for the
specified VLANs.
enable
vlan
vlan-list
By default, MLD snooping is
disabled for a VLAN.
Enabling MLD snooping in VLAN or VSI view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable MLD snooping
globally and enter
MLD-snooping view.
mld-snooping
By default, MLD snooping is
globally disabled.
3.
Return to system view.
quit
N/A
4.
Enter VLAN view or VSI
view.
•
Enter VLAN view:
vlan vlan-id
•
Enter VSI view:
vsi
vsi-name
N/A
5.
Enable MLD snooping for the
VLAN or VSI.
mld-snooping enable
By default, MLD snooping is
disabled in a VLAN or VSI.
Specifying an MLD snooping version
Different MLD snooping versions can process different versions of MLD messages:
•
MLDv1 snooping can process MLDv1 messages, but it floods MLDv2 messages in the VLAN
instead of processing them.