146
Device
Interface
IP address
Device
Interface
IP address
Switch C Vlan-int104
10.110.4.1/24
Switch F
Vlan-int107
10.110.8.2/24
Switch C Vlan-int105
10.110.5.1/24
Switch F
Vlan-int102
10.110.3.2/24
Switch C Vlan-int103
10.110.2.2/24
Switch G Vlan-int500
192.168.5.1/24
Switch C Vlan-int106
10.110.6.1/24
Switch G Vlan-int109
10.110.9.2/24
Switch H Vlan-int110
10.110.10.1/24
Source 1 —
192.168.2.10/24
Switch H Vlan-int106
10.110.6.2/24
Source 2 —
192.168.3.10/24
Switch I
Vlan-int600
192.168.6.1/24
Source 3 —
192.168.5.10/24
Switch I
Vlan-int110
10.110.10.2/24
Configuration procedure
1.
Assign an IP address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPF on all switches in the PIM-SM domain. (Details not shown.)
3.
Enable IP multicast routing, and enable IGMP and PIM-SM:
# On Switch A, enable IP multicast routing.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable IGMP on the receiver-side interface (VLAN-interface 100).
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] quit
# Enable PIM-SM on VLAN-interface 101.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
[SwitchA-Vlan-interface101] quit
# Enable IP multicast routing, IGMP, and PIM-SM on Switch E and Switch I in the same way
Switch A is configured. (Details not shown.)
# On Switch B, enable IP multicast routing, and enable PIM-SM on each interface.
<SwitchB> system-view
[SwitchB] multicast routing
[SwitchB-mrib] quit
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] pim sm
[SwitchB-Vlan-interface200] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] pim sm
[SwitchB-Vlan-interface101] quit
[SwitchB] interface vlan-interface 102
[SwitchB-Vlan-interface102] pim sm
[SwitchB-Vlan-interface102] quit
[SwitchB] interface vlan-interface 103
[SwitchB-Vlan-interface103] pim sm
[SwitchB-Vlan-interface103] quit