rfc-9951

Export of Delay Performance Metrics in IP Flow Information Export (IPFIX)

T. Graf, B. Claise, A. Huang-Feng
date2026-04 streamIETF areaops wgopsawg statusPROPOSED STANDARD pages27 canonicalhttps://www.rfc-editor.org/rfc/rfc9951 doi10.17487/RFC9951
This document specifies new IP Flow Information Export (IPFIX) Information Elements to export the On-Path delay at each Operations, Administration, and Maintenance (OAM) transit and decapsulating nodes. The On-Path delay is defined as the delay between the OAM header encapsulating node and each OAM header transit and OAM header decapsulating nodes. This delay measurement is computed by an On-Path Telemetry protocol and is exported by the IPFIX process.

Extracted elements (25)

design-rationale §3

Delay metrics are aggregated within the Flow Record on the OAM transit or decapsulating node, which reduces both export bandwidth and Collector processing requirements compared to exporting each packet as an individual Flow Record with timestamp information.

measurement, ip

design-rationale §7.4

For long-running Flows, the IPFIX Metering Process may miss the temporal distribution of delay (e.g., elevated delay only at the start). Operators experiencing this as a problem should configure a smaller Flow expiration timeout per RFC 5470 Section 5.1.1.

measurement

design-rationale §3

Two encoding strategies are offered: exporting pathDelayMeanDeltaMicroseconds (mean computed on the exporter) reduces Collector processing, while exporting pathDelaySumDeltaMicroseconds allows the Collector to compute mean as sum/packetDeltaCount, reducing Exporter computation and per-packet caching requirements.

measurement

design-rationale §7.3

unsigned64 was chosen for pathDelaySumDeltaMicroseconds (rather than unsigned32) to avoid overflow: a flow with 100 ms path delay cannot exceed 42,949 packets without wrapping an unsigned32 counter. Reduced-size encoding per RFC 7011 Section 6.2 may be applied when unsigned32 suffices.

measurement, ip

interoperability-note §7.5

The delay metrics defined here can be computed using IOAM (RFC 9197) via the Edge-to-Edge or Direct Exporting Option-Type, or using the Enhanced Alternate Marking Method per RFC 9947 applied to SRv6 Segment Routing Headers. Implementations must document at which forwarding-plane point the encapsulating timestamp is introduced.

measurement, ip

interoperability-note §1

This solution is primarily applicable to postcard mode On-Path Telemetry, in which OAM header transit nodes also export telemetry data. In passport mode (only the decapsulating node reports), per-hop transit delay export is not directly supported.

measurement, ip

normative-requirement §8 SHOULD

Implementations SHOULD refer to BCP 195 for additional security guidance when selecting the underlying protocol used to exchange the IPFIX delay information.

security, tls

normative-requirement §8 MUST

IPFIX collectors MUST ensure that IPFIX data originates from trusted sources. Accepting data from unauthenticated sources could lead to data spoofing, policy misapplication, or denial of service.

security, measurement

normative-requirement §4.4.2.3 SHALL

The maximum one-way delay SHALL be calculated using the conditional distribution of all packets with a finite value of one-way delay; the maximum is the largest FiniteDelay[j] across all finite singleton delays.

measurement

normative-requirement §4.4.2.1 SHALL

The mean one-way delay SHALL be calculated using the conditional distribution of all packets with a finite value of one-way delay, excluding undefined delays, yielding a single value expressed in microseconds.

measurement

normative-requirement §4.4.2.2 SHALL

The minimum one-way delay SHALL be calculated using the conditional distribution of all packets with a finite value of one-way delay, excluding undefined delays.

measurement

normative-requirement §4.4.2.4 SHALL

The sum of one-way delays SHALL be calculated using the conditional distribution of all packets with a finite value of one-way delay; either FiniteDelay or MaxDelay MAY be used per RFC 6049 Section 4.3.5.

measurement

normative-requirement §4.3.5 REQUIRED

The UTC Time Zone is required for the T0 and Tf runtime parameters (start and end of measurement interval), per Section 6.1 of RFC 2330.

measurement

protocol-element §4.4.2.6

Clock synchronization between monitored nodes is required to produce representative delay measurements. NTP (RFC 5905) is cited as a suitable synchronization mechanism. Output values are expressed as decimal64 with fraction digits = 9, providing 0.001 microsecond (1 ns) resolution.

measurement, ntp

protocol-element §3

Four new IPFIX Information Elements are defined: pathDelayMeanDeltaMicroseconds (530), pathDelayMinDeltaMicroseconds (531), pathDelayMaxDeltaMicroseconds (532), and pathDelaySumDeltaMicroseconds (533). These expose On-Path delay measured at OAM header transit and decapsulating nodes within an IPFIX Flow Record.

measurement, ip

protocol-element §6.2.3

pathDelayMaxDeltaMicroseconds (ElementID 532) reports the highest path delay of all packets in a Flow in microseconds, encoded as unsigned32 with deltaCounter semantics.

measurement, ip

protocol-element §6.2.1

pathDelayMeanDeltaMicroseconds (ElementID 530) reports the mean path delay of all packets in a Flow in microseconds, encoded as unsigned32 with deltaCounter semantics, between the OAM header encapsulating node and the local node.

measurement, ip

protocol-element §6.2.2

pathDelayMinDeltaMicroseconds (ElementID 531) reports the lowest path delay of all packets in a Flow in microseconds, encoded as unsigned32 with deltaCounter semantics.

measurement, ip

protocol-element §6.2.4

pathDelaySumDeltaMicroseconds (ElementID 533) reports the sum of path delays of all packets in a Flow in microseconds, encoded as unsigned64 with deltaCounter semantics. The larger type is required to avoid overflow for high-delay, high-packet-count flows.

measurement, ip

protocol-element §2

The OAM domain roles are: OAM Header Encapsulating Node (inserts timestamp into OAM header), OAM Header Transit Node (measures delay between OAM timestamp and local receive time), and OAM Header Decapsulating Node (computes final delay and strips OAM header).

measurement, ip

registry §6.2

Four new entries (ElementIDs 530–533) are added to the IANA 'IPFIX Information Elements' registry in the 'IP Flow Information Export (IPFIX) Entities' registry group: pathDelayMeanDeltaMicroseconds, pathDelayMinDeltaMicroseconds, pathDelayMaxDeltaMicroseconds, and pathDelaySumDeltaMicroseconds.

registry, measurement

registry §6.1

Four new performance metrics (Identifiers 27–30) are registered in the IANA 'Performance Metrics Registry': OWDelay_HybridType1_IP_RFC9951_Seconds_Mean, _Min, _Max, and _Sum. These follow the RFC 8911 template and metric-naming convention.

registry, measurement

security-consideration §8

Exporting delay metrics may expose sensitive business or privacy information: receivers of these metrics gain visibility equivalent to a direct observer along the data path, potentially enabling traffic analysis or targeted attacks.

security, privacy, measurement

security-consideration §8

The underlying protocol exchanging IPFIX delay data must guarantee integrity and confidentiality of the exported information; see the IPFIX security considerations in RFC 7011 Section 11.

security, measurement

wire-format §6.2

pathDelayMeanDeltaMicroseconds, pathDelayMinDeltaMicroseconds, and pathDelayMaxDeltaMicroseconds are each encoded as unsigned32 (4 bytes); pathDelaySumDeltaMicroseconds is encoded as unsigned64 (8 bytes). All use deltaCounter semantics in the IPFIX Template Record.

measurement, ip