Switch C
Configuration procedure
Configure IP addresses and unicast routing
1.
Configure the IP address and subnet mask for each interface according to
Configure OSPF for interconnection between the switches. Ensure the network-layer interoperation in
each AS, and ensure the dynamic update of routing information among the switches through a unicast
routing protocol (details not shown).
Enable IP multicast routing, enable PIM-SM and IGMP, and configure a PIM-SM domain border
2.
# Enable IP multicast routing on Switch A, enable PIM-SM on each interface, and enable IGMP on the
host-side interface VLAN-interface 200.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 103
[SwitchA-Vlan-interface103] pim sm
[SwitchA-Vlan-interface103] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] igmp enable
[SwitchA-Vlan-interface200] pim sm
[SwitchA-Vlan-interface200] quit
The configuration on Switch B, Switch C, Switch D, Switch E, and Switch F is similar to the configuration
on Switch A.
# Configure PIM domain borders on Switch B.
[SwitchB] interface vlan-interface 102
[SwitchB-Vlan-interface102] pim bsr-boundary
[SwitchB-Vlan-interface102] quit
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] pim bsr-boundary
[SwitchB-Vlan-interface101] quit
The configuration on Switch C and Switch E is similar to the configuration on Switch B.
Configure C-BSRs and C-RPs
3.
# Configure Loopback 0 as a C-BSR and a C-RP on Switch B.
[SwitchB] pim
[SwitchB-pim] c-bsr loopback 0
[SwitchB-pim] c-rp loopback 0
[SwitchB-pim] quit
The configuration on Switch C and Switch E is similar to the configuration on Switch B.
Configure a static RPF peer
4.
Loop0
1.1.1.1/32
Vlan-int101
192.168.1.2/24
Vlan-int104
10.110.4.1/24
Loop0
2.2.2.2/32
Vlan-int400
Source 1
—
Source 2
—
209
10.110.7.1/24
10.110.2.100/24
10.110.5.100/24
Figure 59
(details not shown).