212
Vlan-int101 192.168.1.1/24 Loop10 4.4.4.4/32
Loop0 1.1.1.1/32 Loop20 10.1.1.1/32
Loop10 3.3.3.3/32 Switch E Vlan-int400 10.110.6.1/24
Loop20 10.1.1.1/32 Vlan-int104 10.110.4.2/24
Configuration procedure
1. Configure IP addresses and unicast routing
Configure the IP address and subnet mask for each interface according to Figure 60 (details not shown).
Configure OSPF for interconn
ection between the switches. Ensure the network-layer interoperation
among the switches, and ensure the dynamic update of routing information between the switches
through a unicast routing protocol (details not shown).
2. Enable IP multicast routing, and enable PIM-SM and IGMP
# Enable IP multicast routing on Switch B, enable PIM-SM on each interface, and enable IGMP on the
host-side interface VLAN-interface 100.
<SwitchB> system-view
[SwitchB] multicast routing-enable
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] igmp enable
[SwitchB-Vlan-interface100] pim sm
[SwitchB-Vlan-interface100] quit
[SwitchB] interface vlan-interface 103
[SwitchB-Vlan-interface103] pim sm
[SwitchB-Vlan-interface103] quit
[SwitchB] interface Vlan-interface 101
[SwitchB-Vlan-interface101] pim sm
[SwitchB-Vlan-interface101] quit
[SwitchB] interface loopback 0
[SwitchB-LoopBack0] pim sm
[SwitchB-LoopBack0] quit
[SwitchB] interface loopback 10
[SwitchB-LoopBack10] pim sm
[SwitchB-LoopBack10] quit
[SwitchB] interface loopback 20
[SwitchB-LoopBack20] pim sm
[SwitchB-LoopBack20] quit
The configuration on Switch A, Switch C, Switch D, and Switch E is similar to the configuration on
Switch B.
3. Configure C-BSRs and C-RPs
# Configure Loopback 10 as a C-BSR and Loopback 20 as a C-RP on Switch B.
[SwitchB] pim
[SwitchB-pim] c-bsr loopback 10
[SwitchB-pim] c-rp loopback 20
[SwitchB-pim] quit
The configuration on Switch D is similar to the configuration on Switch B.
4. Configure MSDP peers