370 CHAPTER 36: BGP C ONFIGURATIONConfiguration procedure# Configure SwitchA.[SwitchA] bgp 1001[SwitchA-bgp] confederation id 100[SwitchA-bgp] confederation peer-as 1002 1003[SwitchA-bgp] group confed1002 external[SwitchA-bgp] peer 172.68.10.2 group confed1002 as-number 1002[SwitchA-bgp] group confed1003 external[SwitchA-bgp] peer 172.68.10.3 group confed1003 as-number 1003# Configure SwitchB.[SwitchB] bgp 1002[SwitchB-bgp] confederation id 100[SwitchB-bgp] confederation peer-as 1001 1003[SwitchB-bgp] group confed1001 external[SwitchB-bgp] peer 172.68.10.1 group confed1001 as-number 1001[SwitchB-bgp] group confed1003 external[SwitchB-bgp] peer 172.68.10.3 group confed1003 as-number 1003# Configure SwitchC.[SwitchC] bgp 1003[SwitchC-bgp] confederation id 100[SwitchC-bgp] confederation peer-as 1001 1002[SwitchC-bgp] group confed1001 external[SwitchC-bgp] peer 172.68.10.1 group confed1001 as-number 1001[SwitchC-bgp] group confed1002 external[SwitchC-bgp] peer 172.68.10.2 group confed1002 as-number 1002[SwitchC-bgp] group ebgp200 external[SwitchC-bgp] peer 156.10.1.2 group ebgp200 as-number 200[SwitchC-bgp] group ibgp1003 internal[SwitchC-bgp] peer 172.68.1.2 group ibgp1003Configuring BGP RR Network requirementsSwitchB receives an update packet passing through the EBGP, and transfers thepacket to SwitchC. SwitchC is configured as an RR with two clients SwitchB andSwitchD. After SwitchC receives the routing update information, it reflects themessage to SwitchD. You need not to establish IBGP connection between SwitchBand SwitchD, because SwitchC reflects information from SwitchC to SwitchD.Switch A Vlan-int 10 172.68.10.1/24 100Switch B Vlan-int 10 172.68.10.2/24Switch C Vlan-int 10 172.68.10.3/24Vlan-int 20 172.68.1.1/24Vlan-int 30 156.10.1.1/24Switch D Vlan-int 20 172.68.1.2/24Switch E Vlan-int 30 156.10.1.2/24 200