RFC 6198
Requirements for the Graceful Shutdown of BGP Sessions
RFC 6198: Requirements for the Graceful Shutdown of BGP Sessions π
Okay bestie, the header first, because it's the vibe check π. This is RFC 6198, Requirements for the Graceful Shutdown of BGP Sessions, published in April 2011 by the IETF. It's Informational πΈ, so it's not a Standards Track spec. It's ISSN 2070-1721 and it doesn't list anything it obsoletes or updates β¨. The authors are B. Decraene (France Telecom), P. Francois (UCL), C. Pelsser (IIJ), Z. Ahmad (Orange Business Services), A.J. Elizondo Armengol (Telefonica I+D), and T. Takeda (NTT). A whole squad π«Ά
Abstract β¨
BGP is everywhere in Service Provider networks, for both Internet service and BGP/MPLS VPNs π. For resiliency, you can deploy redundant routers and BGP sessions so that when an Autonomous System Border Router (ASBR) or a BGP session breaks, customers' or peers' traffic doesn't take the hit as hard. But here's the tea: even just taking a BGP session down, or bringing it up, for maintenance can still cause connectivity losses while BGP converges π. That's not it for new apps like voice over IP, online gaming, and VPNs. So this doc says we need a solution for gracefully shutting down a (set of) BGP session(s), so a planned shutdown loses way less traffic π¦. This document lays out the requirements for that solution.
Status of This Memo π§
This document is not an Internet Standards Track specification; it is published for informational purposes.
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documents approved by the IESG are a candidate for any level of Internet Standard; see Section 2 of RFC 5741.
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc6198.
Copyright Notice π
Copyright (c) 2011 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
Table of Contents π
1. Introduction ....................................................2
2. Conventions Used in This Document ...............................3
3. Problem Statement ...............................................4
3.1. Example of Undesirable BGP Routing Behavior ................4
3.2. Causes of Packet Loss ......................................5
4. Terminology .....................................................6
5. Goals and Requirements ..........................................7
6. Security Considerations ........................................10
7. References .....................................................10
7.1. Normative References ......................................10
7.2. Informative References ....................................10
Acknowledgments ...................................................11
Appendix A. Reference BGP Topologies ..............................12
A.1. EBGP Topologies ...........................................12
A.2. IBGP Topologies ...........................................15
A.3. Routing Decisions .........................................19
1. Introduction π¦
Okay so, BGP ([RFC4271]) is heavily used in Service Provider networks for both Internet and BGP/MPLS VPN services ([RFC4364]). For resiliency, you can deploy redundant routers and BGP sessions to soften the blow when an Autonomous System Border Router (ASBR) or a BGP session breaks down, for customers' or peers' traffic π.
Picture this: a Service Provider is doing maintenance and needs to shut down one or more BGP peering links, or a whole ASBR π§. If there's an alternate path inside the Autonomous System (AS), the goal is to avoid or reduce customer or peer traffic loss during BGP convergence. Main character energy for the backup path π.
Since the alternate path exists in the AS, it should be made possible to reroute customer or peer traffic onto that backup path before the BGP session(s) is/are torn down, the nominal path is withdrawn, and forwarding stops π.
The requirements also cover bringing the BGP session back up again πΈ. Even this "UP" case can currently trigger route loss, and therefore traffic loss, at some routers π.
BGP ([RFC4271]) and MP-BGP ([RFC4760]) don't currently have a mechanism to gracefully move traffic from one BGP next-hop to another without interrupting the flow β¨. When a BGP session goes down, BGP acts like there was a sudden link or router failure. It withdraws the prefixes learned over that session, and that can cause traffic loss π. While the prefix is still being advertised as reachable, there's no way to tell BGP peers that the prefix is about to become unreachable π. If such a mechanism existed and applied, it would reduce or prevent traffic loss. It would typically apply during a maintenance operation that requires shutting down a forwarding resource. Typical examples are link or line card maintenance, replacement, or upgrade π§. It may also apply to a software upgrade, since that can involve a firmware reset on the line cards and therefore a forwarding interruption.
Route reflectors (RRs) were introduced as per [RFC4456] to fix scalability issues with Internal BGP (IBGP) full-meshes. But they made routing convergence take longer, because some route reflectors may hide the backup path π« . So, depending on the RR topology, more IBGP hops may be involved in IBGP convergence.
Note that Graceful Restart (GR) extensions ([RFC4724]) can't handle these planned maintenance operations, because GR only applies when forwarding is preserved during a control plane restart π ββοΈ. Graceful shutdown is the opposite: it applies when forwarding is interrupted.
Also, some protocols already consider a graceful shutdown procedure, like GMPLS in [RFC5817] π.
A metric of success is how well such a mechanism eliminates traffic loss during maintenance operations π.
2. Conventions Used in This Document π
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119].
3. Problem Statement π
Per [RFC4271], when one (or many) BGP session(s) are shut down, a BGP NOTIFICATION message is sent to the peer and then the session is closed π©. A protocol convergence is triggered by both the local router and the peer. Alternate paths to the destination are selected, if known. If those alternate paths aren't known before the BGP session shuts down, additional BGP convergence steps are required in each AS to search for an alternate path π.
This behavior is not it in a maintenance situation π ββοΈ, because traffic headed to the removed next-hops may be lost until the end of BGP convergence. Since it's a planned operation, a make-before-break solution should be made possible π .
Maintenance operations are frequent in large networks [Reliable], so the global availability of the network takes a real hit from this BGP maintenance issue π.
3.1. Example of Undesirable BGP Routing Behavior π
Let's walk through a simple example π§. One customer router "CUST" is dual-attached to two Service Providers' routers, "ASBR1" and "ASBR2".
ASBR1 and ASBR2 are in the same AS and are owned by the same Service Provider. Both are IBGP clients of the route reflector R1.
'
AS1 ' AS2
'
/-----------ASBR1---
/ \
/ \
CUST R1
\ /
Z/z \ /
\-----------ASBR2---
'
AS1 ' AS2
'
Figure 1. Dual-Attached Customer
Before maintenance, packets for destination Z/z use the ASBR1-CUST link, because R1 selects ASBR1's route based on the IGP cost π«.
Say the Service Provider wants to shut down the ASBR1-CUST link for maintenance π§. Right now, when the shutdown is performed on ASBR1, these steps happen:
- ASBR1 withdraws its prefix Z/z to its route reflector, R1.
- R1 runs its decision process, selects the route from ASBR2, and advertises the new path to ASBR1.
- ASBR1 runs its decision process and recovers the reachability of Z/z.
Traffic is lost from step 1, when ASBR1 loses its route, until step 3, when it discovers a new path π©.
Note that this is a simplified description for illustrative purposes. In a bigger AS, multiple steps of BGP convergence may be required to find and select the best alternate path (e.g., ASBR1 may be chosen based on a higher LOCAL_PREF, or hierarchical route reflectors may be used, etc.). When multiple BGP routers are involved and plenty of prefixes are affected, the recovery process can take longer than application requirements π.
3.2. Causes of Packet Loss π¦
okay so packet loss during maintenance has two main causes π
- lack of an alternate path on some routers, and
- transient routing inconsistency.
Some routers might not have an alternate path because another router is hiding the backup path from them π That hiding router can be:
- a route reflector only propagating its best path.
- the backup ASBR not advertising the backup path because it prefers the nominal path.
Not knowing about the alternate path is the first thing this requirements document wants to fix π₯
Then there's the transient routing inconsistency, which is lowkey chaotic π It happens during IBGP convergence because routers don't update their Routing Information Bases (RIBs) at the same time, so they also don't update their Forwarding Information Bases (FIBs) at the same time. That can cause forwarding loops, which lead to both link congestion and packet drops π How long these transient micro-loops last depends on a few things: the IBGP topology (e.g., number of route reflectors between ingress and egress ASBR), implementation differences among router platforms (which result in differences in the time taken to update specific prefix in the FIB), and forwarding mode (hop-by-hop IP forwarding versus tunneling). It's giving "it depends" energy, fr fr β¨
Micro-loops won't happen when an IP lookup is only performed on entry to the AS, for example, prior to entry into a tunnel across the AS. An example of this is when BGP is being used as the routing protocol for MPLS VPN as defined in [RFC4364]. Iconic setup π
Also, [RFC5715] defines a framework for loop-free convergence π It was written with IP fast reroute for link state IGP [RFC5714] in mind, but some of its concepts are also of interest for BGP convergence π§
4. Terminology πβ¨
g-shut: Graceful shutdown. A method for explicitly notifying the BGP routers that a BGP session (and hence the prefixes learned over that session) is going to be disabled. πΈ
g-noshut: Graceful no shutdown. A method for explicitly notifying the BGP routers that a BGP session (and hence the prefixes learned over that session) is going to be enabled. π·
g-shut initiator: the router on which the session(s) shutdown(s) is (are) performed for maintenance. π
g-shut neighbor: a router that peers with the g-shut initiator via (one of) the session(s) undergoing maintenance. π«Ά
affected prefixes: a prefix initially reached via the peering link(s) undergoing maintenance. π
affected router: a router reaching an affected prefix via a peering link undergoing maintenance. π₯
initiator AS: the autonomous system of the g-shut initiator router. π
neighbor AS(es): the autonomous system(s) of the g-shut neighbor router(s). π¦
5. Goals and Requirements π―π
Right now, when a BGP session on the router under maintenance gets shut down, the router removes the routes and then kicks off BGP convergence on its peers by withdrawing its route. Messy, bestie π
The big goal of a BGP graceful shutdown on a (set of) BGP session(s) is to minimize traffic loss during a planned shutdown. Ideally, a solution should bring that traffic loss down to zero π€©
Another goal is to minimize and, preferably, eliminate packet loss when the BGP session is re-established after the maintenance π§
Since the event is known in advance, a make-before-break solution can be used. The idea is to start BGP convergence, find and install the alternate paths, and only then remove the nominal paths. So before the nominal BGP session shuts down, all affected routers learn and use the alternate paths β¨ Those alternate paths get computed by BGP, taking into account the known status of the network. That includes known failures the network is already dealing with at the same time as the BGP session graceful shutdown, and possibly other known graceful shutdowns happening at the same time. So multiple BGP graceful shutdowns that overlap within a short time frame get handled gracefully too. A given graceful shutdown takes into account all the previous ones π«Ά
So, as long as an alternate path with enough remaining capacity exists, packets get rerouted before the BGP session terminates, and fewer packets (possibly none) get lost during the BGP convergence process. Why? Because at any time, all routers have a valid path π
From all of the above goals, we can derive the following requirements:
a) A mechanism to advertise the maintenance action to all affected routers is REQUIRED π¨ Such a mechanism may be either implicit or explicit. Affected routers can be in the local AS and in neighboring ASes, so keep that in mind. Also, the maintenance action can either be the shutdown of a BGP session or the establishment of a BGP session.
The mechanism SHOULD allow BGP routers to minimize and, preferably, eliminate packet loss when a path is removed or advertised. In particular, it SHOULD be ensured that the old path is not removed from the routing tables of the affected routers before the new path is known π
The solution mechanism MUST significantly reduce and, ideally, eliminate packet loss. A trade-off may be made between the degree of packet loss and the simplicity of the solution π§
b) An Internet-wide convergence is OPTIONAL π However, if the initiator AS and the neighbor AS(es) have a backup path, they SHOULD be able to gracefully converge before the nominal path is shut down β¨
c) The proposed solution SHOULD be applicable to any kind of BGP sessions (External BGP (EBGP), IBGP, IBGP route reflector client, EBGP confederations, EBGP multi hop, MultiProtocol BGP extension, etc.) and any address family π If a BGP implementation allows closing or enabling a subset of Address Family Identifiers (AFIs) carried in an MP-BGP session, this mechanism MAY be applicable to that subset of AFIs.
Depending on the kind of session, there may be some variations in the proposed solution in order to fulfill the requirements π
The following cases should be handled in priority:
- The shutdown of an inter-AS link and therefore the shutdown of an EBGP session;
- The shutdown of an ASBR and therefore the shutdown of all its BGP sessions.
Service Providers and platforms implementing a graceful shutdown solution should note that in BGP/MPLS VPN as per [RFC4364], the Provider Edge - Customer Edge (PE-CE) routing can be performed by protocols other than BGP (e.g., static routes, RIPv2, OSPF, IS-IS). That's out of scope for this document π
d) The proposed solution SHOULD NOT change the BGP convergence behavior for the ASes exterior to the maintenance process, namely, ASes other than the initiator AS and its neighbor AS(es) π ββοΈ
e) An incremental deployment on a per-AS or per-BGP session basis MUST be made possible π§© In case of partial deployment, the proposed solution SHOULD incrementally improve the maintenance process. In an inter-domain relation, one AS may have more incentive to use graceful shutdown than the other. Similarly, in a BGP/MPLS VPN environment, it's much easier to upgrade the PE routers than the CE ones, mainly because there is at least an order of magnitude more CE and CE locations than PE and PE locations π As a consequence, when splitting the cost of the solution between the g-shut initiator and the g-shut neighbor, the solution SHOULD favor a low-cost solution on the neighbor AS side in order to reduce the impact on the g-shut neighbor. Impact is a generic term that includes first hardware, then software, then configuration upgrade π
f) Redistribution or advertisement of (static) IP routes into BGP SHOULD also be covered π£οΈ
g) The proposed solution MAY be designed in order to avoid transient forwarding loops. Forwarding loops increase packet transit-delay and may lead to link saturation, which is so not it π
h) The specific procedure SHOULD end when the BGP session is closed following the g-shut and once the BGP session is gracefully opened following the g-noshut. In the end, once the planned maintenance is finished, the nominal BGP routing MUST be re-established β¨ The duration of the g-shut procedure, and hence the time before the BGP session is safely closed, SHOULD be discussed by the solution document. Examples of possible solutions are a pre-configured timer, a message to signal the end of the BGP convergence, or monitoring the traffic on the g-shut interface β±οΈ
i) The solution SHOULD be simple and simple to operate π§Έ Hence, it MAY only cover a subset of the cases. As a consequence, most of the above requirements are expressed as "SHOULD" rather than "MUST" π«
The metrics to evaluate and compare the proposed solutions are:
- The duration of the remaining loss of connectivity when the BGP session is brought down or up;
- The applicability to a wide range of BGP and network topologies;
- The simplicity;
- The duration of transient forwarding loops;
- The additional load introduced in BGP (e.g., BGP messages sent to peer routers, peer ASes, the Internet).
6. Security Considerations ππ
At the requirements stage, this graceful shutdown mechanism is not expected to affect the security of the BGP protocol, especially if it can be kept simple π‘οΈ No new sessions are required, and the additional ability to signal the graceful shutdown is not expected to bring additional attack vectors, since BGP neighbors already have the ability to send incorrect or misleading information or even shut down the session. Real talk, that's already a lot of drama π
Security considerations MUST be addressed by the proposed solutions π¨ In particular, they SHOULD address the issues of bogus g-shut messages and how they would affect the network(s), as well as the impact of hiding a g-shut message so that g-shut is not performed. This part is dead serious, bestie β οΈ
The solution SHOULD NOT increase the ability of one AS to selectively influence routing decisions in the peer AS (inbound Traffic Engineering) outside of the case of the BGP session shutdown. Otherwise, the peer AS SHOULD have means to detect such behavior π
7. References π
7.1. Normative References π§Ύ
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC4271] Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A
Border Gateway Protocol 4 (BGP-4)", RFC 4271, January
2006.
[RFC4760] Bates, T., Chandra, R., Katz, D., and Y. Rekhter,
"Multiprotocol Extensions for BGP-4", RFC 4760, January
2007.
[RFC4456] Bates, T., Chen, E., and R. Chandra, "BGP Route
Reflection: An Alternative to Full Mesh Internal BGP
(IBGP)", RFC 4456, April 2006.
[RFC4364] Rosen, E. and Y. Rekhter, "BGP/MPLS IP Virtual Private
Networks (VPNs)", RFC 4364, February 2006.
7.2. Informative References β¨
Okay bestie, these are the context-y ones ππ Handy background reading, all in one spot:
- [RFC5817] Ali, Z., Vasseur, JP., Zamfir, A., and J. Newton, "Graceful Shutdown in MPLS and Generalized MPLS Traffic Engineering Networks", RFC 5817, April 2010.
- [RFC5715] Shand, M. and S. Bryant, "A Framework for Loop-Free Convergence", RFC 5715, January 2010.
- [RFC5714] Shand, M. and S. Bryant, "IP Fast Reroute Framework", RFC 5714, January 2010.
- [RFC4724] Sangli, S., Chen, E., Fernando, R., Scudder, J., and Y. Rekhter, "Graceful Restart Mechanism for BGP", RFC 4724, January 2007.
- [Reliable] Network Strategy Partners, LLC. "Reliable IP Nodes: A prerequisite to profitable IP services", November 2002.
http://www.nspllc.com/NewPages/Reliable_IP_Nodes.pdf
Acknowledgments π«Ά
The authors wanna give a huge shoutout to Nicolas Dubois, Benoit Fondeviole, Christian Jacquenet, Olivier Bonaventure, Steve Uhlig, Xavier Vinet, Vincent Gillet, Jean-Louis le Roux, Pierre Alain Coste, and Ronald Bonica for their super useful discussions on this topic, plus review and comments. Iconic behavior πΈ
This document was partly sponsored by the European project IST AGAVE. Thank you, IST AGAVE π
Appendix A. Reference BGP Topologies π¦
Okay so this section walks through some really common BGP topologies, both inside an AS (IBGP) and between ASes (EBGP). Solutions should be applicable to the following topologies and their combinations, no exceptions π
A.1. EBGP Topologies π
This section covers some frequent BGP topologies used between ASes. In each figure, a line represents a BGP session.
A.1.1. One ASBR in AS1 Connected to Two ASBRs in the Neighboring AS2
In this topology, we have an asymmetric protection scheme between AS1 and AS2:
- On the AS2 side, two different routers are used to connect to AS1.
- On the AS1 side, one single router with two BGP sessions is used.
'
AS1 ' AS2
'
/----------- ASBR2.1
/ '
/ '
ASBR1.1 '
\ '
\ '
\----------- ASBR2.2
'
'
AS1 ' AS2
'
Figure 2. EBGP Topology with Redundant ASBR in One of the ASes
BGP graceful shutdown is expected to be applicable for the maintenance of:
- one of the routers of AS2;
- one link between AS1 and AS2, performed either on an AS1 or AS2 router.
Note that in the case of maintenance of the whole router, all its BGP sessions need to be gracefully shut down at the beginning of the maintenance and gracefully brought up at the end of the maintenance. Don't skip this part, bestie π
A.1.2. Two ASBRs in AS1 Connected to Two ASBRs in AS2
In this topology, we have a symmetric protection scheme between AS1 and AS2: on both sides, two different routers are used to connect AS1 to AS2. Very balanced, very iconic βοΈβ¨
'
AS1 ' AS2
'
ASBR1.1----------- ASBR2.1
'
'
'
'
'
ASBR1.2----------- ASBR2.2
'
AS1 ' AS2
'
Figure 3. EBGP Topology with Redundant ASBRs in Both ASes
BGP graceful shutdown is expected to be applicable for the maintenance of:
- any of the ASBR routers (in AS1 or AS2);
- one link between AS1 and AS2, performed either on an AS1 or AS2 router.
A.1.3. Two ASBRs in AS2 Each Connected to Two Different ASes
In this topology, at least three ASes are involved. It's a whole group project π§
'
AS1 ' AS2
'
ASBR1.1----------- ASBR2.1
| '
| '
'''''|''''''''''
| '
| '
ASBR3.1----------- ASBR2.2
'
AS3 ' AS2
Figure 4. EBGP Topology of a Dual-Homed Customer
Here's the tea β The requirement in Section 5 is to advertise the maintenance only within the initiator and neighbor ASes, not Internet-wide. So BGP graceful shutdown solutions may not be applicable to this topology. Depending on which routes are exchanged between these ASes, some protection for some of the traffic may be possible.
For instance, if ASBR2.2 performs a maintenance affecting ASBR3.1, then ASBR3.1 will be notified. However, ASBR1.1 may not be notified of the maintenance of the EBGP session between ASBR3.1 and ASBR2.2. Ghosted π»
A.2. IBGP Topologies π
This section describes some frequent BGP topologies used within an AS. In each figure, a line represents a BGP session.
A.2.1. IBGP Full-Mesh
In this topology, we have a full-mesh of IBGP sessions. Everyone's talking to everyone πΈ
P1 ----- P2
| \ / |
| \ / |
| \/ | AS1
| /\ |
| / \ |
| / \ |
ASBR1.1--ASBR1.2
\ /
\ /
''''''\'''/''''''''''''
\ / AS2
ASBR2.1
Figure 5. IBGP Full-Mesh
When the session between ASBR1.1 and ASBR2.1 is gracefully shut down, it is required that all affected routers of AS1 reroute traffic to ASBR1.2 before the session between ASBR1.1 and ASBR2.1 is shut down.
Similarly, when the session between ASBR1.1 and ASBR2.1 is gracefully brought up, all affected routers of AS1 preferring ASBR1.1 over ASBR1.2 need to reroute traffic to ASBR1.1 before the less preferred path through ASBR1.2 is possibly withdrawn.
A.2.2. Route Reflector
In this topology, route reflectors are used to limit the number of IBGP sessions. There is a single level of route reflectors and the route reflectors are fully meshed. Reflector energy πͺβ¨
P1 (RR)-- P2 (RR)
| \ / |
| \ / |
| \ / | AS1
| \/ |
| /\ |
| / \ |
| / \ |
| / \ |
ASBR1.1 ASBR1.2
\ /
\ /
''''''\''''''/''''''''''''
\ /
\ / AS2
ASBR2.1
Figure 6. Route Reflector
When the session between ASBR1.1 and ASBR2.1 is gracefully shut down, all BGP routers of AS1 need to reroute traffic to ASBR1.2 before the session between ASBR1.1 and ASBR2.1 is shut down.
Similarly, when the session between ASBR1.1 and ASBR2.1 is gracefully brought up, all affected routers of AS1 preferring ASBR1.1 over ASBR1.2 need to reroute traffic to ASBR1.1 before the less preferred path through ASBR1.2 is possibly withdrawn.
A.2.3. Hierarchical Route Reflector
In this topology, hierarchical route reflectors are used to limit the number of IBGP sessions. There could be more than two levels of route reflectors and the top-level route reflectors are fully meshed. Layers on layers π§
P1 (RR) -------- P2 (RR)
| |
| |
| | AS1
| |
| |
P3 (RR) P4 (RR)
| |
| |
| | AS1
| |
| |
ASBR1.1 ASBR1.2
\ /
\ /
''''''\'''''''''/''''''''''''
\ /
\ / AS2
ASBR2.1
Figure 7. Hierarchical Route Reflector
When the session between ASBR1.1 and ASBR2.1 is gracefully shut down, all BGP routers of AS1 need to reroute traffic to ASBR1.2 before the session between ASBR1.1 and ASBR2.1 is shut down.
Similarly, when the session between ASBR1.1 and ASBR2.1 is gracefully brought up, all affected routers of AS1 preferring ASBR1.1 over ASBR1.2 need to reroute traffic to ASBR1.1 before the less preferred path through ASBR1.2 is possibly withdrawn.
A.2.4. Confederations
In this topology, a confederation of ASes is used to limit the number of IBGP sessions. Moreover, RRs may be present in the member ASes of the confederation. Confederation glow-up π¦
Confederations may be run with different sub-options. Regarding the IGP, each member AS can run its own IGP or they can all share the same IGP. Regarding BGP, LOCAL_PREF may or may not cross the member AS boundaries.
A solution should support the graceful shutdown and graceful bringing up of EBGP sessions between member ASes in the confederation, in addition to the graceful shutdown and graceful bringing up of EBGP sessions between a member-AS and an AS outside of the confederation.
ASBR1C.1 ---------- ASBR1C.2
| |
| |
| AS1C |
| |
| |
"""|"""""""""""""""""""|"""
| " |
ASBR1A.2 " ASBR1B.2
| " |
| " |
| AS1A " AS1B | AS1
| " |
| " |
ASBR1A.1 " ASBR1B.1
\ " /
\ " /
''''''\'''''''''''''/''''''''''''
\ /
\ / AS2
ASBR2.1
Figure 8. Confederation
In the above figure, member ASes AS1A, AS1B, and AS1C belong to a confederation of ASes in AS1. AS1A and AS1B are connected to AS2.
In normal operation, for the traffic toward AS2:
- AS1A sends the traffic directly to AS2 through ASBR1A.1.
- AS1B sends the traffic directly to AS2 through ASBR1B.1.
- AS1C load balances the traffic between AS1A and AS1B.
When the session between ASBR1A.1 and ASBR2.1 is gracefully shut down, all BGP routers of AS1 need to reroute traffic to ASBR1B.1 before the session between ASBR1A.1 and ASBR2.1 is shut down.
Similarly, when the session between ASBR1A.1 and ASBR2.1 is gracefully brought up, all affected routers of AS1 preferring ASBR1A.1 over ASBR1B.1 need to reroute traffic to ASBR1A.1 before the less preferred path through ASBR1B.1 is possibly withdrawn.
A.3. Routing Decisions π
Here we describe some routing engineering choices that are frequently used in ASes and that should be supported by the solution. Choices, choices π
A.3.1. Hot Potato (IGP Cost)
The ingress router selects the nominal egress ASBR (AS exit point) based on the IGP cost to reach the BGP next-hop.
A.3.2. Cold Potato (BGP LOCAL_PREF)
The ingress router selects the nominal egress ASBR based on the BGP LOCAL_PREF value set and advertised by the exit point.
A.3.3. Cold Potato (BGP Preference Set on Ingress)
The ingress router selects the nominal egress ASBR based on preconfigured policy information. (Typically, this is done by locally setting the BGP LOCAL_PREF based on the BGP communities attached on the routes).
As per [RFC4271], note that if tunnels are not used to forward packets between the ingress and egress ASBR; this can lead to persistent forwarding loops.
β οΈ Bestie, this one is a whole vibe check. No tunnels between ingress and egress ASBR can mean persistent forwarding loops π
Authors' Addresses β¨
okay bestie, this is where we meet the squad who built this whole thing π«Ά here are the six authors and how to reach them π
Bruno Decraene π
Bruno Decraene
France Telecom
38-40 rue du General Leclerc
92794 Issy Moulineaux cedex 9
France
EMail: bruno.decraene@orange-ftgroup.com
Pierre Francois π¦
Pierre Francois
Universite catholique de Louvain
Place Ste Barbe, 2
Louvain-la-Neuve 1348
BE
EMail: francois@info.ucl.ac.be
Cristel Pelsser πΈ
Cristel Pelsser
Internet Initiative Japan
Jinbocho Mitsui Building
1-105 Kanda jinbo-cho
Chiyoda-ku, Tokyo 101-0051
Japan
EMail: cristel@iij.ad.jp
Zubair Ahmad π
Zubair Ahmad
Orange Business Services
13775 McLearen Road, Oak Hill VA 20171
USA
EMail: zubair.ahmad@orange-ftgroup.com
Antonio Jose Elizondo Armengol π
Antonio Jose Elizondo Armengol
Division de Analisis Tecnologicos
Technology Analysis Division
Telefonica I+D
C/ Emilio Vargas 6
28043, Madrid
EMail: ajea@tid.es
Tomonori Takeda π§
Tomonori Takeda
NTT Corporation
9-11, Midori-Cho 3 Chrome
Musashino-Shi, Tokyo 180-8585
Japan
EMail: takeda.tomonori@lab.ntt.co.jp
that's the whole crew, periodt π they literally made the internet's routing choices make sense, and we get to stan them forever π₯Ήβ¨
π¦ where this page comes from
- ietf: rfc6198 2011-04
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms