710 CHAPTER 49: MULTICAST ROUTING AND FORWARDING CONFIGURATION
■ Switch A, Switch B and Switch C run OSPF.
■ Typically, Receiver can receive the multicast data from Source through the path 
Switch A - Switch B, which is the same as the unicast route.
■ Perform the following configuration so that Receiver can receive the multicast 
data from Source through the path Switch A - Switch C - Switch B, which is 
different from the unicast route.
Network diagram
Figure 208   Network diagram for RPF route alternation configuration
 
Configuration procedure
1 Configure the interface IP addresses and enable unicast routing on each switch
Configure the IP address and subnet mask for each interface as per Figure 208. 
The detailed configuration steps are omitted here.
Enable OSPF on the switches in the PIM-DM domain. Ensure the network-layer 
interoperation among the switches in the PIM-DM domain. Ensure that the 
switches can dynamically update their routing information by leveraging the 
unicast routing protocol. The specific configuration steps are omitted here.
2 Enable IP multicast routing, and enable PIM-DM and IGMP
# Enable IP multicast routing on Switch B, enable PIM-DM on each interface, and 
enable IGMP on the host-side interface Ethernet 1/0.
<SwitchB> system-view
[SwitchB] multicast routing-enable
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] igmp enable
[SwitchB-Vlan-interface100] pim dm
[SwitchB-Vlan-interface100] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] pim dm
Multicast static route
Switch A Switch B
Switch C
Vlan-int102
30.1.1.2/24
Vlan-int103
40.1.1.2/24
Vlan-int200
50.1.1.1/24
Vlan-int103
40.1.1.1/24
Vlan-int101
20 .1 .1. 2/ 24
Vlan-int101
20.1.1.1/24
Vlan-int102
30.1.1.1/24
Vlan-int100
10.1.1.1/24
Source Receiver
50.1.1.100/24 10.1.1.100/24
PIM-DM