209
Loop0 1.1.1.1/32 Vlan-int400 10.110.7.1/24
Switch C Vlan-int101 192.168.1.2/24 Source 1 — 10.110.2.100/24
Vlan-int104 10.110.4.1/24 Source 2 — 10.110.5.100/24
Loop0 2.2.2.2/32
Configuration procedure
1. Configure IP addresses and unicast routing
Configure the IP address and subnet mask for each interface according to Figure 59 (details not shown).
Configure OSPF for int
erconnection 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).
2. Enable IP multicast routing, enable PIM-SM and IGMP, and configure a PIM-SM domain border
# 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.
3. Configure C-BSRs and C-RPs
# 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.
4. Configure a static RPF peer