583
SwitchA:
SwitchA(config)#router bgp 100
SwitchA(config-router-bgp)#neighbor 11.1.1.2 remote-as 200
SwitchB:
SwitchB(config)#router bgp 10
SwitchB(config-router-bgp)#bgp confederation identifier 200
SwitchB(config-router-bgp)#bgp confederation peers 20
SwitchB(config-router-bgp)#neighbor 12.1.1.3 remote-as 10
SwitchB(config-router-bgp)#neighbor 13.1.1.4 remote-as 20
SwitchB(config-router-bgp)#neighbor 11.1.1.1 remote-as 100
SwitchC:
SwitchC(config)#router bgp 10
SwitchC(config-router-bgp)#bgp confederation identifier 200
SwitchC(config-router-bgp)#bgp confederation peers 20
SwitchC(config-router-bgp)#neighbor 12.1.1.2 remote-as 10
SwitchD:
SwitchD(config)#router bgp 20
SwitchD(config-router-bgp)#bgp confederation identifier 200
SwitchD(config-router-bgp)#bgp confederation peers 10
SwitchD(config-router-bgp)#neighbor 13.1.1.2 remote-as 10
14.8.4.5 Examples 5: configure BGP route reflector
The following is the configuration of a route reflector. As the picture illustrated,
SwitchA, SwitchB, SwitchC, SwitchD, SWE, SWF and SWG establish IBGP connection
which is affiliated to AS100. SwitchC creates EBGP connection with AS200. SwitchA
creates EBGP connection with AS300. SwitchC, SwitchD and SWG make route
reflectors.