Configuring multicast vlan ports – H3C Technologies H3C S5120 Series Switches User Manual

Page 341

Advertising
background image

2-4

For details about the port link-type, port hybrid pvid vlan, and port hybrid vlan commands, refer to

VLAN Commands.

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

interface interface-type
interface-number

Enter interface view or port
group view

port-group manual
port-group-name

Required

Use either command.

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.

Advertising