
347
Configuration procedure
1.
Enable IPv6 forwarding on each router and configure the IPv6 address and prefix length for each
interface according to
. (Details not shown.)
2.
Configure OSPFv3 on the routers 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 Router A, enable IPv6 PIM-SM on each interface, and enable
MLD on Ethernet 1/1, which connects Router A to N1.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] mld enable
[RouterA-Ethernet1/1] pim ipv6 sm
[RouterA-Ethernet1/1] quit
[RouterA] interface serial 2/0
[RouterA-Serial2/0] pim ipv6 sm
[RouterA-Serial2/0] quit
[RouterA] interface pos 5/0
[RouterA-Pos5/0] pim ipv6 sm
[RouterA-Pos5/0] quit
# Enable IPv6 multicast routing, and enable IPv6 PIM-SM and MLD on Router B and Router C in the
same way. (Details not shown.)
# Enable IPv6 multicast routing, and enable IPv6 PIM-SM on Router D and and Router E in the same
way. (Details not shown.)
4.
Configure C-BSRs and C-RPs:
# On Router 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.
<RouterD> system-view
[RouterD] acl ipv6 number 2005
[RouterD-acl6-basic-2005] rule permit source ff0e::101 64
[RouterD-acl6-basic-2005] quit
[RouterD] pim ipv6
[RouterD-pim6] c-bsr 4002::1 128 10
[RouterD-pim6] c-rp 4002::1 group-policy 2005
[RouterD-pim6] quit
# On Router E, 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 20.
<RouterE> system-view
[RouterE] acl ipv6 number 2005
[RouterE-acl6-basic-2005] rule permit source ff0e::101 64
[RouterE-acl6-basic-2005] quit
[RouterE] pim ipv6
[RouterE-pim6] c-bsr 1003::2 128 20
[RouterE-pim6] c-rp 1003::2 group-policy 2005
[RouterE-pim6] quit