Procedure
Configure IP addresses for router interfaces as shown in
1.
are omitted).
Configure OSPF (The detailed configuration steps are omitted).
2.
Enable IP multicast routing, PIM-SM and IGMP, and configure a PIM-SM domain border.
3.
# Enable IP multicast routing on Router A, and enable PIM-SM on each interface.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] pim sm
[RouterA-GigabitEthernet1/0/1] quit
[RouterA] interface pos 5/0/0
[RouterA-Pos5/0/0] pim sm
[RouterA-Pos5/0/0] quit
The configuration on Router B and Router D is similar to the configuration on Router A.
# Enable IP multicast routing on Router C, enable PIM-SM on each interface, and enable IGMP on the
host-side interface GigabitEthernet 1/0/1.
<RouterC> system-view
[RouterC] multicast routing-enable
[RouterC] interface serial 2/0/0
[RouterC-Serial2/0/0] pim sm
[RouterC-Serial2/0/0] quit
[RouterC] interface serial 2/0/1
[RouterC-Serial2/0/1] pim sm
[RouterC-Serial2/0/1] quit
[RouterC] interface gigabitethernet 1/0/1
[RouterC-GigabitEthernet1/0/1] pim sm
[RouterC-GigabitEthernet1/0/1] igmp enable
[RouterC-GigabitEthernet1/0/1] quit
# Configure a PIM domain border on Router A.
[RouterA] interface pos 5/0/0
[RouterA-Pos5/0/0] pim bsr-boundary
[RouterA-Pos5/0/0] quit
# Configure a PIM domain border on Router B.
[RouterB] interface pos 5/0/0
[RouterB-Pos5/0/0] pim bsr-boundary
[RouterB-Pos5/0/0] quit
Configure C-BSRs and C-RPs
4.
# Configure the C-BSR and C-RP on Router A.
[RouterA] interface loopback 0
[RouterA-LoopBack0] ip address 1.1.1.1 32
[RouterA-LoopBack0] pim sm
[RouterA-LoopBack0] quit
[RouterA] pim
[RouterA-pim] c-bsr loopback 0
Figure 58
209
(The detailed configuration steps