Internet-Draft MPLS Flag-based MNA February 2025
Song, et al. Expires 21 August 2025 [Page]
Workgroup:
MPLS
Internet-Draft:
draft-song-mpls-flag-based-opt-05
Published:
Intended Status:
Standards Track
Expires:
Authors:
H. Song
Futurewei Technologies
G. Fioccola
Huawei Technologies
R. Gandhi
Cisco Systems

Flag-based MPLS Network Actions (MNA) for On-Path Telemetry

Abstract

This document describes the support of two flag-based variants of on-path Telemetry techniques, Postcard-Based On-Path Telemetry (PBT) and Alternate Marking (AM), as MPLS Network Actions (MNA)for OAM in MPLS networks. The scheme only uses a few bits in the MNA header opcode dedicated for the flag-based actions.

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 21 August 2025.

Table of Contents

1. Introduction

On-path telemetry, as described in [I-D.song-opsawg-ifit-framework], is a hybrid type I network OAM [RFC7799] which directly measure and monitor the user packets. Some on-path telemetry technique incur very little overhead but offer big benefits on network performance monitoring and troubleshooting. Marking-based PBT [I-D.song-ippm-postcard-based-telemetry] (Postcard-Based On-Path Telemetry using Packet Marking) is such on-path telemetry technique which uses only a single flag bit to trigger the collection of the telemetry data regarding the packet. Alternate Marking method [RFC9341] is another on-path performance measurement method which uses only two flag bits to measure packet loss, delay, and jitter for live data traffic.

In MPLS networks, MPLS Network Action (MNA) [I-D.ietf-mpls-mna-fwk] extends the MPLS label stack by supporting extra in-stack network actions and ancillary data encoded in stack, the in-stack MNA header is described in [I-D.ietf-mpls-mna-hdr]. MNA also extends the MPLS payload by supporting extra post-stack network actions and ancillary data encoded post-stack, the post-stack MNA header is described in [I-D.jags-mpls-ps-mna-hdr].

This document describe the scheme to use flag-based MNAs to support PBT and AM.

1.1. 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.

2. PBT-M Action

A flag bit (TBA1) in the flag-based network action field is used as the PBT-M indicator. If the bit is set to '1', a configured node is triggered to collect and export the telemetry data as configured by the control plane. The detailed method on node configuration, data export and correlation are recommended in [I-D.song-ippm-postcard-based-telemetry].

3. Alternate Marking Action

Two flag bits (TBA2) in the flag-based network action field are used to support the alternate marking method as described in [RFC9341].

4. Action Encoding

The proposed action encoding is shown in Figure 1 changed from [I-D.ietf-mpls-mna-hdr]. In the figure, 'P' stands for PBT-M flag and 'AM' stands for alternate marking flags.


     0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      NASI=bSPL                        | TC  |S|    TTL        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |NAI-Opcode=1 |P|AM |                   |R|IHS|S|U|NASL=0 |NAL=0|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure 1: Action Encoding

MNA Label, a base Special Purpose Label (bSPL), as assigned by [I-D.ietf-mpls-mna-hdr].

TC, the Traffic Class, are assigned values based on local policies.

S, Bottom of Stack bit (BoS), the bit is set in the last Label Stack Entry (LSE) of the Label Stack.

TTL, Time To Live, number of hop before the packet is dropped.

NAI-Opcode, Network Action Indicator Opcode. If the Opcode has the value of 'one', then the 13 bits following the Opcode carries NAI-flags.

P-flag, the first flag bit in the flag-based network action field is used as the PBT indicator. If the bit is set to '1', a node is triggered to collect and export the telemetry data as configured by the control plane.

Alternate Marking, bit 2 and 3 are used to indicate Alternate Marking.

IHS, the scope of the Network Action is carried in the IHS field for Ingress-To-Egress (I2E), Hop-By-Hop (HBH) or Select.

NASL, Network Action Sub-Stack Length indicates number of additional LSEs following the first network action LSE. A value of zero indicates that only the 13 bits of the first LSE is in use. No Post Stack Network Action is required for this.

