215
Figure 64 Network diagram
Device
Interface
IP address
Device
Interface
IP address
Source 1 —
10.110.5.100/24
Switch
C
VLAN-interface
101
192.168.1.2/24
Source 2 —
10.110.6.100/24
VLAN-interface
102
192.168.2.2/24
Switch A VLAN-interface 300 10.110.5.1/24
Switch
D
VLAN-interface
200
10.110.3.1/24
VLAN-interface
103
10.110.2.2/24
VLAN-interface
104
10.110.4.1/24
Switch B VLAN-interface 100 10.110.1.1/24
VLAN-interface
102
192.168.2.1/24
VLAN-interface
103
10.110.2.1/24
Loop0 2.2.2.2/32
VLAN-interface
101
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-interface
400
10.110.6.1/24
Loop20
10.1.1.1/32
VLAN-interface
104
10.110.4.2/24
Configuration procedure
1.
Assign an IP address and subnet mask to each interface according to
. (Details not
shown.)
2.
Configure OSPF on the switches 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 PIM-SM and IGMP:
# On Switch B, enable IP multicast routing, enable PIM-SM on each interface, and enable IGMP
on the host-side interface VLAN-interface 100.
<SwitchB> system-view
Loo
p0
Lo
op20
Loop
20
Loo
p0
V
la
n-
in
t1
01
V
la
n-
in
t1
01
V
la
n-i
nt1
02
V
la
n-i
nt1
02
V
la
n-i
nt1
03
V
la
n-i
nt1
03
V
la
n-
in
t1
04
V
la
n-
in
t1
04