R3303-HP HSR6800 Routers IP Multicast Configuration Guide

185
Configuration procedure
1. Assign the IP address and subnet mask to each interface according to Figure 54. (Details not
shown.)
2. Configure OSPF on the routers to make sure the routers are interoperable at the network layer in
each AS, and they can dynamically update routing information. (Details not shown.)
3. Enable IP multicast routing, PIM-SM, and IGMP, and configure a PIM-SM domain border:
# Enable IP multicast routing on Router A, enable PIM-SM on each interface, and enable IGMP on
the host-side interface GigabitEthernet 2/1/3.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] pim sm
[RouterA-GigabitEthernet2/1/1] quit
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] pim sm
[RouterA-GigabitEthernet2/1/2] quit
[RouterA] interface gigabitethernet 2/1/3
[RouterA-GigabitEthernet2/1/3] igmp enable
[RouterA-GigabitEthernet2/1/3] pim sm
[RouterA-GigabitEthernet2/1/3] quit
# Enable IP multicast routing, PIM-SM, and IGMP on Router B, Router C, Router D, Router E, and
Router F in the same way. (Details not shown.)
# Configure a PIM domain border on Router B.
[RouterB] interface pos 5/1/0
[RouterB-Pos5/1/0] pim bsr-boundary
[RouterB-Pos5/1/0] quit
# Configure a PIM domain border on Router C and Router E in the same way. (Details not shown.)
4. Configure C-BSRs and C-RPs:
# Configure Loopback 0 as a C-BSR and a C-RP on Router B.
[RouterB] pim
[RouterB-pim] c-bsr loopback 0
[RouterB-pim] c-rp loopback 0
[RouterB-pim] quit
# Configure C-BSRs and C-RPs on Router C and Router E in the same way. (Details not shown.
5. Configure BGP and configure mutual route redistribution between BGP and OSPF:
# Configure an eBGP peer, and redistribute OSPF routes on Router B.
[RouterB] bgp 100
[RouterB-bgp] router-id 1.1.1.1
[RouterB-bgp] peer 192.168.1.2 as-number 200
[RouterB-bgp] import-route ospf 1
[RouterB-bgp] quit
# Configure an eBGP peer, and redistribute OSPF routes on Router C.
[RouterC] bgp 200
[RouterC-bgp] router-id 2.2.2.2
[RouterC-bgp] peer 192.168.1.1 as-number 100