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

Page 106

Advertising
background image

98

Configuration prerequisites

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

Create VLANs as required

Enable MLD snooping in the VLAN to be configured as an IPv6 multicast VLAN

Enable MLD snooping in all user VLANs

Configuring user port attributes

Configure the user ports as hybrid ports to 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 IPv6 multicast VLAN to pass and untag the packets. Thus,

upon receiving multicast packets tagged with the IPv6 multicast VLAN ID from the upstream device, the

Layer 2 device untags the multicast packets and forwards them to its downstream device.
Follow these steps to configure user port attributes:

To do...

Use the command...

Remarks

Enter system view

system-view

interface interface-type
interface-number

Enter interface view or port group
view

port-group manual
port-group-name

Required
Use either approach.

Configure the user port link type as
hybrid

port link-type hybrid

Required
Access by default

Specify the user VLAN that
comprises the current user port(s)
as the default VLAN

port hybrid pvid vlan vlan-id

Required
VLAN 1 by default

Configure the current user ports to

permit packets of the specified IPv6
multicast VLAN to pass and untag

the packets

port hybrid vlan vlan-id-list

{ tagged | untagged }

Required
By default, a hybrid port permits

only packets of VLAN 1 to pass.

NOTE:

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

Layer 2—LAN Switching Command Reference.

Configuring IPv6 multicast VLAN ports

In this approach, you need to configure a VLAN as an IPv6 multicast VLAN and then assign user ports

to this IPv6 multicast VLAN by either adding the user ports in the IPv6 multicast VLAN or specifying the

IPv6 multicast VLAN on the user ports. These two methods give the same result.

Configure IPv6 multicast VLAN ports in IPv6 multicast VLAN view

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

To do...

Use the command...

Remarks

Enter system view

system-view

Advertising