IETF Community Wiki

FSv2 Extended Community Actions

FSv2 Ext-Com

Flow Specification Actions in Extended Community

Flow Specification Transitive Extended Community (0x07)

FS Transitive Registry is FCFS

Grouping Actions

EXT Community type Component Sub-registry Description document
FS Transitive (0x07) 0x02 No Interface set draft-ietf-idr-flowspec-interfaceset
FS Transitive (0x07) TBD-1 yes Group ID draft-peng-idr-apn-bgp-flowspec
FS Transitive (0x07) TBD-2 yes Rule-Position draft-geng-idr-flowspec-sav

{.dense}
Notice that all three interfaces grouping actions can be overlaid on the same extended community information.

interface set explanations
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  | 0x07 or 0x47  |      0x02     |    Autonomous System Number   :
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  :     AS Number (cont.)         |O|I|      Group Identifier     |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Group SAVNet
   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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 | 0x07 or 0x47  |      TBD2     |    Autonomous System Number   :
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 :     AS Number (cont.)         |    Position   |    Reserved   |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Group APN
               0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               | 0x07 or 0x47  |Sub-Type = TBD2|
               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               |           Group ID            |
               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               |         Sub-Group ID          |
               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               |         Sub-Group2 ID         |
               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Redirection

EXT Community type Component Description Sub-registry document
FS Transitive (0x07) TBD-3 Redirection to IPv4 No draft-ietf-idr-flowspec-redirect-ip
FS Transitive (0x07) TBD-4 Redirect to Generalized ID Registry-1: FlowSpec Redirect to indirection-id Extended Community Sub-Type draft-ietf-idr-flowspec-path-redirect-05
FS Transitive (0x07) TBD-5 Redirect to Generalized Segment ID Registry-2: Redirect via Generalized SID draft-li-idr-flowspec-redirect-generalized-sid
FS Transitive (0x07) TBD-6 Redirect to IPv4 CSCI-ID Action yes draft-lin-idr-cats-flowspec-ts
FS Transitive (0x07) TBD-7 Redirect to SR Policy Action Wide-only draft-li-idr-flowspec-sr-policy-03
FS Transitive (0x07) TBD-8 (Redirect) SRv6 SID Action Wide-only draft-li-idr-flowspec-sr-policy-03

Notice that all redirections can be overlaid on the same template if the flags are moved to another point

  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      | Flags(1 octet)|    ID-Type    |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                  Generalized indirection_id                   |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Generalized Flags (1 octet)
                          0             1
                          0 1 2 3 4 5 6 7
                          +-+-+-+-+-+-+-+-+
                          | RES | S-ID  |C|
                          +-+-+-+-+-+-+-+-+
Redirect IP Flags and ID field (2 octets)
              0                   1
              0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
             +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
             |          Reserved           |C|
             +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Mark/Merge/traffic shape actions

Traffic shape

EXT Community type Component Description Sub-registry document
0x07 06 Traffic rate byte no RFC8955
0x07 0C Traffic rate packets no RFC8955

Sample

EXT Community type Component Description document
FS Transitive (0x07) 0x09 inherit-apn draft-peng-idr-apn-bgp-flowspec

Mark actions

EXT Community type Component Sub-registry Description document
FS Transitive (0x07) 0x09 No Mark DSCP RFC8955
FS Transitive (0x07) TBD-9 No Rule Position draft-geng-idr-flowspec-sav
FS Transitive (0x07) TBD-10 Yes MARK IPv4 CS-ID Action draft-lin-idr-cats-flowspec-ts
FS Transitive (0x07) TBD-11 No MARK IPv6 CS-ID Action draft-lin-idr-cats-flowspec-ts
FS Transitive (0x07) TBD-12 No Add Compress Parameter Index (CPI) draft-shen-idr-flowspec-traffic-compress-action

Mark

EXT Community type Component Description document
FS Transitive (0x07) TBD-13 Group ID draft-peng-idr-apn-bgp-flowspec
FS Transitive (0x07) TBD-14 traffic mark APN draft-peng-idr-apn-bgp-flowspec
FS Transitive(0x07) TBD-15 traffic mark APN partial draft-peng-idr-apn-bgp-flowspec

Merge

EXT Community type Component Description document
FS Transitive (0x07) TBD-16 inherit-apn draft-peng-idr-apn-bgp-flowspec
FS Transitive (0x07) TBD-17 Stitch-apn draft-peng-idr-apn-bgp-flowspec

Flow Specification Transitive logging

EXT Community type Component Description document
FS Transitive (0x07) TBD-18 Feedback-action draft-cui-idr-flowspec-feedback-finding

Flow Specification Non-Transitive Extended Community

registry is FCFS

Non-transitive grouping
EXT Community type Component Description document
FS Non-Transitive (0x47) 0x02 Interface set draft-ietf-idr-flowspec-interfaceset
FS Non-Transitive (0x47) TBD-1 yes Group ID draft-peng-idr-apn-bgp-flowspec
FS Non-Transitive (0x47) TBD-2 yes Rule-Position draft-geng-idr-flowspec-sav
Non-transitive redirect
EXT Community type Component Description Sub-registry document
FS Non-Transitive (0x47) TBD-3 Redirection to IPv4 No draft-ietf-idr-flowspec-redirect-ip
FS Non-Transitive (0x47) TBD-4 Redirect to Generalized ID Registry-1: FlowSpec Redirect to indirection-id Extended Community Sub-Type draft-ietf-idr-flowspec-path-redirect-05
FS Non-Transitive (0x47) TBD-5 Redirect to Generalized Segment ID Registry-2: Redirect via Generalized SID draft-li-idr-flowspec-redirect-generalized-sid
FS Non-Transitive (0x47) TBD-6 Redirect to IPv4 CSCI-ID Action yes draft-lin-idr-cats-flowspec-ts
FS Non-Transitive (0x47) TBD-7 Redirect to SR Policy Action Wide-only draft-li-idr-flowspec-sr-policy-03
FS Non-Transitive (0x47) TBD-8 (Redirect) SRv6 SID Action Wide-only draft-li-idr-flowspec-sr-policy-03

