338
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a VLAN as an
IPv6 multicast VLAN and
enter its view.
ipv6
multicast-vlan vlan-id
By default, a VLAN is not an IPv6
multicast VLAN.
3.
Assign the specified VLANs
to the IPv6 multicast VLAN
as sub-VLANs.
subvlan
vlan-list
By default, an IPv6 multicast VLAN does
not have any sub-VLANs.
Configuring a port-based IPv6 multicast VLAN
You can assign only Layer 2 Ethernet interfaces or Layer 2 aggregate interfaces as user ports to an
IPv6 multicast VLAN.
Configuration prerequisites
Before you configure a port-based IPv6 multicast VLAN, 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.
Configuring user port attributes
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the link type of the
user port as hybrid.
port link-type hybrid
The default setting is
access
.
For more information about this
command, see
Layer 2—LAN
Switching Command Reference.
4.
Specify the PVID of the
current user port as the
VLAN to which the user port
belongs.
port hybrid pvid vlan
vlan-id
By default, the PVID for a hybrid
port is VLAN 1.
For more information about this
command, see
Layer 2—LAN
Switching Command Reference.
5.
Configure the current user
port to permit IPv6 multicast
VLAN and to untag the
packets.
port hybrid
vlan
vlan-id-list
untagged
By default, a hybrid port permits
only VLAN 1.
For more information about this
command, see
Layer 2—LAN
Switching Command Reference.
Assigning user ports to an IPv6 multicast VLAN
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.