Configuring a port-based IPv6 multicast VLAN
To configure a port-based IPv6 multicast VLAN, perform the following steps:
1.
Configure a VLAN as an IPv6 multicast VLAN.
2.
Configure the attributes for user ports that are connected to the multicast receivers.
3.
Assign the user ports to the IPv6 multicast VLAN.
You can assign a port to an IPv6 multicast VLAN only when the port is an Ethernet port or a Layer 2
aggregate interface.
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
1.
Enter system view.
2.
Enter interface view.
3.
Configure the link type of the
user port as hybrid.
4.
Specify the PVID of the
current user port as the
VLAN to which the user port
belongs.
5.
Configure the current user
port to permit IPv6 multicast
VLAN and to untag the
packets.
Assigning user ports to an IPv6 multicast VLAN
You can either assign the user ports to the IPv6 multicast VLAN in IPv6 multicast VLAN view, or
assign the user ports to the IPv6 multicast VLAN in interface view.
When you perform this task, follow these guidelines:
•
The VLAN to be configured as an IPv6 multicast VLAN must exist.
•
A port can belong to only one IPv6 multicast VLAN.
Command
system-view
interface interface-type
interface-number
port link-type hybrid
port hybrid pvid vlan vlan-id
port hybrid vlan vlan-id-list
untagged
88
Remarks
N/A
N/A
The default setting is access.
For more information about this
command, see Layer 2—LAN
Switching Command Reference.
By default, the PVID for a hybrid
port is VLAN 1.
For more information about this
command, see Layer 2—LAN
Switching Command Reference.
By default, a hybrid port permits
only VLAN 1.
For more information about this
command, see Layer 2—LAN
Switching Command Reference.