130
Device Interface IP
address
Switch A VLAN-interface 101 10.110.1.1/24
Switch B VLAN-interface 200 192.168.2.1/24
Switch B VLAN-interface 101 10.110.1.2/24
Switch B VLAN-interface 102 10.110.2.1/24
Switch C VLAN-interface 102 10.110.2.2/24
Switch C VLAN-interface 103 10.110.3.1/24
Switch C Loopback 0 1.1.1.1/32
Switch D VLAN-interface 300 192.168.3.1/24
Switch D VLAN-interface 400 192.168.4.1/24
Switch D VLAN-interface 103 10.110.3.2/24
Source 1 — 192.168.1.100/24
Source 2 — 192.168.4.100/24
Receiver 1 — 192.168.2.100/24
Receiver 2 — 192.168.3.100/24
Configuration procedure
1. Assign an IP address and subnet mask to each interface according to Figure 48. (Details not
shown.)
2. Configure OSPF on the switches in the BIDIR-PIM domain 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, PIM-SM, BIDIR-PIM, and IGMP:
# On Switch A, enable IP multicast routing.
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable PIM-SM on each interface.
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
[SwitchA-Vlan-interface101] quit
# Enable BIDIR-PIM.
[SwitchA] pim
[SwitchA-pim] bidir-pim enable
[SwitchA-pim] quit
# On Switch B, enable IP multicast routing.
<SwitchB> system-view