Loop0 2.2.2.2/32
Configuration procedure
1. Configure the IP address and subnet mask for each interface as per Figure 54. (Details not shown.)
2. Configure OSPF on switches in each AS to make sure the switches in each AS are interoperable
at the network-layer, and they can dynamically update their routing information. (Details not
shown.)
3. Enable IP multicast routing, enable PIM-SM on each interface, 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
# Enable IP multicast routing, enable PIM-SM on each interface, and enable IGMP on Switch B,
Switch C, Switch D, Switch E, and Switch F in the same way. (Details not shown.)
# Configure a PIM domain border on Switch B.
[SwitchB] interface vlan-interface 101
[SwitchB-Vlan-interface101] pim bsr-boundary
[SwitchB-Vlan-interface101] quit
# Configure a PIM domain border on Switch C and Switch E in the same way. (Details not shown.)
4. 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
# Configure C-BSRs and C-RPs on Switch C and Switch E in the same way. (Details not shown.)
5. Configure BGP for mutual route redistribution between BGP and OSPF:
# Configure an EBGP peer, and redistribute OSPF routes on Switch B.
[SwitchB] bgp 100
[SwitchB-bgp] router-id 1.1.1.1