74
•
PIM-DM runs on the network.
•
All switches on the network support multicast.
•
Switch A, Switch B and Switch C run OSPF.
•
Typically, the receiver host can receive the multicast data from Source through the path: Switch
A to Switch B, which is the same as the unicast route.
Configure the switches so that the multicast data from Source travels to the receiver through the
path: Switch A to Switch C to Switch B. This is different from the unicast route.
Figure 29 Network diagram
Configuration procedure
1.
Assign an IP address and subnet mask for each interface, as shown in
. (Details not
shown.)
2.
Configure OSPF on the switches in the PIM-DM domain. (Details not shown.)
3.
Enable IP multicast routing, and enable IGMP and PIM-DM:
# On Switch B, enable IP multicast routing.
<SwitchB> system-view
[SwitchB] multicast routing
[SwitchB-mrib] quit
# Enable IGMP on the receiver-side interface (VLAN-interface 100).
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] igmp enable
[SwitchB-Vlan-interface100] quit
# Enable PIM-DM on other interfaces.
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] pim dm
[SwitchB-Vlan-interface101] quit
[SwitchB] interface vlan-interface 102
[SwitchB-Vlan-interface102] pim dm
[SwitchB-Vlan-interface102] quit
Static multicast 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