Configuration procedure, Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual

Page 443

Advertising
background image

427

Configuration procedure

1.

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

interface as per

Figure 112

. (Details not shown.)

2.

Configure OSPFv3 on the switches in the IPv6 PIM-SSM domain to ensure network-layer
reachability among them. (Details not shown.)

3.

Enable IPv6 multicast routing, and enable IPv6 PIM-SM and MLD:
# Enable IPv6 multicast routing on Switch A, enable IPv6 PIM-SM on each interface, and run
MLDv2 on VLAN-interface 100, which connects Switch A to N1.

<SwitchA> system-view

[SwitchA] multicast ipv6 routing-enable

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] mld enable

[SwitchA-Vlan-interface100] mld version 2

[SwitchA-Vlan-interface100] pim ipv6 sm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim ipv6 sm

[SwitchA-Vlan-interface101] quit

[SwitchA] interface vlan-interface 102

[SwitchA-Vlan-interface102] pim ipv6 sm

[SwitchA-Vlan-interface102] quit

# Enable IPv6 multicast routing, IPv6 PIM-SM, and MLD on Switch B and Switch C in the same way.

(Details not shown.)
# Enable IPv6 multicast routing and IPv6 PIM-SM on Switch D and Switch E in the same way.
(Details not shown.)

4.

Configure the IPv6 SSM group range:
# Configure the IPv6 SSM group range to be FF3E::/64 on Switch A.

[SwitchA] acl ipv6 number 2000

[SwitchA-acl6-basic-2000] rule permit source ff3e:: 64

[SwitchA-acl6-basic-2000] quit

[SwitchA] pim ipv6

[SwitchA-pim6] ssm-policy 2000

[SwitchA-pim6] quit

# Configure the IPv6 SSM group range on Switch B, Switch C, Switch D, and Switch E in the same

way. (Details not shown.)

Verifying the configuration

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

on each interface. For example:
# Display the IPv6 PIM configuration information on Switch A.

[SwitchA] display pim ipv6 interface

Interface NbrCnt HelloInt DR-Pri DR-Address

Vlan100 0 30 1 1001::1

(local)

Vlan101 1 30 1 1002::2

Vlan102 1 30 1 1003::2

Advertising