Internet-Draft SRv6 Flowspec Indirection Redirect October 2026
Van de Velde, et al. Expires 16 April 2027 [Page]
Workgroup:
IDR Working Group
Internet-Draft:
draft-chen-idr-srv6-flowspec-path-redirect-03
Published:
Intended Status:
Standards Track
Expires:
Authors:
G. Van de Velde
Nokia
K. Patel
Arrcus
Z. Li
Huawei Technologies
S. Zhuang
Huawei Technologies
H. Chen
Futurewei

Flowspec Indirection-id Redirect for SRv6

Abstract

BGP Flow Specification Version 2 (FSv2) provides an extensible framework for disseminating traffic flow filtering rules and associated traffic redirection actions. This document specifies extensions to the FlowSpec Redirect to Indirection-id Extended Community specifically for SRv6 (Segment Routing over IPv6). When received by a Flowspec client, this extended community triggers an indirection-based lookup within a localized mapping table to retrieve the target SRv6 Segment Identifier (SID), SRv6 Policy, or Binding SID (BSID) forwarding state. This mechanism decouples control-plane BGP Flowspec redirection instructions from dynamic underlay path updates in SRv6 networks.

Requirements Language

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.

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 16 April 2027.

▲

Table of Contents

1. Introduction

BGP [RFC4271] Flow Specification, originally defined in [RFC8955] and [RFC8956] and evolved under BGP Flow Specification Version 2 (FSv2) [I-D.ietf-idr-fsv2-ip-basic], allows network operators to distribute fine-grained flow matching rules and redirection actions across administrative domains.

The "FlowSpec Redirect to indirection-id Extended Community" framework was introduced to decouple the Flowspec redirection policy from explicit next-hop or path-specific identifiers. By directing traffic to a logical "indirection-id", a network controller can update path state (such as SR-TE paths) locally in an indirection table on edge devices without re-issuing BGP Flowspec updates.

This document extends the indirection-id framework to support SRv6 networks. It introduces a 128-bit Generalized Indirection-id encoding aligned with SRv6 SID structures, enabling seamless mapping to SRv6 Endpoint SIDs, SRv6 Binding SIDs (BSIDs), and SRv6 Policy path constructs under the FSv2 architecture.

2. Definitions and Acronyms

3. Redirect to Indirection-id Extended Community for SRv6

This document defines a new sub-type value for SRv6 within the "FlowSpec Redirect to indirection-id Extended Community" registry. The extended community is formatted using a 128-bit Generalized Indirection-id payload as shown below:

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Type      | Sub-Type(TBD) |   Flags (1B)  |    ID-Type    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
+                                                               +
|                                                               |
+             Generalized indirection_id (16 octets)            +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Redirect to indirection-id Community

Where:

4. Operational Mechanics & SRv6 Datapath Processing

4.1. Control-Plane Processing

When a BGP Flowspec client receives a Flowspec rule containing the SRv6 Indirection-id Redirect Action, it validates the rule according to FSv2 procedures defined in [I-D.ietf-idr-fsv2-ip-basic].

Upon validation, the client extracts the 128-bit Generalized Indirection-id and queries its local SRv6 Indirection Table. This table maintains dynamic mappings between the Indirection-id and active forwarding states, such as:

4.2. Datapath Encapsulation

Matching data packets are steered into the target SRv6 path resolved by the indirection table:

5. Error Handling & Fallback

If a Flowspec client receives an SRv6 Indirection-id rule but cannot resolve the 128-bit Indirection-id in its local table (e.g., policy not yet programmed or underlying SRv6 path down):

6. Security Considerations

Indirection-based traffic redirection isolates control-plane Flowspec rules from underlying path state updates. However, incorrect or malicious Indirection-id updates could result in traffic blackholing or unauthorized traffic steering across domain boundaries.

To mitigate these risks:

7. IANA Considerations

IANA is requested to allocate a new sub-type under the "FlowSpec Redirect to indirection-id Extended Community Sub-Type" registry:

Value    Description                                    Reference
0x01     Flowspec Redirect to 128-bit Path-id for SRv6  This-Document

8. Contributors

The following people made significant contributions to this document:

   Arjun Sreekantiah
   Cisco Systems
   Email: asreekan@cisco.com

   Nan Wu
   Huawei Technologies
   Email: eric.wu@huawei.com

   Wim Henderickx
   Nokia
   Email: wim.henderickx@nokia.com

9. Acknowledgments

This document received valuable comments and input from IDR working group including Adam Simpson, Mustapha Aissaoui, Jan Mertens, Robert Raszuk, Jeff Haas, Susan Hares and Lucy Yong.

10. References

10.1. Normative References

[I-D.ietf-idr-flowspec-path-redirect]
Van de Velde, G., Patel, K., and Z. Li, "Flowspec Indirection-id Redirect", Work in Progress, Internet-Draft, draft-ietf-idr-flowspec-path-redirect-13, , <https://datatracker.ietf.org/doc/html/draft-ietf-idr-flowspec-path-redirect-13>.
[I-D.ietf-idr-fsv2-ip-basic]
Hares, S., Eastlake, D. E., Dong, J., Yadlapalli, C., Maduschke, S., and J. Haas, "BGP Flow Specification Version 2 - for Basic IP", Work in Progress, Internet-Draft, draft-ietf-idr-fsv2-ip-basic-08, , <https://datatracker.ietf.org/doc/html/draft-ietf-idr-fsv2-ip-basic-08>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC4271]
Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, DOI 10.17487/RFC4271, , <https://www.rfc-editor.org/info/rfc4271>.
[RFC7606]
Chen, E., Ed., Scudder, J., Ed., Mohapatra, P., and K. Patel, "Revised Error Handling for BGP UPDATE Messages", RFC 7606, DOI 10.17487/RFC7606, , <https://www.rfc-editor.org/info/rfc7606>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8754]
Filsfils, C., Ed., Dukes, D., Ed., Previdi, S., Leddy, J., Matsushima, S., and D. Voyer, "IPv6 Segment Routing Header (SRH)", RFC 8754, DOI 10.17487/RFC8754, , <https://www.rfc-editor.org/info/rfc8754>.
[RFC8955]
Loibl, C., Hares, S., Raszuk, R., McPherson, D., and M. Bacher, "Dissemination of Flow Specification Rules", RFC 8955, DOI 10.17487/RFC8955, , <https://www.rfc-editor.org/info/rfc8955>.
[RFC8956]
Loibl, C., Ed., Raszuk, R., Ed., and S. Hares, Ed., "Dissemination of Flow Specification Rules for IPv6", RFC 8956, DOI 10.17487/RFC8956, , <https://www.rfc-editor.org/info/rfc8956>.
[RFC8986]
Filsfils, C., Ed., Camarillo, P., Ed., Leddy, J., Voyer, D., Matsushima, S., and Z. Li, "Segment Routing over IPv6 (SRv6) Network Programming", RFC 8986, DOI 10.17487/RFC8986, , <https://www.rfc-editor.org/info/rfc8986>.

10.2. Informative References

Authors' Addresses

Gunter Van de Velde
Nokia
Antwerp
Belgium
Keyur Patel
Arrcus
United States of America
Zhenbin Li
Huawei Technologies
156 Beiqing Road
Beijing
100095
P.R. China
Shunwan Zhuang
Huawei Technologies
156 Beiqing Road
Beijing
100095
P.R. China
Huaimo Chen
Futurewei
Boston, MA,,
United States of America