97
•
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:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view or port
group 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.
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.
For more information about the
port link-type
,
port hybrid pvid vlan
, and
port hybrid vlan
commands,
see
Layer 2—LAN Switching Command Reference.
Configuring IPv6 multicast VLAN ports
In this approach, you configure a VLAN as an IPv6 multicast VLAN and assign user ports to it. You can
do this by either adding the user ports in the IPv6 multicast VLAN or specifying the IPv6 multicast VLAN
on the user ports. These two methods provide the same result.
Configuration guidelines
•
The VLAN to be configured as an IPv6 multicast VLAN must exist.
•
A port can belong to only one IPv6 multicast VLAN.
Configuration procedure
To configure IPv6 multicast VLAN ports in IPv6 multicast VLAN view: