MPLS Working Group W. Cheng
Internet-Draft China Mobile
Intended status: Standards Track X. Min
Expires: May 7, 2020 ZTE
T. Zhou
Huawei
X. Dong
FiberHome
Y. Peleg
Broadcom
November 4, 2019

Encapsulation For MPLS Performance Measurement with Alternate Marking Method
draft-cheng-mpls-inband-pm-encapsulation-02

Abstract

This document defines the encapsulation for MPLS performance measurement with alternate marking method, which performs flow-based packet loss, delay, and jitter measurements on live traffic.

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 May 7, 2020.

Copyright Notice

Copyright (c) 2019 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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.


Table of Contents

1. Introduction

[I-D.fioccola-spring-flow-label-alt-mark] describes how the alternate marking method can be used as the passive performance measurement method in an IPv6 domain, actually the alternate marking method can also be applied to an MPLS domain, and what's missed is the encapsulation for MPLS performance measurement with alternate marking method.

[RFC8372] discusses the desired capabilities for MPLS flow identification, in order to perform a better in-band performance monitoring of user data packets. Synonymous Flow Label (SFL), which is introduced in [I-D.ietf-mpls-sfl-framework], is identified as a method of accomplishing MPLS flow identification. This document employs a method, other than SFL, to accomplish MPLS flow identification. The method described in this document is simple and flexible, furthermore, it complies with the current MPLS forwarding paradigm.

The method described in this document is complementary to the SFL method, the former targets at hop-by-hop performance measurement, and the latter targets at end-to-end performance measurement, furthermore, the former supports the application scenario where Flow-ID is applied to MPLS LSP and MPLS VPN synchronously, and the latter doesn't support this kind of application scenario.

This document defines the encapsulation for MPLS performance measurement with alternate marking method, which performs flow-based packet loss, delay, and jitter measurements on live traffic.

1.1. Conventions Used in This Document

1.1.1. Terminology

LSP: Label Switched Path

MPLS: Multi-Protocol Label Switching

NMS: Network Management System

PM: Performance Measurement

PW: PseudoWire

SFL: Synonymous Flow Label

TC: Traffic Class

TTL: Time to Live

VC: Virtual Channel

VPN: Virtual Private Network

1.1.2. 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. Flow-based PM Encapsulation in MPLS

Flow-based MPLS performance measurement encapsulation with alternate marking method has the following format:

     
 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Flow-ID Indicator Label (TBA1)    |  TC |S|      TTL      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                 Flow-ID               |L|D|R|S|    Reserved   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
~                            Payload                            ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     
     

Figure 1: Flow-based PM Encapsulation in MPLS

Where Flow-ID Indicator Label is defined in this document as value TBA1, and the other fields related to the Flow-based PM encapsulation are defined as follows:

2.1. Examples for Applying Flow-ID in a label stack

Three examples on different layout of Flow-ID label (4 octets) are illustrated as follows:

(1) Layout of Flow-ID label when applied to MPLS LSP.

     
+----------------------+
|                      |
|          LSP         |
|         Label        |
+----------------------+
|                      |
|   Flow-ID Indicator  |
|         Label        |
+----------------------+
|                      |
|        Flow-ID       |
|         Label        |
+----------------------+
|                      |
|          VPN         |
|         Label        |
+----------------------+ <= Bottom of stack
|                      |
|        Payload       |
|                      |
+----------------------+
     
     

Figure 2: Applying Flow-ID to MPLS LSP

(2) Layout of Flow-ID label when applied to MPLS VPN traffic.

     
+----------------------+
|                      |
|          LSP         |
|         Label        |
+----------------------+
|                      |
|          VPN         |
|         Label        |
+----------------------+
|                      |
|   Flow-ID Indicator  |
|         Label        |
+----------------------+
|                      |
|        Flow-ID       |
|         Label        |
+----------------------+ <= Bottom of stack
|                      |
|        Payload       |
|                      |
+----------------------+
     
     

Figure 3: Applying Flow-ID to MPLS VPN

