beautypg.com

Mld snooping configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 284

background image

9-28

MLD Snooping Configuration Examples

IPv6 Group Policy and Simulated Joining Configuration Example

Network requirements

z

As shown in

Figure 9-4

, Router A connects to the IPv6 multicast source through

GigabitEthernet 2/0/2 and to Switch A through GigabitEthernet 2/0/1. Router A is the MLD

querier on the subnet.

z

MLDv1 is required on Router A, MLD snooping version 1 is required on Switch A, and

Router A will act as the MLD querier on the subnet.

z

It is required that the receivers, Host A and Host B, attached to Switch A can receive IPv6

multicast traffic addressed to IPv6 multicast group FF1E::101 only.

z

It is required that IPv6 multicast data for group FF1E::101 can be forwarded through

GigabitEthernet 2/0/3 and GigabitEthernet 2/0/4 of Switch A even if Host A and Host B

accidentally, temporarily stop receiving IPv6 multicast data.

Figure 9-4 Network diagram for IPv6 group policy simulated joining configuration

Source

Router A

Switch A

Receiver

Receiver

Host B

Host A

Host C

GE2/0/1

GE2/0/4

GE2/0/2

GE2/0/3

MLD querier

1::1/64

GE2/0/1
2001::1/64

GE2/0/2

1::2/64

Configuration procedure

1) Enable IPv6 forwarding and configure IPv6 addresses

Enable IPv6 forwarding and configure an IPv6 address and prefix length for each interface as

per

Figure 9-4

. The detailed configuration steps are omitted.

2) Configure Router A

# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLDv1 on

GigabitEthernet 2/0/1.

system-view

[RouterA] multicast ipv6 routing-enable

[RouterA] interface gigabitethernet 2/0/1

[RouterA-GigabitEthernet2/0/1] mld enable

[RouterA-GigabitEthernet2/0/1] pim ipv6 dm

[RouterA-GigabitEthernet2/0/1] quit

[RouterA] interface gigabitethernet 2/0/2

[RouterA-GigabitEthernet2/0/2] pim ipv6 dm