Configuring a port-based IPv6 multicast VLAN
Restrictions and guidelines
You can assign user ports to an IPv6 multicast VLAN in IPv6 multicast VLAN view or assign a user port to an IPv6 multicast VLAN in interface view.
A user port can belong to only one IPv6 multicast VLAN.
Prerequisites
Before you configure a port-based IPv6 multicast VLAN, you must complete the following tasks:
Create VLANs as required.
Enable MLD snooping for the VLAN to be configured as the IPv6 multicast VLAN.
Enable MLD snooping for all the VLANs that contain the multicast receivers.
Configure the attributes of user ports. Make sure the ports can forward packets from the VLAN to be configured as the IPv6 multicast VLAN and send the packets with the VLAN tag removed. For more information about configuring port attributes, see VLAN configuration in Layer 2—LAN Switching Configuration Guide.
Assigning user ports to an IPv6 multicast VLAN in IPv6 multicast VLAN view
Enter system view.
system-view
Configure an IPv6 VLAN as an IPv6 multicast VLAN and enter IPv6 multicast VLAN view.
ipv6 multicast-vlan vlan-id
By default, a VLAN is not an IPv6 multicast VLAN.
Assign ports to the IPv6 multicast VLAN as user ports.
port interface-list
Assigning user ports to an IPv6 multicast VLAN in interface view
Enter system view.
system-view
Configure an IPv6 VLAN as an IPv6 multicast VLAN and enter IPv6 multicast VLAN view.
ipv6 multicast-vlan vlan-id
By default, a VLAN is not an IPv6 multicast VLAN.
Return to system view.
quit
Enter Layer 2 interface view.
Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
Enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
Assign the port to the IPv6 multicast VLAN as a user port.
ipv6 port multicast-vlan vlan-id
By default, a port does not belong to any IPv6 multicast VLAN.