Figure 32 Network diagram
Configuration procedure
Assign an IP address and subnet mask to each interface according to
1.
shown.)
Configure OSPF on the switches in the PIM-DM domain. (Details not shown.)
2.
Enable IP multicast routing, IGMP, and PIM-DM:
3.
# On Switch A, enable IP multicast routing.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable IGMP on VLAN-interface 100.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] quit
# Enable PIM-DM on VLAN-interface 101.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim dm
[SwitchA-Vlan-interface101] quit
# On Switch B, enable IP multicast routing.
<SwitchB> system-view
[SwitchB] multicast routing
[SwitchB-mrib] quit
# Enable IGMP on VLAN-interface 200.
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] igmp enable
[SwitchB-Vlan-interface200] quit
# Enable PIM-DM on VLAN-interface 201.
[SwitchB] interface vlan-interface 201
[SwitchB-Vlan-interface201] pim dm
PIM-DM
Vlan-int100
10.110.1.1/24
Switch A
Querier
Vlan-int200
10.110.2.1/24
Switch B
Vlan-int200
10.110.2.2/24
Switch C
Receiver
Host A
N1
Host B
Receiver
Host C
N2
Host D
87
Figure
32. (Details not