R3303-HP HSR6800 Routers IP Multicast Configuration Guide

150
Configuration procedure
1. Assign an IP address and subnet mask to each interface according to Figure 46. (Details not
shown.)
2. Configure OSPF on the routers in the PIM-SM domain to make sure they are interoperable at the
network layer. (Details not shown.)
3. Enable IP multicast routing, PIM-SM, and IGMP:
# Enable IP multicast routing on Router A, enable PIM-SM on each interface, and enable IGMP on
GigabitEthernet 2/1/0, which connects Router A to the stub network.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface gigabitethernet2/1/0
[RouterA-GigabitEthernet2/1/0] igmp enable
[RouterA-GigabitEthernet2/1/0] pim sm
[RouterA-GigabitEthernet2/1/0] quit
[RouterA] interface gigabitethernet2/1/3
[RouterA-GigabitEthernet2/1/3] pim sm
[RouterA-GigabitEthernet2/1/3] quit
[RouterA] interface gigabitethernet2/1/1
[RouterA-GigabitEthernet2/1/1] pim sm
[RouterA-GigabitEthernet2/1/1] quit
# Enable IP multicast routing, PIM-SM, and IGMP on Router B and Router C in the same way.
(Details not shown.)
# Enable IP multicast routing and PIM-SM on Router D and Router E in the same way. (Details not
shown.)
4. Configure a C-BSR and a C-RP:
# 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 32 and the priority of the C-BSR to 10.
<RouterD> system-view
[RouterD] acl number 2005
[RouterD-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[RouterD-acl-basic-2005] quit
[RouterD] pim
[RouterD-pim] c-bsr gigabitethernet 2/1/1 32 10
[RouterD-pim] c-rp gigabitethernet 2/1/1 group-policy 2005
[RouterD-pim] 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 32 and the priority of the C-BSR to 20.
<RouterE> system-view
[RouterE] acl number 2005
[RouterE-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[RouterE-acl-basic-2005] quit
[RouterE] pim
[RouterE-pim] c-bsr gigabitethernet 2/1/4 32 20
[RouterE-pim] c-rp gigabitethernet 2/1/4 group-policy 2005
[RouterE-pim] quit
5. Verify the configuration: