63
Figure 26 Network diagram
Configuration procedure
1. Assign an IP address and subnet mask to each interface according to Figure 26. (Details not
shown.)
2. Configure OSPF on the switches in the PIM-DM domain to meet the following requirements:
(Details not shown.)
{ The switches are interoperable at the network layer.
{ The switches can dynamically update their routing information.
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 VLAN-interface 100 (the interface that connects to the receiver host).
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] igmp enable
[SwitchB-Vlan-interface100] quit
# Enable PIM-DM on the 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
# On Switch A, enable IP multicast routing, and enable PIM-DM on each interface.
<SwitchA> system-view
[SwitchA] multicast routing
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