RFC 9546 | OAM for DetNet over MPLS | February 2024 |
Mirsky, et al. | Standards Track | [Page] |
This document defines format and usage principles of the Deterministic Networking (DetNet) service Associated Channel over a DetNet network with the MPLS data plane. The DetNet service Associated Channel can be used to carry test packets of active Operations, Administration, and Maintenance (OAM) protocols that are used to detect DetNet failures and measure performance metrics.¶
This is an Internet Standards Track document.¶
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc9546.¶
Copyright (c) 2024 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.¶
[RFC8655] introduces and explains Deterministic Networking (DetNet) architecture and how the Packet Replication, Elimination, and Ordering Functions (PREOF) can be used to ensure a low packet drop ratio in a DetNet domain.¶
Operations, Administration, and Maintenance (OAM) protocols are used to detect and localize network defects and to monitor network performance. Some OAM functions (e.g., failure detection) are usually performed proactively in the network, while others (e.g., defect localization) are typically performed on demand. These tasks can be achieved through a combination of active and hybrid OAM methods, as classified in [RFC7799]. This document presents a format for active OAM in DetNet networks with the MPLS data plane.¶
Also, this document defines format and usage principles of the DetNet service Associated Channel over a DetNet network with the MPLS data plane [RFC8964].¶
The term "DetNet OAM" in this document is used interchangeably with a "set of OAM protocols, methods, and tools for Deterministic Networking".¶
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.¶
OAM protocols and mechanisms act within the data plane of the particular networking layer; thus, it is critical that the data plane encapsulation supports OAM mechanisms that comply with the OAM requirements listed in [OAM-FRAMEWORK].¶
Operation of a DetNet data plane with an MPLS underlay network is specified in [RFC8964]. Within the MPLS underlay network, DetNet flows are to be encapsulated analogous to pseudowires (PWs) as specified in [RFC3985] and [RFC4385]. For reference, the Generic PW MPLS Control Word (as defined in [RFC4385] and used with DetNet) is reproduced in Figure 1.¶
PREOF in the DetNet domain is composed of a combination of nodes that perform replication and elimination functions. The Elimination sub-function always uses the S-Label in conjunction with the packet sequencing information (i.e., the Sequence Number encoded in the DetNet Control Word). The Replication sub-function uses the S-Label information only.¶
DetNet OAM, like PW OAM, uses the PW Associated Channel Header defined in [RFC4385]. At the same time, a DetNet PW can be viewed as a Multi-Segment PW, where DetNet service sub-layer functions are at the segment endpoints. However, DetNet service sub-layer functions operate per packet level (not per segment). These per-packet level characteristics of PREOF require additional fields for proper OAM packet processing. MPLS encapsulation [RFC8964] of a DetNet active OAM packet is shown in Figure 2.¶
Figure 3 displays encapsulation of a test packet for a DetNet active OAM protocol in case of MPLS over UDP/IP [RFC9025].¶
Figure 4 displays the format of the DetNet Associated Channel Header (d-ACH).¶
A 4-bit field. The Session field distinguishes OAM sessions originating from the same node (a given Maintenance End Point may have multiple simultaneously active OAM sessions) at the given Level.¶
According to [RFC8964], a DetNet flow is identified by the S-Label that MUST be at the bottom of the stack. An active OAM packet MUST include d-ACH immediately following the S-Label.¶
At the DetNet service sub-layer, special functions (notably PREOF) MAY be applied to the particular DetNet flow to potentially reduce packet loss, improve the probability of on-time packet delivery, and ensure in-order packet delivery. PREOF relies on sequencing information in the DetNet service sub-layer. For a DetNet active OAM packet, PREOF MUST use the Sequence Number field value as the source of this sequencing information. App-flow and OAM use different sequence number spaces. PREOF algorithms are executed with respect to the sequence number space identified by the flow's characteristic information. Although the Sequence Number field in d-ACH has a range from 0 through 255, it provides sufficient space because the rate of DetNet active OAM packets is significantly lower compared to the rate of DetNet packets in an App-flow; therefore, wrapping around is not an issue.¶
Interworking of two OAM domains that utilize different networking technology can be realized by either a peering model or a tunneling model. In a peering model, OAM domains are within the corresponding network domain. When using the peering model, state changes that are detected by a Fault Management OAM protocol can be mapped from one OAM domain into another or a notification, e.g., an alarm can be sent to a central controller. In the tunneling model of OAM interworking, usually only one active OAM protocol is used. Its test packets are tunneled through another domain along with the data flow, thus ensuring fate sharing among test and data packets.¶
DetNet active OAM can provide end-to-end (E2E) fault management and performance monitoring for a DetNet flow. In the case of DetNet with an MPLS data plane and an IEEE 802.1 Time-Sensitive Networking (TSN) sub-network, it implies the interworking of DetNet active OAM with TSN OAM, of which the data plane aspects are specified in [RFC9037].¶
When the peering model (Section 4) is used in the Connectivity Fault Management (CFM) OAM protocol [IEEE.802.1Q], the node that borders both TSN and DetNet MPLS domains MUST support [RFC7023]. [RFC7023] specifies the mapping of defect states between Ethernet Attachment Circuits and associated Ethernet PWs that are part of an E2E emulated Ethernet service and are also applicable to E2E OAM across DetNet MPLS and TSN domains. The CFM [IEEE.802.1Q] [ITU.Y1731] can provide fast detection of a failure in the TSN segment of the DetNet service. In the DetNet MPLS domain, Bidirectional Forwarding Detection (BFD), as specified in [RFC5880] and [RFC5885], can be used. To provide E2E failure detection, the TSN and DetNet MPLS segments could be treated as concatenated such that the diagnostic codes (see Section 6.8.17 of [RFC5880]) MAY be used to inform the upstream DetNet MPLS node of a TSN segment failure. Performance monitoring can be supported by [RFC6374] in the DetNet MPLS and by [ITU.Y1731] in TSN domains, respectively. Performance objectives for each domain should refer to metrics that are composable [RFC6049] or are defined for each domain separately.¶
The following considerations apply when using the tunneling model of OAM interworking between DetNet MPLS and TSN domains based on general principles described in Section 4 of [RFC9037]:¶
Mapping between a DetNet flow and TSN Stream in the TSN sub-network is described in Section 4.1 of [RFC9037]. The mapping has to be done only on the edge node of the TSN sub-network, and intermediate TSN nodes do not need to recognize the S-Label. An edge node has two components:¶
The first component identifies the DetNet flow (using Clause 6.8 of [IEEE.802.1CBdb]), and the second component creates the TSN Stream by manipulating the Ethernet header. That manipulation simplifies the identification of the TSN Stream in the intermediate TSN nodes by avoiding the need for them to look outside of the Ethernet header. DetNet MPLS OAM packets use the same S-Label as the DetNet flow data packets. The above-described mapping function treats these OAM packets as data packets of the DetNet flow. As a result, DetNet MPLS OAM packets are fate sharing within the TSN sub-network. As an example of the mapping between DetNet MPLS and TSN, see Annex C.1 of [IEEE.802.1CBdb] that, in support of [RFC9037], describes how to match MPLS DetNet flows and achieve TSN Streams.¶
Note that the tunneling model of the OAM interworking requires that the remote peer of the E2E OAM domain supports the active OAM protocol selected on the ingress endpoint. For example, if BFD is used for proactive path continuity monitoring in the DetNet MPLS domain, BFD support (as defined in [RFC5885]) is necessary at any TSN endpoint of the DetNet service.¶
Interworking between active OAM segments in DetNet MPLS and DetNet IP domains can also be realized using either the peering model or the tunneling model, as discussed in Section 4.1. Using the same protocol, e.g., BFD over both segments, simplifies the mapping of errors in the peering model. For example, respective BFD sessions in DetNet MPLS and DetNet IP domains can be in a concatenated relationship as described in Section 6.8.17 of [RFC5880]. To provide performance monitoring over a DetNet IP domain, the Simple Two-way Active Measurement Protocol (STAMP) [RFC8762] and its extensions [RFC8972] can be used to measure packet loss and packet delay metrics. Such performance metrics can be used to calculate composable metrics [RFC6049] within DetNet MPLS and DetNet IP domains to reflect the end-to-end DetNet service performance.¶
IANA has created the "DetNet Associated Channel Header (d-ACH) Flags" registry within the "DetNet Associated Channel Header (d-ACH) Flags" registry group. The registration procedure is "IETF Review" [RFC8126]. There are five flags in the 5-bit Flags field, as defined in Table 1.¶
Bit | Description |
---|---|
0-4 | Unassigned |
Security considerations discussed in DetNet specifications [RFC8655], [RFC8964], [RFC9055], and [OAM-FRAMEWORK] are applicable to this document. Security concerns and issues related to MPLS OAM tools like LSP Ping [RFC8029] and BFD over PW [RFC5885] also apply to this specification.¶
The authors extend their appreciation to Pascal Thubert for his insightful comments and productive discussion that helped to improve the document. The authors are enormously grateful to János Farkas for his detailed comments and the inspiring discussion that made this document clearer and stronger. The authors recognize helpful reviews and suggestions from Andrew Malis, David Black, Tianran Zhou, and Kiran Makhijani. And special thanks to Ethan Grossman for his fantastic help in improving the document.¶