236
The router ID of Switch B is 1.1.1.1, and the router ID of Switch D is 2.2.2.2. Set up an MSDP peering
relationship between Switch B and Switch D.
Figure 64 Network diagram
Device Interface IP address
Device
Interface
IP address
Source 1 — 10.110.5.100/24 Switch C Vlan-int101 192.168.1.2/24
Source 2 —
10.110.6.100/24
Vlan-int102 192.168.2.2/24
Switch A Vlan-int300 10.110.5.1/24
Switch D
Vlan-int200 10.110.3.1/24
Vlan-int103 10.110.2.2/24 Vlan-int104 10.110.4.1/24
Switch B Vlan-int100 10.110.1.1/24
Vlan-int102 192.168.2.1/24
Vlan-int103 10.110.2.1/24
Loop0
2.2.2.2/32
Vlan-int101 192.168.1.1/24 Loop10 4.4.4.4/32
Loop0 1.1.1.1/32
Loop20
10.1.1.1/32
Loop10 3.3.3.3/32
Switch E
Vlan-int400 10.110.6.1/24
Loop20 10.1.1.1/32 Vlan-int104 10.110.4.2/24
Configuration procedure
1. Configure the IP address and subnet mask for each interface as per Figure 64. (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:
# Enable IP multicast routing on Switch B, enable IGMP on the host-side interface VLAN-interface
100, and enable PIM-SM on each interface.
<SwitchB> system-view
[SwitchB] multicast routing-enable
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] igmp enable
Lo
o
p0
Lo
o
p20
Loo
p2
0
Loop0
V
l
a
n
-
i
n
t
1
0
1
V
l
a
n
-
i
n
t
1
0
1
V
l
a
n
-
i
n
t
1
0
2
V
l
a
n
-i
n
t
1
0
2
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
4
V
l
a
n
-
i
n
t
1
0
4