The short version

  • The ingress asks for a lock by sending Path with ADMIN_STATUS A and Reflect set. The egress tries to pull the LSP out of client service and confirms in Resv with A set—or returns OAM Problem / Lock Failure.
  • Only after lock is confirmed may the ingress target the egress or an intermediate node through RFC 7570 ERO Hop Attributes. The target checks A and an explicit entity identity before it will attempt loopback.
  • Loopback is Attribute Flags bit 13 in Path and RRO Attributes—not the A-bit lock state. A successful target may report the Loopback flag in RRO Hop Attributes while keeping A. Exit clears Loopback but keeps A; only a verified exit permits unlock.

The loopback is a knock, not a command

In RSVP-TE, a loopback request does not shout across the fabric and expect obedience. It knocks on one specific door—an egress or an intermediate node named in the ERO—and the node behind that door decides whether to answer. The precondition is not politeness; it is a locked LSP. The ADMIN_STATUS A bit must prove the path has been taken out of client service before any test traffic is allowed to bounce back.

That is the argument in one line: the ingress holds request power, the egress holds authorization, and the target holds verification. Three parties, three keys, one diagnostic state. RFC 6435 supplies the functional basis—lock withdraws a transport path from client service while permitting OAM and possibly test traffic, and loopback returns test data so the originator can judge path integrity. RFC 7571 supplies the concrete RSVP-TE sequence. RFC 7570 supplies the hop-scoped addressing and conditional reporting carrier. None of them hands the ingress a sovereign switch.

Lock first: the A bit is the gate

The sequence starts with a request, not a command. The ingress sends a Path message with ADMIN_STATUS A and Reflect set. The egress then attempts to remove the LSP from client service and confirms the result in Resv with A set—or returns OAM Problem / Lock Failure. Until that Resv arrives, the lock is a pending request, not proof of service withdrawal. A Path with A and no confirming Resv is a knock unanswered.

Addressing is not authorization

Once lock is confirmed, the ingress may aim the test at the egress or at an intermediate node through RFC 7570 ERO Hop Attributes. But naming a node is not the same as commanding it. The target validates two things before it will attempt loopback: that A is set, and that the desired loopback entity is explicitly identified by the ERO subobject immediately before the ERO Hop Attributes. Without that identity, it ignores the request and should generate Bad EXPLICIT_ROUTE. A target may therefore be the egress or an intermediate node—but addressing is not authorization.

For IPv4 and IPv6 prefix identifiers, the validation fixture is exact: the prefix must have host length 32 or 128. When the preceding item is a label subobject, its U bit selects the loopback direction. These are protocol validation rules, not claims that every deployment uses every identifier form.

Bit 13 is loopback, not lock

Here is where the two states get confused. Loopback is Attribute Flags bit 13 in Path and RRO Attributes—it is not the A-bit lock state. A successful target may report the Loopback flag in RRO Hop Attributes while retaining A. Exit clears Loopback but retains A; only a verified exit permits unlock. The lock and the loopback are separate switches on the same panel, and flipping one does not flip the other.

The state machine and its failure codes

The evidence must be correlated, not cherry-picked. Resv A proves reported lock or unlock state. RRO Hop Attributes may report target loopback state. OAM Problem errors identify failures such as Lock Failure, Unlock Failure, Loopback Failure, or Exit Loopback Failure. Neither RRO state nor a single bit substitutes for the complete transition chain. RFC 5420 explains attribute processing across an LSP, RFC 3473 supplies the ADMIN_STATUS baseline, and RFC 7260 supplies the OAM Problem framework used by RFC 7571.

The counterfactuals are strict. With no confirmed lock, the target ignores loopback. With an ambiguous target, it ignores the request or returns Bad EXPLICIT_ROUTE. A failed loopback leaves the sequence incomplete and produces Loopback Failure. A failed exit produces Exit Loopback Failure and leaves A set. An unlock requested while loopback remains active must not proceed; the egress ignores it.

The safe order

Lock, confirmed loopback, exit, verified exit, then unlock. That is the whole discipline. The operational beneficiary is the OAM operator who can isolate path integrity to a named node while client traffic is withheld and test traffic is deliberately returned. The costs are equally concrete: an out-of-service interval, ordered state transitions, distinct failure outcomes, coordination among ingress, egress and target, and possible disclosure of node information through RRO reporting. RFC 7571 notes boundary-policy considerations; the sources do not establish that every domain exposes unmodified loopback state.

No allegation is made here about vendors, operators, adoption, incidents, timing, performance, commercial value or customer outcomes. The RFC set gives no deployment prevalence, outage duration, failure-rate, latency or acceptance threshold. It also does not select a maintenance window or restoration decision. Those are operator decisions, not protocol facts.

Sources