Inter-Domain Routing A. B. MahendraBabu Internet-Draft Cisco Systems, Inc. Updates: 9857 (if approved) December 2026 Intended status: Standards Track Expires: 6 June 2027 IANA Registries for Flags in BGP-LS Segment Routing Policy Extensions draft-aravind-idr-rfc9857-iana-flags-00 Abstract 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. Discussion Venues 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. Status of This Memo 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. MahendraBabu Expires 6 June 2027 [Page 1] Internet-Draft RFC 9857 Flag Registries December 2026 Copyright Notice 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 3 2.1. SR Policy Candidate Path Descriptor Flags . . . . . . . . 3 2.2. SR Binding SID Flags . . . . . . . . . . . . . . . . . . 3 2.3. SRv6 Binding SID Flags . . . . . . . . . . . . . . . . . 4 2.4. SR Candidate Path State Flags . . . . . . . . . . . . . . 4 2.5. SR Candidate Path Constraints Flags . . . . . . . . . . . 5 2.6. SR Disjoint Group Constraint Request Flags . . . . . . . 6 2.7. SR Disjoint Group Constraint Status Flags . . . . . . . . 7 2.8. SR Bidirectional Group Constraint Flags . . . . . . . . . 8 2.9. SR Metric Constraint Flags . . . . . . . . . . . . . . . 8 2.10. SR Segment List Flags . . . . . . . . . . . . . . . . . . 8 2.11. SR Segment Flags . . . . . . . . . . . . . . . . . . . . 9 2.12. SR Segment List Metric Flags . . . . . . . . . . . . . . 10 3. Manageability Considerations . . . . . . . . . . . . . . . . 10 4. Security Considerations . . . . . . . . . . . . . . . . . . . 11 5. Normative References . . . . . . . . . . . . . . . . . . . . 11 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 11 1. Introduction [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. MahendraBabu Expires 6 June 2027 [Page 2] Internet-Draft RFC 9857 Flag Registries December 2026 2. IANA Considerations 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 (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. 2.1. SR Policy Candidate Path Descriptor Flags 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 | RFC 9857 | | | IPv6 address (E-Flag) | | +-----+-------------------------------------------------+-----------+ | 1 | Originator address is encoded | RFC 9857 | | | as an IPv6 address (O-Flag) | | +-----+-------------------------------------------------+-----------+ | 2-7 | Unassigned | | +-----+-------------------------------------------------+-----------+ Table 1: SR Policy Candidate Path Descriptor Flags 2.2. SR Binding SID Flags 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: MahendraBabu Expires 6 June 2027 [Page 3] Internet-Draft RFC 9857 Flag Registries December 2026 +======+=======================================+===========+ | 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 | | +------+---------------------------------------+-----------+ Table 2: SR Binding SID Flags 2.3. SRv6 Binding SID Flags 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 | | +------+-------------------------------------+-----------+ Table 3: SRv6 Binding SID Flags 2.4. SR Candidate Path State Flags 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: MahendraBabu Expires 6 June 2027 [Page 4] Internet-Draft RFC 9857 Flag Registries December 2026 +=======+===============================================+===========+ | 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 | RFC 9857 | | | (T-Flag) | | +-------+-----------------------------------------------+-----------+ | 10 | Drop-Upon-Invalid active (U-Flag) | RFC 9857 | +-------+-----------------------------------------------+-----------+ | 11-15 | Unassigned | | +-------+-----------------------------------------------+-----------+ Table 4: SR Candidate Path State Flags 2.5. SR Candidate Path Constraints Flags 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: MahendraBabu Expires 6 June 2027 [Page 5] Internet-Draft RFC 9857 Flag Registries December 2026 +======+=====================================+===========+ | 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 | RFC 9857 | | | algorithm (A-Flag) | | +------+-------------------------------------+-----------+ | 4 | Use only SIDs of the specified | RFC 9857 | | | topology (T-Flag) | | +------+-------------------------------------+-----------+ | 5 | Strict protected or unprotected SID | RFC 9857 | | | constraint (S-Flag) | | +------+-------------------------------------+-----------+ | 6 | Fixed path (F-Flag) | RFC 9857 | +------+-------------------------------------+-----------+ | 7 | Hop-by-hop path (H-Flag) | RFC 9857 | +------+-------------------------------------+-----------+ | 8-15 | Unassigned | | +------+-------------------------------------+-----------+ Table 5: SR Candidate Path Constraints Flags 2.6. SR Disjoint Group Constraint Request Flags 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: MahendraBabu Expires 6 June 2027 [Page 6] Internet-Draft RFC 9857 Flag Registries December 2026 +=====+======================================+===========+ | 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 | RFC 9857 | | | allowed (F-Flag) | | +-----+--------------------------------------+-----------+ | 4 | Default best-path fallback allowed | RFC 9857 | | | (I-Flag) | | +-----+--------------------------------------+-----------+ | 5-7 | Unassigned | | +-----+--------------------------------------+-----------+ Table 6: SR Disjoint Group Constraint Request Flags 2.7. SR Disjoint Group Constraint Status Flags 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 | RFC 9857 | | | used (F-Flag) | | +-----+-------------------------------------------------+-----------+ | 4 | Best-path fallback used (I-Flag) | RFC 9857 | +-----+-------------------------------------------------+-----------+ | 5 | Constraint not achieved; path | RFC 9857 | | | invalidated (X-Flag) | | +-----+-------------------------------------------------+-----------+ | 6-7 | Unassigned | | +-----+-------------------------------------------------+-----------+ Table 7: SR Disjoint Group Constraint Status Flags MahendraBabu Expires 6 June 2027 [Page 7] Internet-Draft RFC 9857 Flag Registries December 2026 2.8. SR Bidirectional Group Constraint Flags 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 | | +------+---------------------------------------+-----------+ Table 8: SR Bidirectional Group Constraint Flags 2.9. SR Metric Constraint Flags 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 | | +-----+---------------------------------+-----------+ Table 9: SR Metric Constraint Flags 2.10. SR Segment List Flags 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: MahendraBabu Expires 6 June 2027 [Page 8] Internet-Draft RFC 9857 Flag Registries December 2026 +======+==================================+===========+ | 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 | RFC 9857 | | | not required (V-Flag) | | +------+----------------------------------+-----------+ | 4 | First segment resolved (R-Flag) | RFC 9857 | +------+----------------------------------+-----------+ | 5 | Dynamic-path computation failed | RFC 9857 | | | (F-Flag) | | +------+----------------------------------+-----------+ | 6 | All SIDs belong to the specified | RFC 9857 | | | algorithm (A-Flag) | | +------+----------------------------------+-----------+ | 7 | All SIDs belong to the specified | RFC 9857 | | | topology (T-Flag) | | +------+----------------------------------+-----------+ | 8 | SID list removed due to a | RFC 9857 | | | monitoring fault (M-Flag) | | +------+----------------------------------+-----------+ | 9-15 | Unassigned | | +------+----------------------------------+-----------+ Table 10: SR Segment List Flags 2.11. SR Segment Flags 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: MahendraBabu Expires 6 June 2027 [Page 9] Internet-Draft RFC 9857 Flag Registries December 2026 +======+=====================================+===========+ | Bit | Description | Reference | +======+=====================================+===========+ | 0 | SID present (S-Flag) | RFC 9857 | +------+-------------------------------------+-----------+ | 1 | Explicitly provisioned SID (E-Flag) | RFC 9857 | +------+-------------------------------------+-----------+ | 2 | SID verification passed or not | RFC 9857 | | | required (V-Flag) | | +------+-------------------------------------+-----------+ | 3 | SID resolution passed or not | RFC 9857 | | | required (R-Flag) | | +------+-------------------------------------+-----------+ | 4 | Algorithm in the segment descriptor | RFC 9857 | | | is valid (A-Flag) | | +------+-------------------------------------+-----------+ | 5-15 | Unassigned | | +------+-------------------------------------+-----------+ Table 11: SR Segment Flags 2.12. SR Segment List Metric Flags 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 | | +-----+----------------------------------------+-----------+ Table 12: SR Segment List Metric Flags 3. Manageability Considerations This document creates IANA registries and makes no change to the manageability considerations of [RFC9857]. MahendraBabu Expires 6 June 2027 [Page 10] Internet-Draft RFC 9857 Flag Registries December 2026 4. Security Considerations 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. 5. Normative References [RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10.17487/RFC8126, June 2017, . [RFC9552] Talaulikar, K., Ed., "Distribution of Link-State and Traffic Engineering Information Using BGP", RFC 9552, DOI 10.17487/RFC9552, December 2023, . [RFC9857] Previdi, S., Talaulikar, K., Ed., Dong, J., Gredler, H., and J. Tantsura, "Advertisement of Segment Routing Policies Using BGP - Link State", RFC 9857, DOI 10.17487/RFC9857, October 2025, . Author's Address Aravind Babu MahendraBabu Cisco Systems, Inc. India Email: aramahen@cisco.com MahendraBabu Expires 6 June 2027 [Page 11]