284
A confederation contains sub-ASs. In each sub-AS, IBGP peers are fully meshed. Sub-ASs establish
EBGP connections in between.
Configuring a BGP confederation
After you split an AS into multiple sub-ASs, configure a router in a sub-AS as follows:
1. Enable BGP and specify the AS number of the router. For more information, see "Enabling
BGP."
2. Specify the confederation ID. From an outsider's perspective, the sub-ASs of the confederation
is a single AS, which is identified by the confederation ID.
3. If the router needs to establish EBGP connections to other sub-ASs, you must specify the
peering sub-ASs in the confederation.
A confederation can contain a maximum of 32 sub-ASs. The AS number of a sub-AS is effective only
in the confederation.
To configure a BGP confederation:
1. Enter system view.
system-view
N/A
2. Enter BGP instance view.
bgp
as-number [
instance
instance-name ]
N/A
3. Configure a confederation
ID.
confederation id
as-number
By default, no confederation ID is
configured.
4. Specify confederation peer
sub-ASs in the
confederation.
confederation peer-as
as-number-list
By default, no confederation peer
sub-ASs are specified.
Configuring confederation compatibility
If any routers in the confederation do not comply with RFC 3065, enable confederation compatibility
to allow the router to work with those routers.
To configure confederation compatibility:
1. Enter system view.
system-view
N/A
2. Enter BGP instance view.
bgp
as-number [
instance
instance-name ]
N/A
3. Enable confederation
compatibility.
confederation nonstandard
By default, confederation
compatibility is disabled.
Configuring BGP GR
Graceful Restart (GR) ensures forwarding continuous when a routing protocol restarts or an
active/standby switchover occurs. Two routers are required to complete a GR process. The following
are router roles in a GR process:
• GR restarter—Performs GR upon a BGP restart or active/standby switchover.
• GR helper—Helps the GR restarter to complete the GR process.
A device can act as a GR restarter and GR helper at the same time.
BGP GR works as follows: