318Configuration procedureIn this approach, you configure a VLAN as an IPv6 multicast VLAN, and configure user VLANs assub-VLANs of the IPv6 multicast VLAN.To configure a sub-VLAN-based IPv6 multicast VLAN:Step Command Remarks1. Enter system view. system-view N/A2. Configure the specified VLANas an IPv6 multicast VLANand enter IPv6 multicastVLAN view.multicast-vlan ipv6 vlan-id No IPv6 multicast VLANconfigured by default.3. Configure the specifiedVLANs as sub-VLANs of theIPv6 multicast VLAN.subvlan vlan-list By default, an IPv6 multicast VLANhas no sub-VLANs.Configuring a port-based IPv6 multicast VLANWhen you configure a port-based IPv6 multicast VLAN, you need to configure the attributes of each userport and then assign the ports to the IPv6 multicast VLAN.A user port can be configured as a multicast VLAN port only if it is an Ethernet port or Layer 2 aggregateinterface.In Ethernet interface view or Layer 2 aggregate interface view, configurations that you make are effectiveonly on the current interface. In port group view, configurations that you make are effective on all portsin the current port group.Configuration prerequisitesBefore you configure a port-based IPv6 multicast VLAN, complete the following tasks:• Enable IPv6 forwarding.• Create VLANs as required.• Enable MLD snooping in the VLAN to be configured as an IPv6 multicast VLAN.• Enable MLD snooping in all the user VLANs.Configuring user port attributesFirst, configure the user ports as hybrid ports to permit packets of the specified user VLAN to pass andconfigure the user VLAN to which the user ports belong as the default VLAN.Then, configure the user ports to permit packets of the IPv6 multicast VLAN to pass and untag the packets.After receiving multicast packets tagged with the IPv6 multicast VLAN ID from the upstream device, theLayer 2 device untags the multicast packets and forwards them to its downstream device.