Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 425

409
Device Interface
IPv6 address
Switch B
VLAN-interface 103
2002::1/64
Switch C
VLAN-interface 200
2001::2/64
Switch C
VLAN-interface 104
3001::1/64
Switch D
VLAN-interface 300
4001::1/64
Switch D
VLAN-interface 101
1002::2/64
Switch D
VLAN-interface 105
4002::1/64
Switch E
VLAN-interface 104
3001::2/64
Switch E
VLAN-interface 103
2002::2/64
Switch E
VLAN-interface 102
1003::2/64
Switch E
VLAN-interface 105
4002::2/64
Configuration procedure
1.
Enable IPv6 forwarding on each switch and configure the IPv6 address and prefix length for each
interface as per
. (Details not shown.)
2.
Configure OSPFv3 on the switches in the IPv6 PIM-DM 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 enable
MLD on VLAN-interface 300, which connects Switch A to N1.
[SwitchA] multicast ipv6 routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] mld enable
[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 a C-BSR and a C-RP:
# On Switch D, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and
set the hash mask length to 128 and the priority of the C-BSR to 10.
[SwitchD] acl ipv6 number 2005
[SwitchD-acl6-basic-2005] rule permit source ff0e::101 64
[SwitchD-acl6-basic-2005] quit