R3303-HP HSR6800 Routers IP Multicast Configuration Guide
363
Router B GE2/1/1 2001::1/64
Router E
POS5/1/0 3001::2/64
POS5/1/0 2002::1/64 POS5/1/1 2002::2/64
Router C GE2/1/1 2001::2
/
64
POS5/1/2 1003::2/64
POS5/1/0 3001::1/64
POS5/1/3 4002::2/64
Configuration procedure
1. Enable IPv6 forwarding on each router and configure the IPv6 address and prefix length for each
interface according to Figure 102. (Details not shown.)
2. Conf
igure 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, IPv6 PIM-SM, and MLD:
# Enable IPv6 multicast routing on Router A, enable IPv6 PIM-SM on each interface, and enable
MLD on GigabitEthernet 2/1/1, which connects Router A to N1.
<RouterA> system-view
[RouterA] multicast ipv6 routing-enable
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] mld enable
[RouterA-GigabitEthernet2/1/1] pim ipv6 sm
[RouterA-GigabitEthernet2/1/1] quit
[RouterA] interface serial 3/1/0
[RouterA-Serial3/1/0] pim ipv6 sm
[RouterA-Serial3/1/0] quit
[RouterA] interface pos 5/1/0
[RouterA-Pos5/1/0] pim ipv6 sm
[RouterA-Pos5/1/0] quit
# Enable IPv6 multicast routing, IPv6 PIM-SM, and MLD on Router B and Router C in the same way.
(Details not shown.)
# Enable IPv6 multicast routing and IPv6 PIM-SM on Router D 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