![H3C S5120-SI Series Operation Manual Download Page 317](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174317.webp)
2-3
z
A user port can be configured as a multicast VLAN port only if it is of the Ethernet, or Layer 2
aggregate interface type.
z
Configurations made in Ethernet interface view are effective only for the current port;
configurations made in Layer 2 aggregate interface view are effective only for the current interface;
configurations made in port group view are effective for all the ports in the current port group.
Configuration Prerequisites
Before configuring port-based multicast VLAN, complete the following tasks:
z
Create VLANs as required
z
Enable IGMP Snooping in the VLAN to be configured as a multicast VLAN
z
Enable IGMP Snooping in all the user VLANs
Configuring User Port Attributes
Configure the user ports as hybrid ports that permit packets of the specified user VLAN to pass, and
configure the user VLAN to which the user ports belong as the default VLAN.
Configure the user ports to permit packets of the multicast VLAN to pass and untag the packets. Thus,
upon receiving multicast packets tagged with the multicast VLAN ID from the upstream device, the
Layer 2 device untags the multicast packets and forwards them to its downstream device.
Follow these steps to configure user port attributes:
To do...
Use the command...
Remarks
Enter system view
system-view
—
interface
interface-type
interface-number
Enter interface view or port
group view
port-group
{
manual
port-group-name
|
aggregation
agg-id
}
Required
Use either command
Configure the user port link
type as hybrid
port link-type hybrid
Required
Access by default
Specify the user VLAN that
comprises the current user
port(s) as the default VLAN
port hybrid pvid vlan
vlan-id
Required
VLAN 1 by default
Configure the current user
port(s) to permit packets of the
specified multicast VLAN(s) to
pass and untag the packets
port hybrid vlan
vlan-id-list
untagged
Required
By default, a hybrid port permits
only packets of VLAN 1 to pass.