Note that the in-stack MNA encoding may take different form as the header encoding draft evolves, and these flag-based on-path telemetry use cases would adapt to the change.

5. Security Considerations

Only the ingress node is allowed to set these flag bits. The other on-path nodes can only react to the bit values. The tampering of these flag-based actions would result in DoS attack or unreliable measurements. Therefore, security measures must be taken to ensure the proper functioning of these actions.

6. IANA Considerations

This document requires IANA to assign a bit for PBT-M action (TBA1) and two bits for Alternate Marking (TBA2) from the MPLS "In-Stack MPLS Network Action Indicator Flags" registry created in [I-D.ietf-mpls-mna-hdr].

7. Acknowledgments

8. References

8.1. Normative References

[I-D.ietf-mpls-mna-hdr]
Rajamanickam, J., Gandhi, R., Zigler, R., Song, H., and K. Kompella, "MPLS Network Action (MNA) Sub-Stack Solution", Work in Progress, Internet-Draft, draft-ietf-mpls-mna-hdr-10, , <https://datatracker.ietf.org/doc/html/draft-ietf-mpls-mna-hdr-10>.
[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>.
[RFC7799]
Morton, A., "Active and Passive Metrics and Methods (with Hybrid Types In-Between)", RFC 7799, DOI 10.17487/RFC7799, , <https://www.rfc-editor.org/info/rfc7799>.
[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>.

8.2. Informative References

[I-D.ietf-mpls-miad-mna-requirements]
Bocci, M. and S. Bryant, "Requirements for MPLS Network Action Indicators and MPLS Ancillary Data", Work in Progress, Internet-Draft, draft-ietf-mpls-miad-mna-requirements-00, , <https://datatracker.ietf.org/doc/html/draft-ietf-mpls-miad-mna-requirements-00>.
[I-D.ietf-mpls-mna-fwk]
Andersson, L., Bryant, S., Bocci, M., and T. Li, "MPLS Network Actions (MNA) Framework", Work in Progress, Internet-Draft, draft-ietf-mpls-mna-fwk-15, , <https://datatracker.ietf.org/doc/html/draft-ietf-mpls-mna-fwk-15>.
[I-D.jags-mpls-ps-mna-hdr]
Rajamanickam, J., Gandhi, R., Zigler, R., Li, T., and J. Dong, "Post-Stack MPLS Network Action (MNA) Solution", Work in Progress, Internet-Draft, draft-jags-mpls-ps-mna-hdr-04, , <https://datatracker.ietf.org/doc/html/draft-jags-mpls-ps-mna-hdr-04>.
[I-D.song-ippm-postcard-based-telemetry]
Song, H., Mirsky, G., Zhou, T., Li, Z., Graf, T., Mishra, G. S., Shin, J., and K. Lee, "On-Path Telemetry using Packet Marking to Trigger Dedicated OAM Packets", Work in Progress, Internet-Draft, draft-song-ippm-postcard-based-telemetry-16, , <https://datatracker.ietf.org/doc/html/draft-song-ippm-postcard-based-telemetry-16>.
[I-D.song-opsawg-ifit-framework]
Song, H., Qin, F., Chen, H., Jin, J., and J. Shin, "Framework for In-situ Flow Information Telemetry", Work in Progress, Internet-Draft, draft-song-opsawg-ifit-framework-21, , <https://datatracker.ietf.org/doc/html/draft-song-opsawg-ifit-framework-21>.
[RFC9341]
Fioccola, G., Ed., Cociglio, M., Mirsky, G., Mizrahi, T., and T. Zhou, "Alternate-Marking Method", RFC 9341, DOI 10.17487/RFC9341, , <https://www.rfc-editor.org/info/rfc9341>.

Authors' Addresses

Haoyu Song
Futurewei Technologies
United States of America
Giuseppe Fioccola
Huawei Technologies
Germany
Rakesh Gandhi
Cisco Systems
Canada