
165
Device
Interface
IP address
Device
Interface
IP address
Router C
GE1/0/3
10.110.4.1/24
Configuration procedure
1.
Assign an IP address and subnet mask to each interface according to
. (Details not
shown.)
2.
Configure OSPF on the routers in the ASs. (Details not shown.)
3.
Enable IP multicast routing, PIM-SM, and IGMP, and configure PIM-SM domain borders:
# On Router C, enable IP multicast routing.
<RouterC> system-view
[RouterC] multicast routing
[RouterC-mrib] quit
# Enable PIM-SM on each interface, and enable IGMP on the receiver-side interface
GigabitEthernet 1/0/2.
[RouterC] interface gigabitethernet 1/0/1
[RouterC-GigabitEthernet1/0/1] pim sm
[RouterC-GigabitEthernet1/0/1] quit
[RouterC] interface gigabitethernet 1/0/2
[RouterC-GigabitEthernet1/0/2] igmp enable
[RouterC-GigabitEthernet1/0/2] quit
[RouterC] interface gigabitethernet 1/0/3
[RouterC-GigabitEthernet1/0/3] pim sm
[RouterC-GigabitEthernet1/0/3] quit
# Configure Router A, Router B, Router D, Router E, Router F, and Router G in the same way
Router C is configured. (Details not shown.)
# On Router B, configure the PIM domain borders.
[RouterB] interface gigabitethernet 1/0/3
[RouterB-GigabitEthernet1/0/3] pim bsr-boundary
[RouterB-GigabitEthernet1/0/3] quit
# Configure the PIM domain borders on Router C, Router D, and Router F in the same way
Router B is configured. (Details not shown.)
4.
Configure C-BSRs and C-RPs:
# On Router A, configure Loopback 0 as a C-BSR and a C-RP.
[RouterA] pim
[RouterA-pim] c-bsr 1.1.1.1
[RouterA-pim] c-rp 1.1.1.1
[RouterA-pim] quit
# Configure C-BSRs and C-RPs on Router D and Router G in the same way Router A is
configured. (Details not shown.)
5.
Configure BGP, and redistribute BGP routing information into OSPF and OSPF routing
information into BGP:
# On Router B, configure an EBGP peer, and redistribute OSPF routing information.
[RouterB] bgp 100
[RouterB-bgp] router-id 1.1.1.2
[RouterB-bgp] peer 10.110.3.2 as-number 200
[RouterB-bgp] address-family ipv4 unicast
[RouterB-bgp-ipv4] peer 10.110.3.2 enable
[RouterB-bgp-ipv4] import-route ospf 1