86
Figure 31 Network diagram
Configuration procedure
1.
Assign an IP address and subnet mask to each interface according to
. (Details not
shown.)
2.
Configure OSPF on Switch B and Switch C 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 globally, IGMP and PIM-DM:
# On Switch C, enable IP multicast routing, enable IGMP on VLAN-interface 100, and enable
PIM-DM on each interface.
<SwitchC> system-view
[SwitchC] multicast routing-enable
[SwitchC] interface vlan-interface 100
[SwitchC-Vlan-interface100] igmp enable
[SwitchC-Vlan-interface100] pim dm
[SwitchC-Vlan-interface100] quit
[SwitchC] interface vlan-interface 101
[SwitchC-Vlan-interface101] pim dm
[SwitchC-Vlan-interface101] quit
# On Switch A, enable IP multicast routing, and enable PIM-DM on each interface.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 300
[SwitchA-Vlan-interface300] pim dm
[SwitchA-Vlan-interface300] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] pim dm
[SwitchA-Vlan-interface102] quit
# Enable IP multicast routing and PIM-DM on Switch B in the same way Switch A is configured.
(Details not shown.)
4.
Display the RPF routes to Source 2 on Switch B and Switch C.
Switch A
Switch B
Switch C
Vlan-int102
30.1.1.2/24
Vlan-int101
20.1.1.2/24
Vlan-int101
20.1.1.1/24
Vlan-int102
30.1.1.1/24
Source 1
Source 2
Receiver
40.1.1.100/24
10.1.1.100/24
Multicast static route
Vlan-int200
40.1.1.1/24
Vlan-int100
10.1.1.1/24
OSPF domain
PIM-DM
50.1.1.100/24
Vlan-int300
50.1.1.1/24