Configuration prerequisites, Configuring user port attributes, Configuring multicast vlan ports – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 87: Configuration guidelines

Advertising
background image

78

Configuration prerequisites

Before you configure a port-based multicast VLAN, complete the following tasks:

Create VLANs as required.

Enable IGMP snooping in the VLAN to be configured as a multicast VLAN.

Enable IGMP snooping in all the user VLANs.

Configuring user port attributes

Configure the user ports as hybrid ports that permit packets of the specified user VLAN to pass, and
configure the user VLAN to which the user ports belong as the default VLAN.
Configure the user ports to permit packets of the multicast VLAN to pass and untag the packets. Thus,

after receiving multicast packets tagged with the multicast VLAN ID from the upstream device, the Layer

2 device untags the multicast packets and forwards them to its downstream device.
To configure user port attributes:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view

or port group view.

Enter Ethernet interface view:

interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Use either command.

3.

Configure the user port link
type as hybrid.

port link-type hybrid

Access by default.

4.

Specify the default VLAN for
the hybrid port.

port hybrid pvid vlan vlan-id

VLAN 1 by default.

5.

Configure the hybrid port to

permit packets of the specified

multicast VLANs to pass.

port hybrid vlan vlan-id-list
{ tagged | untagged }

By default, a hybrid port permits
only packets of VLAN 1 to pass.

For more information about the port link-type, port hybrid pvid vlan, and port hybrid vlan commands,

see Layer 2 Command Reference.

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.

Advertising