| Internet-Draft | IPFIX for Flex-Algo | November 2025 |
| Liu & Zhao | Expires 1 June 2026 | [Page] |
This document introduces a new IPFIX information element (IE) to identify the IGP flexible algorithm information related with the Segment Identifier(SID) or the IPv4/IPv6 prefix.¶
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 1 June 2026.¶
Copyright (c) 2025 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.¶
[RFC9350] introduces the concept of Flexible Algorithm that allows IGPs (ISIS, OSPFv2 and OSPFv3) to compute constraint-based path over an SR-MPLS or an SRv6 network. In SR, the same prefix can be associated with multiple algorithms. [I-D.ietf-lsr-algorithm-related-adjacency-sid] comments that, besides the SR-MPLS prefix SID, the algorithm can be also included as part of an SR-MPLS Adjacency-SID advertisement in scenarios where multiple algorithm share the same link resource.¶
[RFC9502] further extends IGP Flexible Algorithm so that it can be used with regular IPv4 and IPv6 forwarding.¶
With IGP Flexible Algorithm, a physical network can be divided into multiple logical planes. For each Flex-Algorithm, the path is computed independently.¶
Below are the typical use cases when monitoring a traffic flow in a network with IGP Flex-Algorithm enabled.¶
By only looking at the SR SID or the IP address itself, the above questions could not be answered.¶
This document introduces a new IP Flow Information Export (IPFIX) information element (IE) to identify the IGP Flexible algorithm related with the SR segment identifier(SID) or the IPv4/IPv6 prefix.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document makes use of the terms defined in [RFC7011], [RFC8402] and [RFC9350].¶
The following terms are used as defined in [RFC7011]:¶
The following terms are used as defined in [RFC8402]:¶
The following terms are used as defined in [RFC9350]:¶
A new IE "flexAlgo" is defined in this document to identify the Flexible Algorithm information related with an SR-MPLS SID, an SRv6 locator or an IPv4/IPv6 prefix, the IE carries the value of the IGP Algorithm Types as in the IANA "IGP Algorithm Types" registry.¶
flexAlgo¶
TBD1¶
The 8-bit value that represents an IGP Flexible Algorithm number related with an SR-MPLS SID, an SRv6 locator or an IPv4/IPv6 prefix. The Flexible Algorithm number are specified in the IANA "IGP Algorithm Types".¶
unsigned8¶
identifier¶
This document.¶
When used for monitoring SR-MPLS traffic flows, the IE "flexAlgo" indicates the IGP flexible algorithm of the active SR-MPLS prefix/adjacency SID or the IGP prefix related with the SR-MPLS SID, as in [RFC8665], [RFC9350] and [I-D.ietf-lsr-algorithm-related-adjacency-sid]. And the "flexAlgo" is valid when the value of IE "IPFIX MPLS label type (Value 46)"[RFC9160] in the data record is 7 (OSPFv2 Segment Routing), 8 (OSPFv3 Segment Routing) or 9(IS-IS Segment Routing). In the absence of the IE "IPFIX MPLS label type" in the IPFIX template record, how to process the "flexAlgo" is implementation specific.¶
When used for monitoring SRv6 traffic flows, the IE "flexAlgo" indicates the IGP algorithm related with the locator of the active SRv6 SID as in [RFC9350], [RFC9352] and [RFC9513]. And the "flexAlgo" is valid when the value of IE "IPFIX IPv6 SRH Segment Type (Value 500)"[RFC9487] in the data record is 3 (OSPFv3 Segment Routing) or 4 (IS-IS Segment Routing). In the absence of the "IPFIX IPv6 SRH Segment Type", how to process the "flexAlgo" is implementation specific.¶
When monitoring pure IPv4/IPv6 traffic flows, the IE "flexAlgo" can be used to indicate the IGP algorithm related with the destination IPv4/IPv6 address or the IPv4/IPv6 next hop address.¶
There are no additional security considerations regarding allocation of these new IPFIX IEs compared to [RFC7012].¶
Other security considerations for IGP flexible algorithmin [RFC9350] and [RFC9502] apply to this document.¶
This document requests IANA to create a new IE under the "IPFIX Information Elements" registry [RFC7012] available at [IANA-IPFIX].¶
+-------+--------------------------------+
|Element| Name | Reference |
| ID | | |
+-------+-----------------+--------------+
| TBD1 | flexAlgo |This document |
+-------+-----------------+--------------+
¶