49
Configuring multicast VLAN ports
In this approach, you configure a VLAN as a multicast VLAN and assign user ports to it. You can do this
by either adding the user ports in the multicast VLAN or specifying the multicast VLAN on the user ports.
These two methods provide the same result.
Configuration guidelines
• You cannot configure multicast VLAN on a device with multicast routing enabled.
• The VLAN to be configured as a multicast VLAN must exist.
• A port can belong to only one multicast VLAN.
Configuration procedure
To configure multicast VLAN ports in multicast VLAN view:
Ste
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. Assign ports to the multicast
VLAN.
port interface-list
By default, a multicast VLAN has
no ports.
To configure multicast VLAN ports in interface view:
Ste
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. Return to system view.
quit N/A
4. Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
interface interface-type
interface-number
Use either command.
5. Configure the current port as
a member port of the multicast
VLAN.
port multicast-vlan vlan-id
By default, a user port does not
belong to any multicast VLAN.
Displaying and maintaining multicast VLAN
Task Command
Remarks
Display information about a
multicast VLAN.
display multicast-vlan [ vlan-id ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view