(3) Layout of Flow-ID label when applied to both MPLS LSP and MPLS VPN traffic.

     
+----------------------+
|                      |
|          LSP         |
|         Label        |
+----------------------+
|                      |
|   Flow-ID Indicator  |
|         Label        |
+----------------------+
|                      |
|        Flow-ID       |
|         Label        |
+----------------------+
|                      |
|          VPN         |
|         Label        |
+----------------------+
|                      |
|   Flow-ID Indicator  |
|         Label        |
+----------------------+
|                      |
|        Flow-ID       |
|         Label        |
+----------------------+ <= Bottom of stack
|                      |
|        Payload       |
|                      |
+----------------------+
     
     

Figure 4: Applying Flow-ID to both MPLS LSP and MPLS VPN

Note that here VPN label can be MPLS PW label, MPLS Ethernet VPN label or MPLS IP VPN label, and it's also called VC label as defined in [RFC4026].

Also note that for this example the two Flow-ID values appearing in a label stack MUST be different, that is to say, Flow-ID applied to MPLS LSP and Flow-ID applied to MPLS VPN share the same value space.

3. Procedures of Encapsulation, Look-up and Decapsulation

The procedures for Flow-ID label encapsulation, look-up and decapsulation are summarized as follows:

4. Procedures of Flow-ID allocation

There are two ways of allocating Flow-ID, one way is to allocate Flow-ID by manual trigger from the network operator, and the other way is to allocate Flow-ID by automatic trigger from the ingress node, details are as follows:

The policy pre-configured at the NMS or the controller decides whether one Flow-ID or two Flow-IDs would be generated. If the performance measurement on VPN traffic is enabled, then one Flow-ID applied to MPLS VPN would be generated; if the performance measurement on LSP tunnel is enabled, then one Flow-ID applied to MPLS LSP would be generated; if both of them are enabled, then two Flow-IDs respectively applied to MPLS VPN and MPLS LSP would be generated.

Whether using manual trigger or using automatic trigger, the NMS or the controller MUST guarantee every generated Flow-ID is unique within the administrative domain.

5. Security Considerations

This document does not introduce additional security requirements and mechanisms.

6. IANA Considerations

In the Special-Purpose MPLS Label Values registry defined in [SP-MPLS-Label], a new Special-Purpose MPLS Label Value for Flow-ID Indicator is requested from IANA as follows:

New Special-Purpose MPLS Label Value for Flow-ID Indicator
Special-Purpose MPLS Label Value Description Semantics Definition Reference
TBA1 Flow-ID Indicator Label Section 2 This Document

7. Acknowledgements

The authors would like to acknowledge Greg Mirsky, Aihua Liu, Shuangping Zhan and Ming Ke for their careful review and very helpful comments.

8. References

8.1. Normative References

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017.
[SP-MPLS-Label] "Special-Purpose MPLS Label Values", 2014.

8.2. Informative References

[I-D.fioccola-spring-flow-label-alt-mark] Fioccola, G., Velde, G., Cociglio, M. and P. Muley, "Using the IPv6 Flow Label for Performance Measurement with Alternate Marking Method in Segment Routing", Internet-Draft draft-fioccola-spring-flow-label-alt-mark-01, October 2017.
[I-D.ietf-mpls-sfl-framework] Bryant, S., Chen, M., Li, Z., Swallow, G., Sivabalan, S. and G. Mirsky, "Synonymous Flow Label Framework", Internet-Draft draft-ietf-mpls-sfl-framework-06, October 2019.
[RFC4026] Andersson, L. and T. Madsen, "Provider Provisioned Virtual Private Network (VPN) Terminology", RFC 4026, DOI 10.17487/RFC4026, March 2005.
[RFC7011] Claise, B., Trammell, B. and P. Aitken, "Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of Flow Information", STD 77, RFC 7011, DOI 10.17487/RFC7011, September 2013.
[RFC8372] Bryant, S., Pignataro, C., Chen, M., Li, Z. and G. Mirsky, "MPLS Flow Identification Considerations", RFC 8372, DOI 10.17487/RFC8372, May 2018.

Authors' Addresses

Weiqiang Cheng China Mobile Beijing, China EMail: chengweiqiang@chinamobile.com
Xiao Min ZTE Nanjing, China EMail: xiao.min2@zte.com.cn
Tianran Zhou Huawei Beijing, China EMail: zhoutianran@huawei.com
Ximing Dong FiberHome Wuhan, China EMail: dxm@fiberhome.com
Yoav Peleg Broadcom USA EMail: yoav.peleg@broadcom.com