Configuration Procedure
1. Configure the IP address and subnet mask for each interface as per Figure 57. (Details not shown.)
2. Configure OSPF on the switches to make sure the switches are interoperable at the network-layer,
and they can dynamically update their routing information. (Details not shown.)
3. Enable IP multicast routing, IGMP and PIM-SM, and configure a PIM domain border:
# On Switch A, enable IP multicast routing, enable IGMP on the host-side interface,
VLAN-interface 100, and enable PIM-SM on each interface.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] pim sm
MSDP peers
PIM-SM 1 PIM-SM 2 PIM-SM 3
Loop0
Loop0
Source 1
Source 2
Receiver
Host B
Receiver
Host C
Receiver
Host A
Vlan-int100
Vlan-int200
Switch A
Switch C
Switch D
Switch B
V
l
a
n
-
i
n
t
1
0
3
V
l
a
n
-
i
n
t
1
0
3
V
l
a
n
-i
n
t
1
0
1
V
l
a
n
-
i
n
t
1
0
1
Vlan-int300
Vlan-int104
Vlan-int104
Vlan-int500
Vlan-int400