rfc-9534

Simple Two-Way Active Measurement Protocol Extensions for Performance Measurement on a Link Aggregation Group

Z. Li, T. Zhou, J. Guo, G. Mirsky, R. Gandhi
date2024-01 streamIETF areaops wgippm statusPROPOSED STANDARD pages8 canonicalhttps://www.rfc-editor.org/rfc/rfc9534 doi10.17487/RFC9534
This document extends Simple Two-way Active Measurement Protocol (STAMP) to implement performance measurement on every member link of a Link Aggregation Group (LAG). Knowing the measured metrics of each member link of a LAG enables operators to enforce a performance-based traffic steering policy across the member links.

Extracted elements (18)

design-rationale §1

A LAG uses hash-based load balancing across member links, but link delay may vary between members due to different transport paths. To support low-latency traffic steering, per-member-link performance metrics are needed, motivating the micro-session approach.

measurement

design-rationale §3.2

The micro STAMP-Test supports both stateless and stateful Session-Reflector modes as defined in STAMP RFC 8762. Importantly, no additional state is introduced: all Micro-session ID processing is stateless.

measurement

design-rationale §3.1

The Sender and Reflector Micro-session ID fields are defined generically (2 octets each) so they may be used beyond LAG scenarios in the future, even though the current use case is LAG member link identification.

measurement

interoperability-note §3.2

Micro STAMP-Test reuses all procedures from STAMP RFC 8762 Section 4, adding only the Micro-session ID TLV handling. The mapping between micro STAMP sessions and member link identifiers can be configured by augmenting the STAMP YANG data model, though the augmentation details are out of scope.

measurement, yang

normative-requirement §2 MAY

A micro STAMP Session-Sender MAY include the Follow-Up Telemetry TLV (RFC 8972) to request information from the micro Session-Reflector, improving delay measurement accuracy by minimizing egress queuing delay impact.

measurement

normative-requirement §2 RECOMMENDED

Micro sessions may share the same Sender Port and Receiver Port pair or each may use a different pair; from an operational standpoint, sharing the same port pair is RECOMMENDED.

measurement

normative-requirement §2 MUST

Test packets of micro sessions MUST carry member link information for validation, encoded in the Micro-session ID TLV.

measurement

normative-requirement §3.1 MUST

The Length field of the Micro-session ID TLV MUST be 4 (octets).

measurement

normative-requirement §3.2 MUST

The micro STAMP Session-Reflector MUST put the Sender and Reflector member link identifiers associated with the micro STAMP session into the respective fields of the reflected test packet; the Sender member link identifier is copied from the received test packet.

measurement

normative-requirement §3.2 MUST

The micro STAMP Session-Sender MUST send micro STAMP-Test packets over the member link with which the session is associated.

measurement

normative-requirement §3.1 MUST

The value of the Sender Micro-session ID field MUST be unique within a STAMP session at the Session-Sender; similarly, the Reflector Micro-session ID MUST be unique within a STAMP session at the Session-Reflector.

measurement

normative-requirement §3.2 MUST

When receiving a reflected test packet, the micro Session-Sender MUST use the Sender Micro-session ID to validate whether the packet is from the expected member link, and MUST use the Reflector Micro-session ID to validate the Reflector's behavior; validation failure in either case MUST result in the packet being discarded.

measurement

normative-requirement §3.2 MUST

When sending a test packet, the micro STAMP Session-Sender MUST set the Sender Micro-session ID field with the member link identifier. If the Reflector member link identifier is known, the Reflector Micro-session ID MUST be set; otherwise it MUST be zero.

measurement

normative-requirement §3.2 MUST

When the micro STAMP Session-Reflector receives a test packet with a non-zero Reflector Micro-session ID, it MUST use that identifier to check association with the micro STAMP session; if validation fails, the test packet MUST be discarded.

measurement

protocol-element §2

Micro sessions are STAMP sessions established on individual member links of a LAG, one session per member link, for the purpose of measuring per-link performance metrics. All micro sessions of a LAG share the same Sender IP Address and Receiver IP Address.

measurement

registry §5

IANA has allocated STAMP TLV Type value 11 for the Micro-session ID TLV in the 'STAMP TLV Types' registry defined by RFC 8972.

registry, measurement

security-consideration §6

This extension is intended for deployment where Session-Sender and Session-Reflector are directly connected over a LAG. It is assumed that a node has previously verified the integrity of the LAG connection and the identity of its one-hop peer. No additional security issues are introduced beyond those in RFC 8762 and RFC 8972.

security, measurement

wire-format §3.1

The Micro-session ID TLV (Type=11) has a 1-octet Type field, a 2-octet Length field (value MUST be 4), a 2-octet Sender Micro-session ID field, and a 2-octet Reflector Micro-session ID field, for a total Value length of 4 octets.

measurement