Configuring multicast VLAN ports

In this approach, you need to configure a VLAN as a multicast VLAN and then assign user ports to this multicast VLAN by either adding the user ports in the multicast VLAN or specifying the multicast VLAN on the user ports. These two configuration methods give the same result.

Configuring multicast VLAN ports in multicast VLAN view

Follow these steps to configure multicast VLAN ports in multicast VLAN view:

To do...

Use the command...

Remarks

Enter system view

system-view

Configure the specified VLAN as a multicast VLAN and enter multicast VLAN view

multicast-vlan vlan-id

Required

Not a multicast VLAN by default

Assign ports to the multicast VLAN

port interface-list

Required

By default, a multicast VLAN has no ports.

Configuring multicast VLAN ports in interface view or port group view

Follow these steps to configure multicast VLAN ports in interface view or port group view:

To do…

Use this command…

Remarks

Enter system view

system-view

Configure the specified VLAN as a multicast VLAN and enter multicast VLAN view

multicast-vlan vlan-id

Required

Not a multicast VLAN by default.

Return to system view

quit

Enter Layer 2 Ethernet interface/Layer 2 aggregate interface view or port group view

interface interface-type interface-number

Required

Use either command.

port-group manual port-group-name

Configure the current port(s) as port(s) of the multicast VLAN

port multicast-vlan vlan-id

Required

By default, a user port does not belong to any multicast VLAN.


[NOTE: ]

NOTE:

  • Do not 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.