Displaying and maintaining multicast vlan – H3C Technologies H3C S3100V2 Series Switches User Manual

Page 62

Advertising
background image

54

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.

NOTE:

The VLAN to be configured as a multicast VLAN must exist.

A port can belong to only one multicast VLAN.

Displaying and maintaining multicast VLAN

To do…

Use the command…

Remarks

Display information about a
multicast VLAN

display multicast-vlan [ vlan-id ] [ |
{ begin | exclude | include }

regular-expression ]

Available in any view

Advertising