1-7
To do...
Use the command...
Remarks
Enter VLAN view
vlan vlan-id
—
Enable MLD Snooping in the
VLAN
mld-snooping enable
Required
Disabled by default
z
MLD Snooping must be enabled globally before it can be enabled in a VLAN.
z
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.
z
MLD Snooping version 1 can process MLDv1 messages, but cannot analyze and process MLDv2
messages, which will be flooded in the VLAN.
z
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
If you switch MLD Snooping from version 2 to version 1, the system will clear all MLD Snooping
forwarding entries from dynamic joining, and will:
z
Keep forwarding entries from version 2 static (*, G) joining;
z
Clear forwarding entries from version 2 static (S, G) joining, which will be restored when MLD
Snooping is switched back to version 2.
For details about static joining, refer to
Configuring Static Ports
.
Configuring MLD Snooping Port Functions
Configuration Prerequisites
Before configuring MLD Snooping port functions, complete the following tasks:
z
Enable MLD Snooping in the VLAN