Configuration procedure
1.
Assign an IP address and subnet mask to each interface as per
2.
Configure OSPF for interconnection between the routers in each AS. Ensure the network-layer
interoperation in each AS, and ensure the dynamic update of routing information through a
unicast routing protocol among the routers. (Details not shown.)
3.
Enable IP multicast routing, enable PIM-SM and IGMP, and configure a PIM-SM domain border:
# Enable IP multicast routing on Router C, enable PIM-SM on each interface, and enable IGMP on
the host-side interface GigabitEthernet 3/1/2.
<RouterC> system-view
[RouterC] multicast routing-enable
[RouterC] interface GigabitEthernet 3/1/1
[RouterC-GigabitEthernet3/1/1] pim sm
[RouterC-GigabitEthernet3/1/1] quit
[RouterC] interface GigabitEthernet 3/1/2
[RouterC-GigabitEthernet3/1/2] igmp enable
[RouterC-GigabitEthernet3/1/2] pim sm
[RouterC-GigabitEthernet3/1/2] quit
[RouterC] interface serial 2/1/9/1:0
[RouterC-Serial2/1/9/1:0] pim sm
[RouterC-Serial2/1/9/1:0] quit
# Enable IP multicast routing, enable PIM-SM and IGMP on Router A, Router B, Router D, Router E,
Router F, and Router G in the same way. (Details not shown.)
# Configure PIM domain borders on Router B.
[RouterB] interface pos 5/1/1
[RouterB-Pos5/1/1] pim sm
[RouterB-Pos5/1/1] pim bsr-boundary
[RouterB-Pos5/1/1] quit
# Configure PIM domain borders on Router C, Router D, and Router F 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 A.
[RouterA] pim
[RouterA-pim] c-bsr loopback 0
[RouterA-pim] c-rp loopback 0
[RouterA-pim] quit
# Configure C-BSRs and C-RPs on Router D and Router G in the same way. (Details not shown.)
5.
Configure BGP, and redistribute BGP routing information into OSPF and OSPF routing information
into BGP:
# Configure an EBGP peer, and redistribute OSPF routing information on Router B.
[RouterB] bgp 100
[RouterB-bgp] router-id 1.1.1.2
[RouterB-bgp] peer 10.110.3.2 as-number 200
[RouterB-bgp] import-route ospf 1
[RouterB-bgp] quit
# Configure an EBGP peer, and redistribute OSPF routing information on Router D.
[RouterD] bgp 200
207
Figure
60. (Details not shown.)