Remarks
3. Configure the specified
VLANs as sub-VLANs of the
IPv6 multicast VLAN.
subvlan vlan-list
By default, an IPv6 multicast VLAN
has no sub-VLANs.
Configuring a port-based IPv6 multicast VLAN
When you configure a port-based IPv6 multicast VLAN, you need to configure the attributes of each user
port 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 aggregate
interface.
In Ethernet interface view or Layer 2 aggregate interface view, configurations that you make are effective
only on the current interface.
Configuration prerequisites
Before 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 attributes
First, configure the user ports as hybrid ports to permit packets of the specified user VLAN to pass and
configure 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, the
Layer 2 device untags the multicast packets and forwards them to its downstream device.
To configure user port attributes:
Ste
Command Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
interface interface-type
interface-number
Use either command.
3. Configure the user port link
type as hybrid.
port link-type hybrid
Access by default.
4. Specify the user VLAN that
comprises the current user
ports as the default VLAN.
port hybrid pvid vlan vlan-id VLAN 1 by default.
5. Configure the current user
ports to permit packets of the
specified IPv6 multicast VLAN
to pass and untag the packets.
port hybrid vlan vlan-id-list
{ tagged | untagged }
By default, a hybrid port permits
only packets of VLAN 1 to pass.