Configuring MLD Snooping Port Functions 585
n
■ MLD Snooping must be enabled globally before it can be enabled in a VLAN.
■ After enabling MLD Snooping in a VLAN, you cannot enable MLD and/or IPv6 
PIM on the corresponding VLAN interface, and vice versa.
■ When you enable MLD Snooping in a specified VLAN, this function takes effect 
for Ethernet 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:
c
CAUTION: If you switch MLD Snooping from version 2 to version 1, the system 
will clear all MLD Snooping forwarding entries from dynamic joins, and will
■ Keep forwarding entries from version 2 static (*, G) joins;
■ Clear forwarding entries from version 2 static (S, G) joins, which will be 
restored when MLD Snooping is switched back to version 2.
For details about static joins, Refer to “Configuring Static Ports” on page 586.
Configuring MLD 
Snooping Port 
Functions
Configuration
Prerequisites
Before configuring MLD Snooping port functions, complete the following tasks:
■ Enable MLD Snooping in the VLAN
■ Configure the corresponding port groups
Before configuring MLD Snooping port functions, prepare the following data:
■ Aging time of router ports
■ Aging timer of member ports
Enter VLAN view  vlan vlan-id - 
Enable MLD Snooping in the 
VLAN 
mld-snooping enable Required
Disabled by default
To do…  Use the command…  Remarks 
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