272For the configuration tasks in this section:• In MLD-snooping view, the configurations that you make are effective in all VLANs . In VLAN view,the configurations that you make are effective only on the ports that belong to the current VLAN. Fora given VLAN, a configuration that you make in MLD-snooping view is effective only if you do notmake the same configuration in VLAN view.• In MLD-snooping view, the configurations that you make are effective on all ports. In Layer 2Ethernet interface view or Layer 2 aggregate interface view, the configurations that you make areeffective only on the current port. In port group view, the configurations that you make are effectiveon all ports in only the current port group. For a given port, a configuration that you make inMLD-snooping view is effective only if you do not make the same configuration in Layer 2 Ethernetinterface view, Layer 2 aggregate interface view, or port group view.• For MLD snooping, the configurations that you make on a Layer 2 aggregate interface do notinterfere with those made on its member ports, nor do they participate in aggregation calculations.Configurations that you make on a member port of the aggregate group will not take effect until theport leaves the aggregate group.Configuring basic MLD snooping functionsBefore you configure basic MLD snooping functions, complete the following tasks:• Enable IPv6 forwarding.• Configure the corresponding VLANs.• Determine the version of MLD snooping.Enabling MLD snoopingWhen you enable MLD snooping, follow these guidelines:• You must 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 thecorresponding VLAN interface, and vice versa.• MLD snooping for a VLAN works only on the ports in this VLAN.To enable MLD snooping:Step Command Remarks1. Enter system view. system-view N/A2. Enable MLD snoopingglobally and enterMLD-snooping view.mld-snooping Disabled by default3. Return to system view. quit N/A4. Enter VLAN view. vlan vlan-id N/A