R3303-HP HSR6800 Routers IP Multicast Configuration Guide
29
Configuring a port-based multicast VLAN
When you configure a port-based multicast VLAN, you must configure the attribute of each user port and
then assign the ports to the multicast VLAN.
A user port can be configured as a multicast VLAN port only if it is an Ethernet port or a Layer 2
aggregate interface.
In Ethernet interface view or Layer 2 aggregate interface view, the configurations are effective only on the
current port. In port group view, the configurations are effective on all ports in the current port group.
Configuration prerequisites
Before you configure a port-based multicast VLAN, complete the following tasks:
• Create VLANs as required.
• Enable IGMP snooping in the VLAN to be configured as a multicast VLAN.
• Enable IGMP snooping in all the VLANs that contain multicast data receivers.
Configuring user port attributes
Configure a user port as a hybrid port that permits VLAN-tagged packets to pass, and configure the PVID
of the user port to be the VLAN it belongs to.
Configure the user port to send the multicast VLAN packets without tags. Thus, after receiving the
multicast VLAN-tagged packets 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
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view or port
group view.
• Enter interface view:
interface interface-type
interface-number
• Enter port group view:
port-group { manual
port-group-name | aggregation
agg-id }
Use either command.
3. Configure the user port link
type as hybrid.
port link-type hybrid
By default, the port link type is
access.
4. Specify the PVID of the current
user port to be the VLAN it
belongs to.
port hybrid pvid vlan vlan-id
By default, the PVID of a hybrid
port is VLAN 1.
5. Configure the current user
port to permit multicast VLAN
packets to pass and untag the
packets.
port hybrid vlan vlan-id-list
untagged
By default, a hybrid port permits
only packets of VLAN 1 to pass.