| Internet-Draft | RFC 9857 Flag Registries | December 2026 |
| MahendraBabu | Expires 6 June 2027 | [Page] |
RFC 9857 defines several flag fields for the advertisement of Segment Routing Policy information using BGP Link State (BGP-LS), but it does not create IANA registries for those fields. This document updates RFC 9857 by creating the missing registries and populating them with the allocations defined by RFC 9857. It makes no change to the protocol encodings or procedures of RFC 9857.¶
This note is to be removed before publishing as an RFC.¶
Discussion of this document takes place on the Inter-Domain Routing Working Group mailing list (idr@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/idr/.¶
Source for this draft and an issue tracker can be found at https://github.com/AravindBabuM/rfc9857-iana-flags.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 4 June 2027.¶
Copyright (c) 2026 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 (https://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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
[RFC9857] defines BGP-LS extensions for advertising Segment Routing (SR) Policy information. Several TLVs and sub-TLVs defined by that document contain flag fields. Although RFC 9857 specifies the initial flag assignments and requires unrecognized bits to be ignored, it does not create IANA registries to manage future assignments.¶
This document updates RFC 9857 only by creating the missing registries and recording the flag assignments already specified there. It does not change any encoding, semantics, or procedure in RFC 9857.¶
IANA is requested to create the registries specified in the following subsections under the "Border Gateway Protocol - Link State (BGP-LS) Parameters" registry group https://www.iana.org/assignments/bgp-ls-parameters.¶
Allocations in each registry are to be made using the Expert Review policy defined in [RFC8126]. The guidance for designated experts in Section 7.2 of [RFC9552] applies to all of these registries.¶
IANA is requested to create the "BGP-LS SR Policy Candidate Path Descriptor Flags" registry for the one-octet Flags field of the SR Policy Candidate Path Descriptor TLV (554) defined in Section 4 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | Endpoint is encoded as an IPv6 address (E-Flag) | RFC 9857 |
| 1 | Originator address is encoded as an IPv6 address (O-Flag) | RFC 9857 |
| 2-7 | Unassigned |
IANA is requested to create the "BGP-LS SR Binding SID Flags" registry for the two-octet BSID Flags field of the SR Binding SID TLV (1201) defined in Section 5.1 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | SRv6 data plane (D-Flag) | RFC 9857 |
| 1 | BSID allocated (B-Flag) | RFC 9857 |
| 2 | Specified BSID unavailable (U-Flag) | RFC 9857 |
| 3 | BSID allocated from the SRLB (L-Flag) | RFC 9857 |
| 4 | Fallback BSID allocation (F-Flag) | RFC 9857 |
| 5-15 | Unassigned |
IANA is requested to create the "BGP-LS SRv6 Binding SID Flags" registry for the two-octet BSID Flags field of the SRv6 Binding SID TLV (1212) defined in Section 5.2 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | BSID allocated (B-Flag) | RFC 9857 |
| 1 | Specified BSID unavailable (U-Flag) | RFC 9857 |
| 2 | Fallback BSID allocation (F-Flag) | RFC 9857 |
| 3-15 | Unassigned |
IANA is requested to create the "BGP-LS SR Candidate Path State Flags" registry for the two-octet Flags field of the SR Candidate Path State TLV (1202) defined in Section 5.3 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | Administrative shut (S-Flag) | RFC 9857 |
| 1 | Active candidate path (A-Flag) | RFC 9857 |
| 2 | Backup candidate path (B-Flag) | RFC 9857 |
| 3 | Candidate path evaluated (E-Flag) | RFC 9857 |
| 4 | Candidate path has a valid SID list (V-Flag) | RFC 9857 |
| 5 | On-demand next hop instantiated (O-Flag) | RFC 9857 |
| 6 | Delegated to a PCE/controller (D-Flag) | RFC 9857 |
| 7 | Provisioned by a PCE/controller (C-Flag) | RFC 9857 |
| 8 | Drop-Upon-Invalid enabled (I-Flag) | RFC 9857 |
| 9 | Eligible for use as a transit policy (T-Flag) | RFC 9857 |
| 10 | Drop-Upon-Invalid active (U-Flag) | RFC 9857 |
| 11-15 | Unassigned |
IANA is requested to create the "BGP-LS SR Candidate Path Constraints Flags" registry for the two-octet Flags field of the SR Candidate Path Constraints TLV (1204) defined in Section 5.6 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | SRv6 data plane (D-Flag) | RFC 9857 |
| 1 | Protected SID preference (P-Flag) | RFC 9857 |
| 2 | Unprotected SID preference (U-Flag) | RFC 9857 |
| 3 | Use only SIDs of the specified algorithm (A-Flag) | RFC 9857 |
| 4 | Use only SIDs of the specified topology (T-Flag) | RFC 9857 |
| 5 | Strict protected or unprotected SID constraint (S-Flag) | RFC 9857 |
| 6 | Fixed path (F-Flag) | RFC 9857 |
| 7 | Hop-by-hop path (H-Flag) | RFC 9857 |
| 8-15 | Unassigned |
IANA is requested to create the "BGP-LS SR Disjoint Group Constraint Request Flags" registry for the one-octet Request Flags field of the SR Disjoint Group Constraint sub-TLV (1211) defined in Section 5.6.4 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | SRLG disjointness requested (S-Flag) | RFC 9857 |
| 1 | Node disjointness requested (N-Flag) | RFC 9857 |
| 2 | Link disjointness requested (L-Flag) | RFC 9857 |
| 3 | Lower-level disjointness fallback allowed (F-Flag) | RFC 9857 |
| 4 | Default best-path fallback allowed (I-Flag) | RFC 9857 |
| 5-7 | Unassigned |
IANA is requested to create the "BGP-LS SR Disjoint Group Constraint Status Flags" registry for the one-octet Status Flags field of the SR Disjoint Group Constraint sub-TLV (1211) defined in Section 5.6.4 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | SRLG disjointness achieved (S-Flag) | RFC 9857 |
| 1 | Node disjointness achieved (N-Flag) | RFC 9857 |
| 2 | Link disjointness achieved (L-Flag) | RFC 9857 |
| 3 | Lower-level disjointness fallback used (F-Flag) | RFC 9857 |
| 4 | Best-path fallback used (I-Flag) | RFC 9857 |
| 5 | Constraint not achieved; path invalidated (X-Flag) | RFC 9857 |
| 6-7 | Unassigned |
IANA is requested to create the "BGP-LS SR Bidirectional Group Constraint Flags" registry for the two-octet Flags field of the SR Bidirectional Group Constraint sub-TLV (1214) defined in Section 5.6.5 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | Reverse path (R-Flag) | RFC 9857 |
| 1 | Co-routed bidirectional path (C-Flag) | RFC 9857 |
| 2-15 | Unassigned |
IANA is requested to create the "BGP-LS SR Metric Constraint Flags" registry for the one-octet Flags field of the SR Metric Constraint sub-TLV (1215) defined in Section 5.6.6 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | Optimization metric (O-Flag) | RFC 9857 |
| 1 | Metric margin present (M-Flag) | RFC 9857 |
| 2 | Absolute metric margin (A-Flag) | RFC 9857 |
| 3 | Metric bound present (B-Flag) | RFC 9857 |
| 4-7 | Unassigned |
IANA is requested to create the "BGP-LS SR Segment List Flags" registry for the two-octet Flags field of the SR Segment List TLV (1205) defined in Section 5.7 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | SRv6 SID list (D-Flag) | RFC 9857 |
| 1 | Explicit candidate path (E-Flag) | RFC 9857 |
| 2 | SID list computed (C-Flag) | RFC 9857 |
| 3 | SID list verification passed or not required (V-Flag) | RFC 9857 |
| 4 | First segment resolved (R-Flag) | RFC 9857 |
| 5 | Dynamic-path computation failed (F-Flag) | RFC 9857 |
| 6 | All SIDs belong to the specified algorithm (A-Flag) | RFC 9857 |
| 7 | All SIDs belong to the specified topology (T-Flag) | RFC 9857 |
| 8 | SID list removed due to a monitoring fault (M-Flag) | RFC 9857 |
| 9-15 | Unassigned |
IANA is requested to create the "BGP-LS SR Segment Flags" registry for the two-octet Flags field of the SR Segment sub-TLV (1206) defined in Section 5.7.1 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | SID present (S-Flag) | RFC 9857 |
| 1 | Explicitly provisioned SID (E-Flag) | RFC 9857 |
| 2 | SID verification passed or not required (V-Flag) | RFC 9857 |
| 3 | SID resolution passed or not required (R-Flag) | RFC 9857 |
| 4 | Algorithm in the segment descriptor is valid (A-Flag) | RFC 9857 |
| 5-15 | Unassigned |
IANA is requested to create the "BGP-LS SR Segment List Metric Flags" registry for the one-octet Flags field of the SR Segment List Metric sub-TLV (1207) defined in Section 5.7.2 of [RFC9857] and to populate it as follows:¶
| Bit | Description | Reference |
|---|---|---|
| 0 | Metric margin present (M-Flag) | RFC 9857 |
| 1 | Absolute metric margin (A-Flag) | RFC 9857 |
| 2 | Metric bound present (B-Flag) | RFC 9857 |
| 3 | Computed metric value present (V-Flag) | RFC 9857 |
| 4-7 | Unassigned |
This document creates IANA registries and makes no change to the manageability considerations of [RFC9857].¶
This document creates IANA registries and makes no change to the security considerations of [RFC9857]. The Expert Review process is intended to prevent conflicting flag assignments and to ensure that the semantics and operational consequences of new flags are adequately documented.¶