4 examples 4: configure bgp confederation – PLANET XGS3-24040 User Manual
Page 325

Chapter 39 BGP
39-19
39.3.4 Examples 4: configure BGP confederation
The following is the configuration of an AS. As the picture illustrated, SwitchB and SwitchC establish IBGP
connection. SwitchD is affiliated to AS 20.SwitchB and SwitchC establish EBGP of inner AS confederation.
AS10 and AS20 form AS confederation with the AS number AS200; SwitchA belongs to AS100, SwitchB may
create EBGP connection by AS200.
Figure 7-2 Confederation configuring topology
The configurations are as following:
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
AS200
AS10
AS20
AS100
vlan1:11.1.1.1
AS300
vlan1:11.1.1.2
Vlan2:13.1.1.2
vlan3:12.1.1.2
vlan1:12.1.1.3
vlan1:13.1.1.4
SwitchA
SwitchB
SwitchC
SwitchD