
C613-50186-01 Rev B
Command Reference for AR2050V
1124
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
BGP
CONFEDERATION
PEERS
bgp confederation peers
Overview
This command configures the Autonomous Systems (AS) that belong to the same
confederation as the current device.
A confederation allows an AS to be divided into several sub-ASs. The overall AS is
given a confederation identifier. External routers view only the whole
confederation as one AS, whose AS number is the confederation identifier. Each
sub-AS is fully meshed within itself and is visible internally to the confederation.
Use the
bgp confederation peer
command to define the list of AS numbers of the
sub-ASs in the confederation containing the current device.
The
no
variant of this command removes an autonomous system from the
confederation.
Syntax
bgp confederation peers <
1-4294967295
>
no bgp confederation peers <
1-4294967295
>
Mode
Router Configuration
Usage
In the following configuration of
Router 1
the neighbor
172.210.30.2
and
172.210.20.1
have iBGP connection within AS
100
. The neighbor
173.213.30.1
has an BGP connection, but it is within AS
200
, which is part of
the same confederation. The neighbor
6.6.6.6
has an eBGP connection to
external AS
500
.
In the configuration of
Router 2
, neighbor
5.5.5.4
has an eBGP connection to
confederation
300
.
Router2
does not know about the ASs
100
and
200
, it only
knows about confederation
300
.
Router 1
awplus(config)#
router bgp 100
awplus(config-router)#
bgp confederation identifier 300
awplus(config-router)#
bgp confederation peers 200
awplus(config-router)#
neighbor 172.210.30.2 remote-as 100
awplus(config-router)#
neighbor 172.210.20.1 remote-as 100
awplus(config-router)#
neighbor 173.213.30.1 remote-as 200
awplus(config-router)#
neighbor 6.6.6.6 remote-as 300
Router 2
awplus(config)#
router bgp 500
awplus(config-router)#
neighbor 5.5.5.4 remote-as 300
Parameter
Description
<1-4294967295>
AS numbers of eBGP peers that are under same confederation
but in a different sub-AS.