352
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the specified
VLAN as an IPv6 multicast
VLAN and enter IPv6
multicast VLAN view.
multicast-vlan ipv6
vlan-id
No IPv6 multicast VLAN
configured by default.
3.
Configure the specified
VLANs as sub-VLANs of the
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 must 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 interface only if it is an Ethernet port or a Layer 2
aggregate interface.
The configurations made in Ethernet interface view, or Layer 2 aggregate interface view are effective
only on the current interface. The configurations made in port group view are effective on all ports in
the port group.
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 user VLANs.
Configuring user port attributes
Configure the user ports as hybrid ports to permit packets of the specified user VLAN and configure
the user VLAN to which the user ports belong as the default VLAN.
Configure the user ports to permit packets of the IPv6 multicast VLAN and untag the packets. Thus,
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:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter proper view.
•
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view:
interface
interface-type
interface-number
•
Enter port group view:
port-group
manual
port-group-name
Use either command.
3.
Configure the user port link
type as hybrid.
port link-type hybrid
Access by default.