Dead session, live packets: the BGP route that outlives its handshake
At 03:14 on some unremarkable Tuesday, a BGP session dies. The routes it taught do not. That gap — a control relationship gone, a forwarding table still breathing — is the entire territory of RFC 9494. Long-Lived Graceful Restart lets a router keep using a peer's old paths long after ordinary Graceful Restart would have swept them away, and it does so with a rare piece of engineering honesty: it never once calls the leftovers fresh. It marks them LLGR_STALE, ranks them last, fences their propagation and puts a clock on the whole arrangement. Enke Chen co-authored both the 2007 mechanism and its 2023 long-lived extension. The later document is the more interesting one, because most of it is about how to distrust what you keep.
The short version
- RFC 9494 retains stale BGP routes past the ordinary Graceful Restart interval — but only for negotiated address families, only for a bounded Long-Lived Stale Time, and only as least-preferred state carrying the
LLGR_STALEcommunity. - Chen co-authored RFC 4724 and RFC 9494. Neither document certifies that an old path still works.
NO_LLGR, local timer caps, End-of-RIB synchronisation and a blunt list of forwarding hazards keep continued use conditional and revocable.
The session is gone; the route is not
Two facts that normally arrive together split apart the instant a session fails. The control relationship is gone. The forwarding state learned through it may still be pushing packets. Withdraw immediately and you treat the first fact as decisive, punishing working hardware for a dead handshake. Retain indefinitely and you pretend the second fact can never change, which is how black holes get a quiet place to live. Long-Lived Graceful Restart occupies the uncomfortable interval between the two.
That interval is worth occupying because BGP stopped being merely a map of the Internet some time ago. In tunneled networks a control process can restart while a separate forwarding plane keeps switching packets without noticing. BGP also carries VPN discovery, signalling and traffic policy, where losing a session does not mean every installed object became worthless in the same millisecond. Rip all state out at once and a repairable control failure becomes a wider service interruption.
The opposite mistake is more dangerous because it looks calm. A route retained after its source stops speaking is old evidence. It may point at forwarding that survived. It may point into a hole. It may preserve choices that two routers no longer agree on. So the engineering question is not whether stale state is good or bad — it is how to expose its age, cut its authority and force its expiry.
From a short grace period to a second state
RFC 4724, published in 2007, gave BGP the Graceful Restart capability and the End-of-RIB marker. Srihari Sangli, Enke Chen, Ramachandra Fernando, John Scudder and Yakov Rekhter wrote it. A restarting speaker can preserve forwarding state while sessions and routing information rebuild; a receiving speaker can hold that peer's routes and mark them stale.
The ordinary mechanism is deliberately finite. Restart Time gets 12 bits, so the encoded ceiling is 4,095 seconds. RFC 4724 suggests a default no longer than the HOLDTIME announced in the BGP OPEN. Miss the advertised window and the retained routes go. A receiver that decides the peer's forwarding is no longer viable can drop them sooner. RFC 8538 later widened the circumstances in which graceful procedures can follow a session failure and added an explicit Hard Reset signal.
Ordinary graceful restart keeps route preference unchanged through that short window. Churn drops; so does the network's skepticism. The bargain is tolerable only while the interval is short and the forwarding claim still plausible.
RFC 9494, published in November 2023, creates a separate Long-Lived Graceful Restart state. James Uttaro, Enke Chen, Bruno Decraene and John G. Scudder are the named authors. This is collective IETF work; Chen's role is a documented contribution to both the base mechanism and its long-lived extension, not a claim of sole invention.
A lease on old evidence
LLGR capability code 71 carries one or more tuples of AFI, SAFI, flags and Long-Lived Stale Time. Each address-family pair can get its own interval. There is no suggested LLST default, because the failure modes and the data differ too much to pretend otherwise. The receiving network may impose a local upper bound, a lower bound or both, and may cut the time its peer offered.
The capability cannot stand alone. Advertise LLGR without ordinary Graceful Restart and the peer ignores it. The two states then run in series: during conventional GR stale routes keep their preference; when that window closes, the LLGR interval opens and the routes are explicitly demoted. An operator who wants no conventional phase can advertise or configure a zero Restart Time.
At the LLGR boundary the helper starts a timer for each negotiated AFI/SAFI and attaches the well-known community LLGR_STALE, value 0xFFFF0006. The marked route must rank below every route that is not least preferred. Only when every available choice is least preferred does ordinary tie-breaking resume.
This is not cosmetic labelling. A fresh alternative should displace a long-lived stale route even when ordinary BGP attributes would have preferred the old path. But if no fresh route exists, the stale one can stay best and keep forwarding. The mechanism buys an option, not an assurance: use the old path as a last resort until better evidence shows up or the clock runs out.
The marker also constrains propagation. A speaker should not advertise an LLGR_STALE route to a neighbour that never advertised LLGR capability, apart from a tightly limited optional procedure for internal BGP or confederation peers. When the route does travel, the marker must not come off. Degradation has to travel with the object, or the next receiver mistakes inherited doubt for ordinary reachability.
Refusal, synchronisation and expiry
RFC 9494 supplies more than a way to say “keep this.” The well-known community NO_LLGR, value 0xFFFF0007, says the opposite. A route carrying it must not be retained under LLGR. The sender can flag information whose failure semantics make prolonged survival unacceptable, and receiver policy can apply the same refusal locally.
The timer also resists convenient amnesia. A re-established TCP session does not by itself make retained information fresh or reset its lifetime. For an address family, synchronisation completes at the relevant End-of-RIB marker or at the selection-deferral boundary. If LLST expires before a route is refreshed, the helper removes the unrefreshed state. A second restart cannot simply hand the old evidence a new full life.
Capability changes end the exception too. If the returning peer drops the required GR and LLGR capabilities, omits the address family, or fails to assert retained forwarding state where required, the helper removes the associated stale routes. The system distinguishes “the session came back” from “the prior forwarding claim was renewed.”
The RFC's worked example makes the sequence concrete. A route reflector offers a one-second ordinary Restart Time and an LLST of 3,600 seconds. After that first second its routes pick up LLGR_STALE and lose preference. If no alternative exists, the border router still uses them and exports them to an LLGR-capable external peer. At expiry it deletes the routes and sends withdrawals. If the session resynchronises after 180 seconds, refreshed routes shed the stale marker. If the external peer never advertised the capability, the border router withdraws from that peer at the start of LLGR instead.
Continuity can become a loop
The caution section is the centre of the document, not an appendix. A stale more-specific prefix still wins longest-prefix forwarding even when a fresh less-specific route exists. Making the stale BGP path least preferred does not touch that lookup rule. The result is persistent packet loss for the covered destination — and a support ticket that says “the route is there.”
Depreference can also make routers disagree. RFC 9494 illustrates an internal topology where one router abandons an old exit once its route goes least preferred while another router keeps preferring that same exit. Packets then alternate between the two. Ordinary GR can expose similar faults; a long stale interval just makes the consequence last an hour instead of a minute.
The cardinal operational rule is blunt: LLGR is not recommended when the affected routes drive hop-by-hop forwarding inside an autonomous system. Tunneled forwarding, or BGP information used more like configuration than a next hop, cuts some of that risk. It does not license casual enablement. Forwarding-state bits must still mean what they say, and timer values must match the real failure domain.
VPNs add a quieter hazard. A label from a withdrawn VPN route may later be assigned to a different context. Leave the old route stale long enough and traffic arrives carrying a label whose meaning has changed. RFC 9494 advises setting the minimum label-reuse delay above the maximum LLST before enabling the feature for a VPN address family. Continuity without coordinated resource lifetime can cross a security boundary.
A narrow shared rule, a local risk decision
Lu Heng's Minimum Initial Specification, Localized Future Decision, and Voluntary Adoption is a useful frame to read this against. The shared layer stays precise and small: capability negotiation, per-family scope, a degradation marker, a refusal marker, least-preferred selection, deterministic expiry. The receiving operator keeps every decision that depends on its own network — whether an address family is eligible, how much of a remote LLST to accept, whether forwarding is tunneled, how labels get reused, which events end retention early.
That split blocks two errors. A shared protocol does not become a central command to keep stale routes. Local discretion does not become permission to erase the marker or dress old evidence as fresh. Interoperability defines the state; whoever carries the forwarding risk decides whether to use it.
Running-Code Primacy makes the evidence test stricter still. A configured feature and an Established session prove almost nothing. Operators need the negotiated AFI/SAFI tuples, the advertised and locally capped timers, counts of routes entering and leaving LLGR, selected-path changes, export withdrawals, End-of-RIB progress, forwarding loss, loop indicators and final cleanup. These are Sofia Ren's applications of Lu Heng's later principles, not positions attributed to Chen or the RFC authors.
The most honest thing about RFC 9494 is the name it gives the route. It stays stale. The standard does not trade truth for continuity; it makes the temporary use of old evidence visible, subordinate and finite. Chen's place in that documentary chain matters because the mechanism gives operators room to survive a dead session without handing the past an unlimited right to govern the present.
Sources
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






