Summary

  • RFC 9857 lets an SR Policy headend — or a PCE speaking for headends — advertise candidate-path state through BGP-LS to external components.
  • The NLRI names the headend even when a PCE is the producer. Protocol-Origin says how the candidate was instantiated, not when it was observed or who observed it end to end.
  • A defensible decision joins the advertisement to a producer/session epoch, current SRPM state, an independent FIB receipt, observed traffic and a service measurement — all in the same interval.

A flawless answer with no birth certificate

The BGP-LS update lands looking immaculate. Descriptor matches the expected headend, color, endpoint, originator and discriminator. The Candidate Path State TLV reports the path evaluated, valid, active, with a SID list and a Binding SID attached. Syntactically, it is a beautiful thing.

It is real evidence. It is not yet permission to move a service.

RFC 9857 exists to drag locally held SR Policy state out of the node that owns it and into the light, where path computation, reoptimization, service placement and network visualization can use it. It complements RFC 9830, which pushes candidate paths toward a headend over BGP. RFC 9857 runs the traffic the other way — state back toward controllers. The direction flips, and so does the audit question. It is no longer “did BGP deliver the candidate?” It is “what did the receiving controller actually learn about the running candidate, from whom, and when?”

The protocol answers the first half of that with real precision. The second half — the clock, the execution receipt — it hands you a vocabulary and leaves you to build the rest.

Headend identity is not producer identity

RFC 9857 lets the BGP-LS Producer be the headend itself. It also lets a PCE originate the advertisement on behalf of headends after collecting their state over PCEP. Two arrangements, one candidate, very different operational meaning.

The distinction slips away because the Local Node Descriptors TLV names the headend in both cases. When a PCE produces the route, it must keep its own identifiers out of that NLRI descriptor — its BGP Router-ID, AS or confederation member can ride in the BGP-LS Attribute instead. The spec even gives the PCE case its own “in PCEP” Protocol-Origin values.

Protocol-Origin is a fine field. It just answers a narrower question than people assume: which protocol or component instantiated the candidate path. It is not a sworn statement that the BGP speaker watched the headend's SR Policy Manager at the instant the consumer read the update. A PCE-produced record can carry state a PCC reported earlier. RFC 8231 defines that PCC-to-PCE LSP State Report and the synchronization dance around it.

So a serious consumer keeps two identities. The subject: the headend and candidate path the RFC 9857 descriptors name. The reporter chain: authenticated BGP peer, actual BGP-LS producer, direct-headend or PCE-proxy mode, and — where a PCE relays — the PCC/PCEP report the claim came from. Squash those into one “source” field and you have manufactured confidence the encoding never promised.

State flags are claims with sharp edges

The Candidate Path State TLV is not decoration. Its flags separate administrative shutdown from active and backup status, evaluation, validity, delegation, controller provisioning, transit eligibility and drop-upon-invalid behavior. The E and V flags must be read together: if evaluation never happened, validity is not a finished verdict. Preference and priority add decision context.

The A flag earns its keep. RFC 9857 points to RFC 9256 and describes an active candidate as one provisioned in the forwarding plane. Read it correctly: not “the controller picked it in a database,” but “the producer is reporting a materially stronger operational condition.”

Still a report. The same update can carry Binding SID status and individual SID lists with computation, verification, resolution, topology and monitoring flags. A consumer can learn a BSID was unavailable, fallback allocation kicked in, a list failed resolution, or monitoring pulled it from forwarding. These fields explain failure instead of compressing it into one green or red icon.

What they do not do is prove the exact hardware table accepted the object, that counters moved, or that a service met its objective. That boundary is not a flaw. It is what makes each field trustworthy: defined scope, no unlimited claim.

The missing temporal join

RFC 9857 defines candidate identity, state encodings and advertisement procedures. Its candidate-path record carries no producer observation timestamp, no monotonic report generation, no SRPM transaction number, no forwarding-chip acknowledgement. The BGP-LS Instance Identifier names a routing instance; it is not a temporal epoch.

The base RFC 9552 model matters here. BGP-LS distribution bends to policy, and a speaker may throttle when information updates reach a consumer to cut information flow. RFC 9857 inherits those operational realities. The latest route in a consumer's database can be perfectly valid BGP state and still be too old for the decision the application is about to make.

Freshness has to be declared at the receiving system. Record time of receipt, BGP session generation, resets and resynchronization, replacement and withdrawal history, and the maximum age the intended action tolerates. If a PCE is the producer, add the age and identity of the preceding PCEP report. “Current” should mean current inside a declared window and chain — not merely present in a table.

Five separate receipts after BGP-LS

Receipt one is the BGP-LS record itself: exact candidate identity, flags, attributes, producer and receive epoch.

Receipt two comes from SR Policy Manager at the named headend. It should reproduce candidate identity, evaluation, validity, active choice, BSID and SID-list generation. A mismatch means the controller is holding an older or differently scoped account.

Receipt three is forwarding. It comes from the FIB, the hardware programming channel or a comparably direct device readback: programmed BSID and treatment, installation generation, success or rejection, target hardware context. The RFC 9857 A flag sets the expectation; this receipt corroborates it independently.

Receipt four is traffic observation. Counters and scoped probes show whether the intended traffic exercised the programmed treatment. They need denominators, reset provenance and time bounds. Traffic can be absent, misclassified or carried elsewhere while every control object stays internally coherent.

Receipt five is the service outcome. Delay, loss, availability or application success measured over the affected population and interval. A service result cannot be backfilled from a path metric or an “active” label.

What you get is a joined proof, not a bigger green light. RFC 8402 places Segment Routing inside a trusted SR domain; RFC 9857's security section limits disclosure to trusted nodes and applications accordingly. Trust controls who may speak. It does not remove the need to record what each speaker directly knew.

What the registry and erratum actually establish

The current IANA BGP-LS registry records Candidate Path NLRI type 5, Segment Routing Protocol-ID 9 and RFC 9857's descriptor and state TLVs. The Datatracker record establishes the document's standards history. Neither record proves a vendor implementation or a production deployment.

The RFC Editor errata record lists verified EID 8709. It corrects three occurrences of “SR Binding SID sub-TLV” to “SR Binding SID TLV” in Section 5.1. An editorial correction worth getting right, and nothing more: producer roles, candidate-state flags and the freshness boundary stand untouched.

Lu Heng's essay on Running-Code Primacy supplies the broader discipline: publication and registration do not make operational reality by declaration. RFC 9857 already respects that by reporting state rather than pretending to create it. The operator's job is to preserve the report's scope all the way to execution and outcome.

Sources