Summary
- RFC 5004 keeps an existing external BGP best path when it and a challenger are still tied right before the BGP-Identifier comparison. The incumbent is not crowned faster or safer; the router has simply run out of operationally meaningful reasons to replace it.
- Enke Chen and Srihari Sangli turned one observed oscillation into a deliberately tiny extension. Its value rests on evidence that the equality predicate actually held, that the forwarding table did not move, and that later policy or reachability changes can still end the retention.
A forwarding change with no new reason
Picture a border router with external path A already installed and forwarding traffic. Path B arrives. The decision process runs the usual gauntlet — locally assigned preference, AS path, origin, the MED rules that apply, external versus internal learning, interior cost to the next hop. Every comparison ties. Only then does B win, and only because its advertising speaker carries a numerically lower BGP Identifier.
That last number is four bytes of administrative bookkeeping. It does not say B has more capacity, a better commercial settlement, fewer fragile facilities in its path, or that it is currently delivering packets. RFC 6286 even freed it from having to be an address assigned to the speaker: it is a non-zero unsigned value that should be unique within the AS. Its dotted-quad costume is not a measurement of anything.
Yet under the base RFC 4271 procedure, that weak distinction can replace the selected route. Control-plane state churns, the Loc-RIB may change, the FIB may be rewritten, and downstream speakers may receive fresh announcements. Traffic might sail through without loss; it might also meet transient reordering, a fresh convergence, or a different failure domain. The decision algorithm alone cannot promise the packet outcome.
RFC 5004 plants its flag exactly at that boundary. Let A be the existing external best path and B the external challenger the ordinary procedure would pick. If neither route has been eliminated before the BGP-Identifier step, keep A. The extension does not declare A newly superior. It says B has supplied no sufficiently meaningful reason to disturb a choice that is already running.
The equality predicate is the real feature
The load-bearing word in the mechanism is not “existing.” It is “tied.” A route with higher LOCAL_PREF still wins. So does one that wins through AS_PATH, ORIGIN, an applicable MED comparison, EBGP over IBGP, or lower IGP cost to NEXT_HOP. A withdrawal or a lost next-hop reachability ends the question too. RFC 5004 is not a licence to cling to a stale route against contrary evidence.
Its exclusions matter just as much. The rule does not apply when either candidate comes from a BGP Confederation peer. Nor does it apply when both peers share the same BGP Identifier — a case where the peer-address comparison across parallel sessions may encode a deliberate operational choice. These are not implementation footnotes. They mark the spots where “keep the incumbent” would erase information an operator intended to matter.
Which is why an enablement checkbox is poor proof of behaviour. To claim the extension retained a path, an operator needs a decision trace holding both candidates, the value of every earlier comparison, the exact step at which the ordinary algorithm would have switched, and the implementation's recorded selection reason. The resulting FIB entry and the packet observations are separate records. A route table showing the same next hop before and after the event proves none of it on its own: it cannot tell you whether RFC 5004 ran, whether no challenger arrived, or whether policy rejected the challenger earlier.
What one 1998 incident can and cannot establish
Chen and Sangli wrote that the idea was inspired by a route-oscillation case observed in the BBN/Genuity network in 1998, and that the algorithm was implemented and deployed there. That is valuable provenance: the mechanism was born from an operational failure, not an abstract wish for calm. It is not a census of current deployment, a universal efficacy claim, or proof that today's route-reflector topology reproduces the same condition.
The worked example earns its place because route reflection changes who can see which alternatives. RFC 4456 removes the need for every IBGP speaker to hold a full mesh by letting a route reflector readvertise selected routes. The scaling gain arrives with partial visibility: a client generally receives the reflector's chosen route, not a full account of every external candidate available elsewhere.
In the RFC 5004 example, MED and this incomplete view conspire in a sequence where a newly selected external route changes what is advertised, which changes a neighbour's selection, which removes the condition that supported the first change. Retaining the existing external route at the late tie can break that cycle. But the document expressly does not claim to solve every oscillation catalogued in RFC 3345. Some topologies and MED comparison patterns need design or policy changes beyond local incumbent retention.
The distinction keeps the story honest. An RFC that treats one observed failure mode does not own every failure that shares a symptom. Repeated UPDATE and withdrawal activity can come from physical instability, policy churn, malformed state, route-reflector visibility, MED ordering, or a dozen other causes. Diagnosis means reconstructing the actual candidate sets and decisions — not matching the symptom to the nearest RFC title.
Stability purchased with history
The extension trims needless changes, but it does not manufacture network-wide determinism. Two identically configured routers can retain different paths if they met those paths in a different order. RFC 5004 owns this history dependence, sometimes labelled non-determinism. The label should not be read as an accusation. It is an explicit allocation of state: when every stronger comparison ties, the local past is allowed to decide the present.
That bargain is usually sensible at an exchange point with several external peers, where a meaningless last tiebreak would otherwise trigger avoidable forwarding changes. It can also ambush an operator comparing two devices and expecting identical selection from identical current inputs. The missing input is the incumbent itself.
If a network needs one route to win everywhere, it should author that preference in the authority it controls — usually LOCAL_PREF, or MED where its comparison semantics fit — rather than hoping a remote BGP Identifier happens to order the paths the way someone wanted. Explicit policy is portable evidence of intent. Incumbency is evidence only of sequence.
The later answer: show more paths
ADD-PATH, specified in RFC 7911, attacks a different slice of the information problem. Negotiating the capability lets a speaker advertise multiple paths for the same prefix by attaching locally meaningful Path Identifiers. That can expose alternatives ordinary BGP would suppress. It does not dictate which paths must be sent, guarantee a complete set, select the best route, create ECMP, or make a Path Identifier durable across a restart.
RFC 7964 later described using ADD-PATH to advertise all paths, or a Group Best set separated by neighbouring AS, to address persistent oscillations caused by incomplete MED comparisons. More visibility costs memory, update volume, and convergence work; the RFC advises limiting the technique to affected prefixes where possible. RFC 5004 spends almost the opposite resource: it keeps state small and preserves one existing choice inside a narrow equality class.
Neither approach is a slogan for “stability.” One reduces transitions by giving the past limited authority. The other distributes more candidate state so remote decisions can be better informed. A deployment can need one, the other, both, or neither. The evidence is the topology and the failure mechanism — not the feature name on the slide.
Enke Chen's bounded place in the record
Enke Chen co-authored RFC 5004 with Srihari Sangli. His wider IETF record runs through route reflection, the revised BGP Identifier, ADD-PATH, and work on persistent oscillation. That continuity makes him a useful lens through which to read how BGP designers juggled three scarce resources: stable forwarding, complete information, and bounded control-plane state.
It does not make Chen the sole inventor of BGP, the owner of an operator's policy, or the person answerable for any present implementation. The RFC authors describe a mechanism. Vendors decide how to implement and expose it. Network teams decide whether to enable it and what explicit preferences surround it. Route reflectors determine which alternatives propagate. The FIB installs a result, and packets reveal whether delivery followed.
A University of Michigan Engineering profile provides a dated institutional account of Chen's education and career in Internet technologies. It is good evidence for identity and biography. It is not evidence that any particular network runs RFC 5004 today, nor that Chen controls that network's routing choices.
The proof chain for a path that did not move
The hardest event to audit is often the event that did not happen. A useful record would connect six layers:
- Adj-RIB-In evidence shows both external candidates and their received attributes at the relevant time.
- Import-policy output shows the local attributes after policy, especially LOCAL_PREF and any modified MED.
- The decision trace proves the routes survived through IGP-cost comparison and identifies the BGP-Identifier result that would otherwise have replaced A.
- The implementation records incumbent retention as the actual selection reason, including the exclusions it checked.
- Loc-RIB and FIB evidence shows whether control and forwarding state stayed put.
- Packet and service telemetry shows what traffic did — and must never be inferred from the route-selection log.
The same record needs an exit condition. A policy change, candidate withdrawal, next-hop failure, changed applicable MED, lower IGP cost, or loss of the incumbent must all be able to force a new decision. Continuity without a tested escape route is just hidden lock-in wearing a reassuring name.
RFC 5004 therefore offers a modest but durable lesson. A protocol need not let the weakest available distinction exercise the strongest operational consequence. It may preserve running state when the challenger has not earned displacement. But the retained path keeps its seat on a narrow procedural ground, not on a certificate of quality — and good operations keep that distinction alive in telemetry, in review, and in the words engineers use.
Sources
- https://www.rfc-editor.org/rfc/rfc5004.html
- https://www.rfc-editor.org/rfc/rfc4271.html
- https://www.rfc-editor.org/rfc/rfc3345.html
- https://www.rfc-editor.org/rfc/rfc4456.html
- https://www.rfc-editor.org/rfc/rfc7964.html
- https://www.rfc-editor.org/rfc/rfc7911.html
- https://www.rfc-editor.org/rfc/rfc6286.html
- https://news.engin.umich.edu/2024/10/powering-possibilities/
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.






