62
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the specified
VLAN as a multicast VLAN
and enter multicast VLAN
view.
multicast-vlan
vlan-id
By default, a VLAN is not a
multicast VLAN.
3.
Configure the specified
VLANs as sub-VLANs of the
multicast VLAN.
subvlan
vlan-list
By default, a multicast VLAN has
no sub-VLANs.
Configuring a port-based multicast VLAN
When you configure a port-based multicast VLAN, you must configure the attributes 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.
The configurations made in Ethernet interface view or Layer 2 aggregate interface view, are effective
on only the current port. The configurations made in port group view 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 user VLANs.
Configuring user port attributes
Configure a user ports as a hybrid port to permit VLAN-tagged packets, and configure the PVID of
the user port to be the VLAN it belongs to.
Configure the user port to permit the multicast VLAN packets and untag the packets. 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.
For more information about the
port link-type
,
port hybrid pvid vlan
, and
port hybrid vlan
commands, see
Layer 2—LAN Switching Command Reference
.
To configure user port attributes:
Step Command
Remarks
1.
Enter system view.
system-view
N/A