beautypg.com

Enabling mld, Specifying the mld version, Configuration guidelines – H3C Technologies H3C S12500-X Series Switches User Manual

Page 148

background image

138

Determine the ACL rule for IPv6 multicast group filtering.

Enabling MLD

Enable MLD on the interface on which IPv6 multicast group memberships are created and maintained.
To enable MLD:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable IPv6 multicast
routing and enter IPv6 MRIB

view.

ipv6 multicast routing [ vpn-instance
vpn-instance-name ]

Disable by default.

3.

Return to system view.

quit

N/A

4.

Enter interface view.

interface interface-type interface-number

N/A

5.

Enable MLD.

mld enable

Disabled by default.

Specifying the MLD version

Because MLD message types and formats vary with MLD versions, configure the same MLD version for all

routers on the same subnet. Otherwise, MLD cannot operate correctly.
To specify an MLD version:

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure an MLD version on

the interface.

mld version version-number

MLDv1 by default.

Configuring an interface as a static member interface

You can configure an interface as a static member of an IPv6 multicast group or an IPv6 multicast source

and group, so that the interface can receive IPv6 multicast data addressed to that IPv6 multicast group for

the purpose of testing IPv6 multicast data forwarding.

Configuration guidelines

An MLD-enabled static member interface has the following restrictions:

{

If it is enabled with IPv6 PIM-SM, it must be an IPv6 PIM-SM DR.

{

If it is not enabled with IPv6 PIM-SM, it must be an MLD querier.

For more information about IPv6 PIM-SM and DR, see "

Configuring IPv6 PIM

."

A static member interface does not respond to queries from the MLD querier. When you configure
an interface as a static member interface or cancel this configuration on the interface, the interface