Non-Transitive Mark/Merge/traffic shape actions

Non-Transitive Traffic shape

EXT Community type Component Description Sub-registry document
FS Non-Transitive (0x47) 06 Traffic rate byte no RFC8955
FS Non-Transitive (0x47) 07 Traffic rate packets no RFC8955

Mark actions

EXT Community type Component Sub-registry Description document
FS Non-Transitive (0x47) 0x09 No Mark DSCP RFC8955
FS Non-Transitive (0x47) TBD-9 No Rule Position draft-geng-idr-flowspec-sav
FS Non-Transitive (0x47) TBD-10 Yes MARK IPv4 CS-ID Action draft-lin-idr-cats-flowspec-ts
FS Non-Transitive (0x47) TBD-11 No MARK IPv6 CS-ID Action draft-lin-idr-cats-flowspec-ts
FS Non-Transitive (0x47) TBD-12 No Add Compress Parameter Index (CPI) draft-shen-idr-flowspec-traffic-compress-action

Non-transitive APN tunnel Mark

EXT Community type Component Description document
FS Non-Transitive (0x47)) TBD-13 Group ID draft-peng-idr-apn-bgp-flowspec
FS Non-Transitive (0x47) TBD-14 traffic mark APN draft-peng-idr-apn-bgp-flowspec
FS Non-Transitive (0x47) TBD-15 traffic mark APN partial draft-peng-idr-apn-bgp-flowspec

Non-Transitive merge

EXT Community type Component Description document
FS Non-Transitive (0x47) TBD-16 inherit-apn draft-peng-idr-apn-bgp-flowspec
FS Non-Transitive (0x47) TBD-17 Stitch-apn draft-peng-idr-apn-bgp-flowspec

Generic Transitive Experimental Use Extended Community (0x0d)

Tramsitive Extended Community (0x0b)

EXT Community type Component Description document
Generic Transitive Experimental (0x0d) SFC Sub-types registry RFC9015
Generic Transitive Experimental (0x0d) 0 Reserved RFC9015
Generic Transitive Experimental (0x0d) 1 SFIR pool Identifier RFC9015
Generic Transitive Experimental (0x0d) 2 MPLS Label Stack Mixed (swapping/stacking) Labels RFC9015

Generic Transitive Experimental Use Extended Community (0x0d)

Transitive Extended Community (0x0b)

EXT Community type Component Description document
Generic Transitive (0x80) TBD-9 Compress Parameter Index (CPI) draft-shen-idr-flowspec-traffic-compress-action

Transitive FS SFC Extended Community

EXT Community type Component Description document
Transitive FS SFC (0x0b) SFC Sub-types registry RFC9015
Transitive FS SFC (0x0b) 0 Rserved RFC9015
Transitive FS SFC (0x0b) 1 SFIR pool Identifier RFC9015
Transitive FS SFC (0x0b) 2 MPLS Label Stack Mixed (swapping/stacking) Labels RFC9015

Proposed New FSv2 Extended Community Action Registries

Registry 1: FlowSpec Redirect to indirection-id Extended Community Sub-Type

Value Code document
0x00 Flowspec Redirect to 32-bit Path-id draft-ietf-idr-flowspec-path-redirect
0x01 Node ID with SID/index in SRmpls draft-ietf-idr-flowspec-path-redirect
0x02 Node ID with SID/label in SRmpls draft-ietf-idr-flowspec-path-redirect
0x03 Binding SID with SID/index in SRmpls draft-ietf-idr-flowspec-path-redirect
0x04 Binding Segment ID with SID/label in SRmpls draft-ietf-idr-flowspec-path-redirect
0x05 Tunnel ID (32 bit Identifier) draft-ietf-idr-flowspec-path-redirect
0x06 Node ID with SID/index in SRv6 draft-chen-idr-srv6-flowpec-path-redirecdt
0x07 Binding Segment ID with SID/index in SRv6 draft-chen-idr-srv6-flowpec-path-redirecdt
0x08 Binding Segment ID with SID/index in SRv6 draft-chen-idr-srv6-flowpec-path-redirecdt

Registry 2: Redirect via Generalized SID

Value Code document
TBD-0 Reserved draft-li-idr-flowspec-redirect-generalized-sid
TBD-1 Node segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-2 Agency Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-3 AS (Autonomous System) Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-4 Anycast Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-5 Multicast Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-6 Tunnel Segment (Tunnel Binding Segment ) draft-li-idr-flowspec-redirect-generalized-sid
TBD-7 VPN Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-8 OAM Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-9 ECMP Segement draft-li-idr-flowspec-redirect-generalized-sid
TBD-10 QoS Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-11 Bandwidth-Guarantee Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-12 Security Segment draft-li-idr-flowspec-redirect-generalized-sid
TBD-13 Multi-Topology Segment draft-li-idr-flowspec-redirect-generalized-sid

Proposed New FSv2 Extended Community Action Registries

Registry 3: "Flowspec redirect to IP SEC SA-ID Sub-Type"

Value Code document
TBD1 Inner Encap Type 1 (IPsec + GRE) draft-dmc-idr-flowspec-tn-aware-mobility
TBD2 Inner Encap Type 2 (IPSec + Vxlan) draft-dmc-idr-flowspec-tn-aware-mobility }