129
Figure 41
Network diagram
Configuration procedure
1.
Assign IP addresses and configure unicast routing:
a.
Assign an IP address and subnet mask to each interface according to
shown.)
b.
Enable OSPF on Router B and Router C to make sure they are interoperable at the network
layer and they can dynamically update their routing information. (Details not shown.)
2.
Enable IP multicast routing, and enable PIM-DM and IGMP:
# Enable IP multicast routing on Router C, enable PIM-DM on each interface, and enable IGMP on
Ethernet 1/1.
<RouterC> system-view
[RouterC] multicast routing-enable
[RouterC] interface ethernet 1/1
[RouterC-Ethernet1/1] igmp enable
[RouterC-Ethernet1/1] pim dm
[RouterC-Ethernet1/1] quit
[RouterC] interface ethernet 1/2
[RouterC-Ethernet1/2] pim dm
[RouterC-Ethernet1/2] quit
# Enable IP multicast routing on Router A and enable PIM-DM on each interface.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] pim dm
[RouterA-Ethernet1/1] quit
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] pim dm
[RouterA-Ethernet1/2] quit
# Enable IP multicast routing and PIM-DM on Router B in the same way. (Details not shown.)
# Use the
display multicast rpf-info
command to view the information of the RPF route to Source 2
on Router B and Router C.
Router A
Router B
Router C
Eth1/2
30.1.1.2/24
Eth1/2
20.1.1.2/24
Eth1/2
20.1.1.1/24
Eth1/3
30.1.1.1/24
Source 1
Source 2
Receiver
40.1.1.100/24
10.1.1.100/24
Multicast static route
Eth1/1
40.1.1.1/24
Eth1/1
10.1.1.1/24
OSPF domain
PIM-DM
50.1.1.100/24
Eth1/1
50.1.1.1/24