beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 390

background image

13-39

Enable IPv6 forwarding on each switch and configure the IPv6 address and prefix length for

each interface as per

Figure 13-8

. Detailed configuration steps are omitted here.

Configure OSPFv3 for interoperation among the switches in the PIM-DM domain. Ensure the

network-layer interoperation in the PIM-DM domain and enable dynamic update of routing

information among the switches through an IPv6 unicast routing protocol. Detailed

configuration steps are omitted here.

2) Enable IPv6 multicast routing, and enable IPv6 PIM-DM and MLD

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

enable MLD on VLAN-interface 100, which connects Switch A to N1.

system-view

[SwitchA] multicast ipv6 routing-enable

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] mld enable

[SwitchA-Vlan-interface100] pim ipv6 dm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 103

[SwitchA-Vlan-interface103] pim ipv6 dm

[SwitchA-Vlan-interface103] quit

The configuration on Switch B and Switch C is similar to that on Switch A.

# Enable IPv6 multicast routing on Switch D, and enable IPv6 PIM-DM on each interface.

system-view

[SwitchD] multicast ipv6 routing-enable

[SwitchD] interface vlan-interface 300

[SwitchD-Vlan-interface300] pim ipv6 dm

[SwitchD-Vlan-interface300] quit

[SwitchD] interface vlan-interface 103

[SwitchD-Vlan-interface103] pim ipv6 dm

[SwitchD-Vlan-interface103] quit

[SwitchD] interface vlan-interface 101

[SwitchD-Vlan-interface101] pim ipv6 dm

[SwitchD-Vlan-interface101] quit

[SwitchD] interface vlan-interface 102

[SwitchD-Vlan-interface102] pim ipv6 dm

[SwitchD-Vlan-interface102] quit

3) Verify

the

configuration

Use the display pim ipv6 interface command to view the IPv6 PIM configuration and running

status on each interface. For example:

# View the IPv6 PIM configuration information on Switch D.

[SwitchD] display pim ipv6 interface

Interface NbrCnt HelloInt DR-Pri DR-Address

Vlan300 0 30 1 4001::1

(local)

Vlan103 0 30 1 1002::2

(local)

Vlan101 1 30 1 2002::2

(local)

Vlan102 1 30 1 3001::2

(local)