
56
Configuring basic functions of MLD snooping
Configuration prerequisites
Before you configure the basic functions of MLD snooping, complete the following tasks:
•
Configure the corresponding VLANs
•
Determine the version of MLD snooping
Enabling MLD snooping
Follow these steps to enable MLD snooping:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enable MLD snooping globally
and enter MLD snooping view
mld-snooping
Required
Disabled by default
Return to system view
quit
—
Enter VLAN view
vlan
vlan-id
—
Enable MLD snooping in the
VLAN
mld-snooping enable
Required
Disabled by default
NOTE:
•
MLD snooping must be enabled globally before it can be enabled in a VLAN.
•
When you enable MLD snooping in a specified VLAN, this function takes effect for ports in this
VLAN only.
Configuring the version of MLD snooping
By configuring the MLD snooping version, you actually configure the version of MLD messages that
MLD snooping can process.
•
MLD snooping version 1 can process MLDv1 messages, but cannot analyze and process
MLDv2 messages, which will be flooded in the VLAN.
•
MLD snooping version 2 can process MLDv1 and MLDv2 messages.
Follow these steps to configure the version of MLD snooping:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
—
Configure the version of MLD
snooping
mld-snooping version
version-number
Optional
Version 1 by default