Internet-Draft RFC 9857 Flag Registries December 2026
MahendraBabu Expires 6 June 2027 [Page]
Workgroup:
Inter-Domain Routing
Internet-Draft:
draft-aravind-idr-rfc9857-iana-flags-00
Updates:
9857 (if approved)
Published:
Intended Status:
Standards Track
Expires:
Author:
A. B. MahendraBabu
Cisco Systems, Inc.

IANA Registries for Flags in BGP-LS Segment Routing Policy Extensions

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.

▲

Table of Contents

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.

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.

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:

Table 1: SR Policy Candidate Path Descriptor Flags
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  

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:

Table 2: SR Binding SID Flags
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  

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:

Table 3: SRv6 Binding SID Flags
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  

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:

Table 4: SR Candidate Path State Flags
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  

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:

Table 5: SR Candidate Path Constraints Flags
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  

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:

Table 6: SR Disjoint Group Constraint Request Flags
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  

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:

Table 7: SR Disjoint Group Constraint Status Flags
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  

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:

Table 8: SR Bidirectional Group Constraint Flags
Bit Description Reference
0 Reverse path (R-Flag) RFC 9857
1 Co-routed bidirectional path (C-Flag) RFC 9857
2-15 Unassigned  

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:

Table 9: SR Metric Constraint Flags
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  

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:

Table 10: SR Segment List Flags
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  

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:

Table 11: SR Segment Flags
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  

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:

Table 12: SR Segment List Metric Flags
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  

3. Manageability Considerations

This document creates IANA registries and makes no change to the manageability considerations of [RFC9857].

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, , <https://www.rfc-editor.org/rfc/rfc8126>.
[RFC9552]
Talaulikar, K., Ed., "Distribution of Link-State and Traffic Engineering Information Using BGP", RFC 9552, DOI 10.17487/RFC9552, , <https://www.rfc-editor.org/rfc/rfc9552>.
[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, , <https://www.rfc-editor.org/rfc/rfc9857>.

Author's Address

Aravind Babu MahendraBabu
Cisco Systems, Inc.
India