171
Figure 54 Network diagram
Device
Interface
IP address
Device
Interface
IP address
Switch A VLAN-interface
100
10.110.1.1/24 Switch
D
VLAN-interface 300 10.110.5.1/24
VLAN-interface
101
192.168.1.1/24
VLAN-interface 101 192.168.1.2/24
VLAN-interface
102
192.168.9.1/24
VLAN-interface 105 192.168.4.2/24
Switch B VLAN-interface
200
10.110.2.1/24 Switch
E
VLAN-interface 104 192.168.3.2/24
VLAN-interface
103
192.168.2.1/24
VLAN-interface 103 192.168.2.2/24
Switch C VLAN-interface
200
10.110.2.2/24
VLAN-interface 102 192.168.9.2/24
VLAN-interface
104
192.168.3.1/24
VLAN-interface 105 192.168.4.1/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 in the PIM-SM domain to make sure they are interoperable at
the network layer. (Details not shown.)
3.
Enable IP multicast routing, IGMP and PIM-SM:
# On Switch A, enable IP multicast routing, enable IGMP on VLAN-interface 100 , and enable
PIM-SM on each interface.
<SwitchA> system-view
[SwitchA] multicast routing-enable
Source
10.110.5.100/24
PIM-SM
Switch A
Switch B
Switch C
Switch D
Receiver
Host A
Host B
Host C
Host D
Receiver
Switch E
Vlan-int100
Vlan-int200
Vlan-int200
Vlan-int300
Vlan-int102
Vlan-int102
Vlan-
int101
Vl
an
-int101
Vlan-int103
Vlan-int103
Vlan-int104
Vlan-int104
Vlan-int105
Vlan-int105