![](/images/new-backgrounds/1191620/191620119x1.webp)
BGP and BGP4+ Configuration
Configuring a BGP Confederation
In this example, AS1 contains three Confederation Autonomous Systems - AS 1000, AS 1001 and AS 1002. To any outside AS, the Confederation is a single AS. AS1 Confederation eBGP is run between Peer 2 and Peer 5, and between Peer 5 and Peer 7. Peer 2 is configured so that its local AS is 1000. Its peer connection to Peer 5 is set up like any other eBGP session.
The bgp confederation identifier (BGP and BGP4+) command on page 3.21 tells the peer that it is a member of a Confederation and the Confederation ID. The bgp confederation peers (BGP and BGP4+) command on page 3.22 lists the member AS to which Peer 2 is connected. The command tells the BGP process that the eBGP connection is a Confederation eBGP rather than a normal eBGP.
AS1 |
| Peer 7 | Peer 8 |
|
| ||
|
|
| 10.10.15.8 |
AS1000 |
|
|
|
Peer 1 |
| 10.10.11.7 | AS1002 |
|
|
| |
10.10.9.1 |
| eBGP |
|
|
|
| |
eBGP |
| 10.10.11.5 |
|
|
|
| |
10.10.10.2 | 10.10.10.5 |
|
|
Peer 2 |
| Peer 5 |
|
| 10.10.12.4 | AS1001 | 10.10.13.6 |
10.10.7.3 |
|
| |
Peer 3 |
|
|
|
| Peer 4 |
| Peer 6 |
|
|
| bgp_5 |
Peer 2 |
|
|
|
awplus# |
|
|
|
configure terminal Enter the Global Configuration mode.
awplus(config)#
router bgp 1000 Define the BGP routing process. The number 1000 specifies the AS number of Peer 2.
awplus(config-router)#
bgp confederation identifier 1 Specify a BGP Confederation Identifier. To routers outside the confederation, the whole confederation will appear as a single AS, and the identifier will appear as its AS number.
awplus(config-router)#
bgp confederation peers 1001 1002 Specify 1001 (AS1001) and 1002 (AS1002) to become members of the Confederation.
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
2.8 | AlliedWare PlusTM Operating System - Software Version |