A confederation contains a maximum of 32 sub-ASs. The AS number of a sub-AS is effective only in
the confederation.
To configure a BGP confederation:
Step
Enter system view.
1.
Enter BGP view.
2.
Configure a confederation
3.
ID.
Specify peering sub-ASs in
4.
the confederation.
Configuring confederation compatibility
If some other routers in the confederation do not comply with RFC 3065, you must enable
confederation compatibility to allow the router to work with those routers.
Step
Enter system view.
1.
Enter BGP view.
2.
Enable compatibility with
3.
routers not compliant with
RFC 3065 in the
confederation.
Configuring BGP GR
Graceful Restart (GR) ensures the continuity of packet forwarding when BGP restarts or a
master/slave switchover occurs:
•
GR Restarter—Graceful restarting router. It must be GR capable.
•
GR Helper—A neighbor of the GR Restarter. It helps the GR Restarter to complete the GR
process.
A device can act as a GR Restarter and GR Helper at the same time.
Following is a GR process:
A BGP GR Restarter and Helper exchange Open messages with GR capability. If both parties
1.
have the GR capability, the session established between them is GR capable.
When a master/slave switchover occurs on the GR Restarter, the GR Restarter does not
2.
remove existing route entries; it still uses these routes for packet forwarding. The GR Helper
marks all routes learned from the GR Restarter as stale, instead of deleting them; it still uses
these routes for packet forwarding. During the GR process, packet forwarding is not
interrupted.
After the master/slave switchover is completed, the GR Restarter reestablishes a GR session
3.
with the GR Helper. If no BGP session is established within the interval set with the
graceful-restart timer restart command, the GR Helper removes the stale routes.
If a BGP session is established, routing information is exchanged between them for the GR
4.
Restarter to retrieve route entries, and for the GR Helper to recover stale routes. You can
control the routing information exchange interval by configuring the graceful-restart timer
wait-for-rib command. If routing information exchange is not completed within the time, the GR
Restarter does not receive new routes; instead, it updates its routing table and forwarding table
Command
system-view
bgp as-number
confederation id as-number
confederation peer-as
as-number-list
Command
system-view
bgp as-number
confederation nonstandard
213
Remarks
N/A
N/A
Not configured by default.
Not configured by default.
Remarks
N/A
N/A
Optional.
Not enabled by default.