45
Multicast VLAN configuration task list
Task at a glance
(Required.) Perform one of the following tasks:
• Configuring a sub-VLAN-based multicast VLAN
• Configuring a port-based multicast VLAN
{ Configuring user port attributes
{ Assigning user ports to a multicast VLAN
(Optional.) Setting the maximum number of multicast VLAN forwarding entries
If you have configured both a sub-VLAN-based multicast VLAN and a port-based multicast VLAN on
a device, the port-based multicast VLAN configuration takes effect.
Configuring a sub-VLAN-based multicast VLAN
To configure a sub-VLAN-based multicast VLAN, you must configure a VLAN as a multicast VLAN,
and assign the VLANs that contain multicast receivers to the multicast VLAN as sub-VLANs.
Configuration prerequisites
Before you configure a sub-VLAN-based multicast VLAN, complete the following tasks:
• Create VLANs as required.
• Enable IGMP snooping for the VLAN to be configured as the multicast VLAN, and for the
VLANs to be configured as sub-VLANs.
Configuration guidelines
When you configure a sub-VLAN-based multicast VLAN, follow these guidelines:
• The VLAN to be configured as the multicast VLAN must exist.
• The VLANs to be configured as sub-VLANs of the multicast VLAN must exist and cannot be
multicast VLANs or sub-VLANs of any other multicast VLAN.
• The total number of multicast VLANs on a device cannot exceed the upper limit.
Configuration procedure
To configure a sub-VLAN-based multicast VLAN:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Configure a VLAN as a
multicast VLAN and
enter its view.
multicast-vla
n vlan-id By default, a VLAN is not a multicast VLAN.
3. Assign the specified
VLANs to the multicast
VLAN as sub-VLANs.
subvlan
vlan-list
By default, a multicast VLAN does not have
any sub-VLANs.