179
# Enable PIM-SM on each interface, and enable IGMP on the receiver-side interface
(VLAN-interface 200).
[SwitchC] interface vlan-interface 102
[SwitchC-Vlan-interface102] pim sm
[SwitchC-Vlan-interface102] quit
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] igmp enable
[SwitchC-Vlan-interface200] quit
[SwitchC] interface vlan-interface 104
[SwitchC-Vlan-interface104] pim sm
[SwitchC-Vlan-interface104] quit
# Configure Switch A, Switch B, Switch D, Switch E, Switch F, and Switch G in the same way
Switch C is configured. (Details not shown.)
# On Switch B, configure the PIM domain borders.
[SwitchB] interface vlan-interface 103
[SwitchB-Vlan-interface103] pim bsr-boundary
[SwitchB-Vlan-interface103] quit
# Configure the PIM domain borders on Switch C, Switch D, and Switch F in the same way
Switch B is configured. (Details not shown.)
4.
Configure C-BSRs and C-RPs:
# On Switch A, configure Loopback 0 as a C-BSR and a C-RP.
[SwitchA] pim
[SwitchA-pim] c-bsr 1.1.1.1
[SwitchA-pim] c-rp 1.1.1.1
[SwitchA-pim] quit
# Configure C-BSRs and C-RPs on Switch D and Switch G in the same way Switch A is
configured. (Details not shown.)
5.
Configure BGP, and redistribute BGP routing information into OSPF and OSPF routing
information into BGP:
# On Switch B, configure an EBGP peer, and redistribute OSPF routing information.
[SwitchB] bgp 100
[SwitchB-bgp] router-id 1.1.1.2
[SwitchB-bgp] peer 10.110.3.2 as-number 200
[SwitchB-bgp] address-family ipv4 unicast
[SwitchB-bgp-ipv4] peer 10.110.3.2 enable
[SwitchB-bgp-ipv4] import-route ospf 1
[SwitchB-bgp-ipv4]quit
[SwitchB-bgp] quit
# On Switch D, configure an EBGP peer, and redistribute OSPF routing information.
[SwitchD] bgp 200
[SwitchD-bgp] router-id 2.2.2.2
[SwitchD-bgp] peer 10.110.3.1 as-number 100
[SwitchD-bgp] address-family ipv4 unicast
[SwitchD-bgp-ipv4] peer 10.110.3.1 enable
[SwitchD-bgp-ipv4] import-route ospf 1
[SwitchD-bgp-ipv4]quit
[SwitchD-bgp] quit
# On Switch C, configure an EBGP peer, and redistribute OSPF routing information.