150
•
VLAN-interface 102 of Switch C acts as the C-BSR. Loopback 0 of Switch C acts as the C-RP.
•
IGMPv2 runs between Switch B and Host A, and between Switch D and Host B.
Figure 55 Network diagram
Table 10 Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
Switch A
Vlan-int100
192.168.1.1/24
Switch D
Vlan-int300
192.168.3.1/24
Switch A
Vlan-int101
10.110.1.1/24
Switch D
Vlan-int400
192.168.4.1/24
Switch B
Vlan-int200
192.168.2.1/24
Switch D
Vlan-int103
10.110.3.2/24
Switch B
Vlan-int101
10.110.1.2/24
Source 1
—
192.168.1.100/24
Switch B
Vlan-int102
10.110.2.1/24
Source 2
—
192.168.4.100/24
Switch C
Vlan-int102
10.110.2.2/24
Receiver 1
—
192.168.2.100/24
Switch C
Vlan-int103
10.110.3.1/24
Receiver 2
—
192.168.3.100/24
Switch C
Loop0
1.1.1.1/32
Configuration procedure
1.
Assign an IP address and subnet mask to each interface, as shown in
. (Details not
shown.)
2.
Configure OSPF on the switches in the BIDIR-PIM domain. (Details not shown.)
3.
Enable IP multicast routing, PIM-SM, BIDIR-PIM, and IGMP:
# On Switch A, enable IP multicast routing, enable PIM-SM on each interface, and enable
BIDIR-PIM.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
BIDIR-PIM
Source 1
Source 2
Host A
Receiver 1
Switch A
Vlan-int101
Vlan-int101
Vlan-int102
Vlan-int102
Vlan-int103
Vlan-int103
Vlan-int100
Vlan-int200
Vlan-int300
Vlan-int400
Switch D
Switch C
Switch B
Host B
Receiver 2
Loop0