CCAMP Working GroupInternet Engineering Task Force (IETF) E. BellagambaInternet-DraftRequest for Comments: 7487 A. TakacsIntended status:Category: Standards Track G. MirskyExpires: July 28, 2015ISSN: 2070-1721 Ericsson L. Andersson Huawei Technologies P. Skoldstrom Acreo AB D. Ward CiscoJanuary 24,March 2015 Configuration ofPro-ActiveProactive Operations, Administration, and Maintenance (OAM) Functions forMPLS-basedMPLS-Based Transport NetworksusingUsing RSVP-TEdraft-ietf-ccamp-rsvp-te-mpls-tp-oam-ext-16Abstract This specification describes the configuration of proactiveMPLS-TP (MPLS-Transport Profile)MPLS Transport Profile (MPLS-TP) Operations, Administration, and Maintenance (OAM)Functionsfunctions for a givenLSPLabel Switched Path (LSP) using a set of TLVs that are carried by the GMPLS RSVP-TE protocol based on the OAM Configuration Framework for GMPLS RSVP-TE. Status of This Memo ThisInternet-Draftissubmitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documentsan Internet Standards Track document. This document is a product of the Internet Engineering Task Force (IETF).Note that other groups may also distribute working documents as Internet-Drafts. The listIt represents the consensus ofcurrent Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents validthe IETF community. It has received public review and has been approved fora maximumpublication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 ofsix monthsRFC 5741. Information about the current status of this document, any errata, and how to provide feedback on it may beupdated, replaced, or obsoleted by other documentsobtained atany 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 July 28, 2015.http://www.rfc-editor.org/info/rfc7487. Copyright Notice Copyright (c) 2015 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 (http://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 . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. ConventionsusedUsed inthis documentThis Document . . . . . . . . . . . . 4 1.1.1. Terminology . . . . . . . . . . . . . . . . . . . . . 4 1.1.2. Requirements Language . . . . . . . . . . . . . . . . 5 2. Overview of MPLS OAM for Transport Applications . . . . . . . 5 3. Theory of Operations . . . . . . . . . . . . . . . . . . . .56 3.1. MPLS-TP OAM Configuration Operation Overview . . . . . .56 3.1.1. Configuration of BFDsessionsSessions . . . . . . . . . . . . 6 3.1.2. Configuration of Performance Monitoring . . . . . . . 7 3.1.3. Configuration of Fault Management Signals . . . . . .78 3.2. MPLS OAM Configurationsub-TLVSub-TLV . . . . . . . . . . . . . 8 3.2.1. CV Flag Rules of Use . . . . . . . . . . . . . . . . 10 3.3. BFD Configurationsub-TLVSub-TLV . . . . . . . . . . . . . . . .1011 3.3.1. BFD Identifierssub-TLVSub-TLV . . . . . . . . . . . . . . . 12 3.3.2. Negotiation Timer Parameterssub-TLVSub-TLV . . . . . . . . 13 3.3.3. BFD Authenticationsub-TLVSub-TLV . . . . . . . . . . . . . 14 3.3.4. Traffic Classsub-TLVSub-TLV . . . . . . . . . . . . . . . . 15 3.4. Performance Monitoringsub-TLVSub-TLV . . . . . . . . . . . . . 16 3.4.1. MPLS OAM PM Losssub-TLVSub-TLV . . . . . . . . . . . . . .1718 3.4.2. MPLS OAM PM Delaysub-TLVSub-TLV . . . . . . . . . . . . . . 19 3.5. MPLS OAM FMSsub-TLVSub-TLV . . . . . . . . . . . . . . . . . . 20 4. Summary of MPLS OAMconfiguration errorsConfiguration Errors . . . . . . . . . .2122 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . .2223 5.1. MPLS OAM Type . . . . . . . . . . . . . . . . . . . . . .2223 5.2. MPLS OAM Configurationsub-TLVSub-TLV . . . . . . . . . . . . . 23 5.3. MPLS OAM Configuration Sub-TLV Types . . . . . . . . . .2324 5.4. BFD Configuration Sub-TLV Types . . . . . . . . . . . . . 24 5.5. Performance Monitoringsub-TLVSub-TLV Types . . . . . . . . . .2425 5.6. New RSVP-TEerror codesError Codes . . . . . . . . . . . . . . . . . 25 6.Contributing Authors .Security Considerations . . . . . . . . . . . . . . . . . . .2526 7.AcknowledgementsReferences . . . . . . . . . . . . . . . . . . . . . . .25 8. Security Considerations. . 26 7.1. Normative References . . . . . . . . . . . . . . . . . .26 9.27 7.2. Informative References . . . . . . . . . . . . . . . . . 28 Acknowledgements . . . . . . . .26 9.1. Normative References. . . . . . . . . . . . . . . . 29 Contributors . .26 9.2. Informative References. . . . . . . . . . . . . . . . .27. . . . . . . 29 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . .2729 1. Introduction This document describes the configuration of proactive MPLS-TP(MPLS- Transport Profile) Operations, Administration, and Maintenance (OAM) FunctionsOAM functions for a given LSP using TLVsusingthat use GMPLS RSVP-TE [RFC3473]. [RFC7260] defines use of GMPLS RSVP-TE for the configuration of OAM functions in atechnology agnostictechnology-agnostic way. This document specifies the additional mechanisms necessary to establish MPLS-TP OAM entities at the maintenance points for monitoring and performing measurements on an LSP, as well as defining information elements and procedures to configure proactive MPLS-TP OAM functions running betweenLERs.Label Edge Routers (LERs). Initialization and control of on-demand MPLS-TP OAM functions are expected to be carried out by directly accessing network nodes via a management interface;hencehence, configuration and control of on-demand OAM functions areout-of-scopeout of scope for this document. MPLS-TP, the Transport Profile of MPLS, must, by definition [RFC5654], be capable of operating without a control plane. Therefore, there are several options for configuring MPLS-TPOAM,OAM without a control plane byeitherusing either a Network Management System (NMS), anNMS orLSP Ping, orwith a control plane usingsignaling protocols such asRSVP-TE.RSVP-TE in the control plane. MPLS-TP describes a profile of MPLS that enables operational models typical in transportnetworks,networks while providing additionalOAM,OAM survivability and other maintenance functions not currently supported by MPLS. [RFC5860] defines the requirements for the OAM functionality of MPLS-TP. Proactive MPLS-TP OAM is performed by three differentprotocols, Bi- directionalprotocols: Bidirectional Forwarding Detection (BFD) [RFC6428] for ContinuityCheck/ConnectivityCheck / Connectivity Verification, thedelay measurement protocolDelay Measurement (DM) protocol [RFC6374] for delay and delay variation (jitter) measurements, and theloss measurement protocolLoss Measurement (LM) protocol [RFC6374] for packet loss and throughput measurements. Additionally, thereisare a number of Fault ManagementSignalssignals that can be configured [RFC6427]. BFD is a protocol that provides low-overhead, fast detection of failures in the path between two forwarding engines, including the interfaces, data link(s), andto(to the extentpossiblepossible) the forwarding engines themselves. BFD can be used to track the liveliness and to detect the data plane failures of MPLS-TPpoint-to-pointpoint to point and might also be extended to support point-to-multipoint connections. The delay and lossmeasurementsmeasurement protocols [RFC6374] use a simple query/response model for performing bidirectional measurements that allows the originating node to measure packet loss and delay in both directions. By timestamping and/or writing current packet counters to the measurement packetsatfour times (Tx and Rx in bothdirections)directions), current delays and packet losses can be calculated. By performing successive delaymeasurementsmeasurements, the delay variation (jitter) can be calculated. Current throughput can be calculated from the packet loss measurements by dividing the number of packetssent/ receivedsent/received with the time it took to perform the measurement, given by the timestamp in LM header. Combined with a packetgeneratorgenerator, the throughput measurement can be used to measure the maximum capacity of a particular LSP. It should be noted that here we are not configuring on-demand throughput estimates based on saturating the connection as defined in [RFC6371]. Rather, we only enable the estimation of the current throughput based on loss measurements. 1.1. ConventionsusedUsed inthis documentThis Document 1.1.1. Terminology AIS - Alarm Indication Signal BFD - Bidirectional Forwarding DetectionCV - Connectivity VerificationCC - Continuity Check CV - Connectivity Verification DM - Delay Measurement FMS - Fault Management Signal G-ACh - Generic Associated Channel GMPLS - Generalized Multi-Protocol Label Switching LDI - Link Down Indication LER - LabelswitchingEdge Router LKR - Lock Report LM - Loss Measurement LOC - Loss Of Continuity LSP - Label Switched Path LSR - Label Switching Router MEP - Maintenance Entity Group End Point MIP - Maintenance Entity Group Intermediate Point MPLS - Multi-Protocol Label Switching MPLS-TP - MPLS Transport Profile NMS - Network Management System PM - Performance Measurement RSVP-TE - Reservation Protocol Traffic Engineering TC - Traffic Class 1.1.2. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. 2. Overview of MPLS OAM for Transport Applications [RFC6371] describes how MPLS-TP OAM mechanisms are operated to meet transport requirements outlined in [RFC5860]. [RFC6428] specifies two BFD operation modes: 1) "CC mode", which uses periodic BFD message exchanges with symmetric timersettings,settings supporting Continuity Check, and 2) "CV/CCmode"mode", which sends unique maintenance entity identifiers in the periodic BFD messages supportingConnectivity Verification (CV)CV as well asContinuity Check (CC).CC. [RFC6374] specifies mechanisms forperformance monitoringPerformance Monitoring of LSPs, in particular it specifies loss and delay measurement OAM functions. [RFC6427] specifies fault management signals with which a server LSP can notify client LSPs about various fault conditions to suppress alarms or to be used as triggers for actions in the client LSPs. The following signals are defined: Alarm Indication Signal (AIS), Link Down Indication(LDI)(LDI), and Lock Report (LKR). [RFC6371] describes the mapping of fault conditions to consequent actions. Some of these mappings may be configured by theoperator,operator depending on the application of the LSP. The following defects are identified: Loss Of Continuity (LOC), Misconnectivity, MEPMisconfigurationMisconfiguration, and Period Misconfiguration. Out of these defect conditions, the following consequent actions may be configurable: 1) whether or not the LOC defect should result in blocking the outgoing data traffic; 2) whether or not the "Period Misconfiguration defect" should result in a signal fail condition. 3. Theory of Operations 3.1. MPLS-TP OAM Configuration Operation Overview GMPLS RSVP-TE, or alternatively LSP Ping [LSP-PING-CONF], can be used to simply enable the different OAMfunctions,functions by setting the corresponding flags in the"OAMOAM Function Flagssub-TLV"Sub-TLV [RFC7260]. For a more detailedconfigurationconfiguration, one may include sub-TLVs for the different OAM functions in order to specify various parameters in detail.TypicallyTypically, intermediate nodes SHOULD NOT process or modify any of the OAMconfigurationConfiguration TLVs but simply forward them to theend-node.end node. There is one exception to this and that is if the"MPLSMPLS OAM FMSsub- TLV"Sub- TLV is present. This sub-TLV MUST be examined even by intermediate nodes that support theseextensions,extensions but only acted upon by nodes capable of transmitting FMS signals into the LSP being established. The sub-TLV MAY be present when the FMS flag is set in the"OAMOAM Function Flagssub-TLV".Sub-TLV. If this sub-TLV is present, then the "OAM MIP entities desired" and "OAM MEP entities desired" flags (described in [RFC7260]) in the"LSP AttributesLSP Attribute FlagsTLV"TLV MUST be set and the entire OAM Configuration TLV placed either in the LSP_REQUIRED_ATTRIBUTES object or in the LSP_ATTRIBUTES object in order to ensure that capable intermediate nodes process the configuration. If placed in the LSP_ATTRIBUTES object, nodes that are not able to process the OAM Configuration TLV will forward the message without generating an error. If the"MPLSMPLS OAM FMSsub-TLV"Sub-TLV has been placed in the LSP_REQUIRED_ATTRIBUTESobjectobject, a node that supportstheRFC 7260 but does not support the"MPLSMPLS OAM FMSsub-TLV"Sub-TLV MUST generate a PathErr message with "OAM Problem/Configuration Error" [RFC7260]. Otherwise, if the node doesn't supporttheRFC 7260, it will not raise any errors as described in the Section 4.1 of [RFC7260]. Finally, if the"MPLSMPLS OAM FMSsub-TLV"Sub-TLV is notincludedincluded, only the "OAM MEP entities desired" flag is set and the OAM Configuration TLV may be placed in either LSP_ATTRIBUTES or LSP_REQUIRED_ATTRIBUTES. 3.1.1. Configuration of BFDsessionsSessions For this specification, BFD MUST be run in either one of the two modes:-o Asynchronous mode, where both sides should be in activemode -mode; or o Unidirectionalmodemode. In the simplest scenario,RSVP-TE, orRSVP-TE (or alternatively LSP Ping[LSP- PING-CONF],[LSP-PING-CONF]), is used only to bootstrap a BFD session for anLSP,LSP without any timer negotiation. Timer negotiation can be performed either in subsequent BFDcontrolControl messages (in this case the operation is similar toLSP Ping basedLSP-Ping-based bootstrapping described in [RFC5884]) or directly in the RSVP-TE signaling messages. When BFD Control packets are transported in theG-AChG-ACh, they are not protected by any end-to-endchecksum,checksum; onlylower-layerslower layers are providing error detection/correction. A single bit error,e.g.e.g., a flipped bit in the BFD Statefieldfield, could cause the receiving end to wrongly conclude that the link is downandand, inturnturn, trigger protection switching. To prevent this fromhappeninghappening, the"BFDBFD Configurationsub-TLV"Sub-TLV has an Integrity flagthatthat, whensetset, enables BFD Authentication using Keyed SHA1 with an empty key (all 0s) [RFC5880]. This would ensure that every BFD Control packet carriesana SHA1 hash of itself that can be used to detect errors. If BFD Authentication using a pre-shared key / password is desired(i.e.(i.e., authentication and not only error detection), the"BFDBFD Authenticationsub-TLV"Sub-TLV MUST be included in the"BFDBFD Configurationsub-TLV".Sub- TLV. The"BFDBFD Authenticationsub-TLV"Sub-TLV is used to specify which authentication method should be used and which pre-shared key / password should be used for this particular session. How the key exchange is performed is out of scope of this document. 3.1.2. Configuration of Performance Monitoring It is possible to configure Performance Monitoring functionalities such as Loss, Delay, Delay variation (jitter), andThroughputThroughput, as described in [RFC6374]. When configuring Performancemonitoring functionalitiesMonitoring functionalities, it is possible to choose either the defaultconfiguration, byconfiguration (by only setting the respective flags in the"OAMOAM Function Flagssub-TLV",Sub-TLV) or a customized configuration. To customize the configuration, one would set the respective flags andincludinginclude the respective Loss and/or Delaysub-TLVs).sub-TLVs. By setting the PM/Loss flag in the"OAMOAM Function Flagssub-TLV"Sub-TLV and by including the"MPLSMPLS OAM PM Losssub-TLV",Sub-TLV, one can configure the measurement interval and loss threshold values for triggering protection. Delay measurements are configured by setting the PM/Delay flag in the"OAMOAM Function Flagssub-TLV", andSub-TLV; by including the"MPLSMPLS OAM PM Losssub-TLV",Sub- TLV, one can configure the measurement interval and the delay threshold values for triggering protection. 3.1.3. Configuration of Fault Management Signals To configure Fault ManagementSignalssignals and their refresh time, the FMS flag in the"OAMOAM Function Flagssub-TLV"Sub-TLV MUST be set and the"MPLSMPLS OAM FMSsub-TLV"Sub-TLV included. When configuring Fault ManagementSignals,signals, an implementation can enable the default configuration by setting the FMS flag in the"OAMOAM Function Flagssub-TLV".Sub-TLV. In order to modify the defaultconfigurationconfiguration, the"MPLSMPLS OAM FMSsub-TLV"Sub-TLV MUST be included. If an intermediate point is intended to originate fault management signal messages, this means that such an intermediate point is associated with a server MEP through a co-located MPLS-TP client/ server adaptationfunctionfunction, and the "Fault Management subscription" flag in the"MPLSMPLS OAM FMSsub-TLV"Sub-TLV has been set as an indication of the request to create the association at each intermediate node of the client LSP.CorrespondingThe corresponding server MEP needs to be configured by its own RSVP-TE session (or, alternatively, via an NMS orLSP-ping).LSP Ping). 3.2. MPLS OAM Configurationsub-TLVSub-TLV The"OAMOAM ConfigurationTLV",TLV, defined in [RFC7260], specifies the OAM functions that are used for the LSP. This document extends the"OAMOAM ConfigurationTLV"TLV by defining a new OAM Type: "MPLS OAM"(TBA1).(3). The"MPLS OAM"MPLS OAM type is set to request the establishment of OAM functions for MPLS-TP LSPs. The specific OAM functions are specified in the"OAMOAM Function Flagssub-TLV"Sub-TLV as depicted in [RFC7260]. When an egress LSR receives an"OAMOAM ConfigurationTLV"TLV indicating the MPLS OAM type, the LSR will first process any present"OAMOAM Function Flagssub-TLV"Sub-TLV, and then it MUST processtechnology specifictechnology-specific configuration TLVs. This document defines a sub-TLV, the"MPLSMPLS OAM Configurationsub-TLV"Sub-TLV, which is carried in the"OAMOAM ConfigurationTLV".TLV. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MPLS OAM Conf.sub-TLV (TBA2)Sub-TLV (33) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~ sub-TLVs ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 1: MPLS OAM Configuration Sub-TLV Format Type:TBA2,33, the"MPLSMPLS OAM Configurationsub-TLV".Sub-TLV. Length:indicatesIndicates the total length in octets, including sub-TLVs as well as the Type and Length fields. The followingMPLS OAM specificMPLS-OAM-specific sub-TLVs MAY be included in the"MPLSMPLS OAM Configurationsub-TLV": - "BFDSub-TLV: o BFD Configurationsub-TLV", whichSub-TLV MUST be included if either the CC, theCVCV, or both OAM Function flags are being set in the OAM Function Flags Sub-TLV [RFC7260]. This sub-TLV carries additionalsub-TLVs,sub- TLVs; failure to include the correct sub-TLVs MUST result in an error being generated: "OAM Problem/Configuration Error". The sub-TLVs are:- "BFD* BFD Identifierssub-TLV",Sub-TLV MUST always be included.- "Timer* Timer Negotiation Parameterssub-TLV",Sub-TLV MUST be included if the N flag is not set.- "BFD* BFD Authenticationsub-TLV",Sub-TLV MAY be included if the I flag is set.- "Performanceo Performance Monitoringsub-TLV",Sub-TLV, which MUST be included if any of the PM/Delay,PM/LossPM/Loss, or PM/Throughput flags are set in the"OAMOAM Function Flagsub-TLV"Sub-TLV [RFC7260]. This sub-TLV MAY carry additional sub-TLVs:- "MPLS* MPLS OAM PM Losssub-TLV"Sub-TLV MAY be included if the PM/Loss OAM Function flag is set. If the"MPLSMPLS OAM PM Losssub-TLV"Sub-TLV is not included, default configuration values are used. The same sub- TLV MAY also be included in case the PM/Throughput OAM Function flag is set and there is the need to specify measurementintervalintervals different from the default ones. Since throughput measurements use the same tool as lossmeasurementsmeasurements, the same TLV is used.- "MPLS* MPLS OAM PM Delaysub-TLV"Sub-TLV MAY be included if the PM/Delay OAM Function flag is set. If the"MPLSMPLS OAM PM Delaysub-TLV"Sub-TLV is not included, default configuration values are used.- "MPLSo MPLS OAM FMSsub-TLV"Sub-TLV MAY be included if the FMS OAM Function flag is set. If the"MPLSMPLS OAM FMSsub-TLV"Sub-TLV is not included, default configuration values are used.FollowingThe following are some additional rules of processing the MPLS OAM Configurationsub-TLV: -Sub-TLV: o The MPLS OAM Configurationsub-TLVSub-TLV MAY be empty,i.e.i.e., have no Value.ThenIf so, then its Length MUST be 8.ThenThen, all OAM functions that have their corresponding flags set in the"OAMOAM Function Flagssub-TLV"Sub-TLV MUST be assigned their default values or left disabled.- Sub-TLVo A sub-TLV that doesn't have a corresponding flag set MUST be silently ignored.-o If multiple copies of a sub-TLV are present, then only the first sub-TLV MUST be used and the remaining sub-TLVs MUST be silently ignored. However, not all the values can be derived from the standard RSVP-TE objects, in particular the locally assigned Tunnel ID at the egress cannot be derived by the ingress node. Therefore, the full LSP MEP- ID used by the ingress has to be carried in the"BFDBFD Identifierssub- TLV"Sub- TLV in the Path message and the egress LSP MEP-ID in the same way in the Resv message. 3.2.1. CV Flag Rules of Use If the CV flag is set in the OAM Function Flags Sub-TLV [RFC7260], then the CC flag MUST be set as well because performing Connectivity Verification implies performing Continuity Check as well. The format of an MPLS-TP CV/CC message is shown in [RFC6428]. In order to perform ConnectivityVerificationVerification, the CV/CC message MUST contain the "LSP MEP-ID" in addition to the BFD Control packet information. The "LSP MEP-ID" contains four identifiers: MPLS-TP Global_ID MPLS-TP Node Identifier Tunnel_Num LSP_Num These values need to be correctly set by both ingress and egress when transmitting a CVpacketpacket, and both ingress and egressneedsneed to know what to expect when receiving a CV packet. Most of these values can be derived from the Path and Resv messages [RFC3473], whichusesuse a 5-tuple to uniquely identify an LSP within an operator's network. This tuple is composed of a Tunnel Sender Address, Tunnel Endpoint Address, Tunnel_ID, Extended Tunnel ID, and (GMPLS) LSP_ID. 3.3. BFD Configurationsub-TLVSub-TLV The"BFDBFD Configurationsub-TLV"Sub-TLV (depicted below) is defined forBFD OAM specificBFD- OAM-specific configuration parameters. The"BFDBFD Configurationsub- TLV"Sub-TLV is carried as a sub-TLV of the"MPLSMPLS OAM Configurationsub-TLV".Sub-TLV. This TLV accommodates generic BFD OAM information and carries sub- TLVs. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BFD Conf. Type (1) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Vers.|N|S|I|G|U|B| Reserved (set to all 0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~ sub-TLVs ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 2: BFD Configuration Sub-TLV Format Type: 1, the"BFDBFD Configurationsub-TLV".Sub-TLV. Length:indicatesIndicates the total length in octets, including sub-TLVs as well as the Type and Length fields. Version:identifiesIdentifies the BFD protocol version. If the egress LSR does not support theversionversion, an error MUST be generated: "OAM Problem/ Unsupported BFD Version". BFD Negotiation (N): If set timer negotiation/re-negotiation via BFD ControlMessagesmessages is enabled, when cleared it is disabled. SymmetricsessionSession (S): Ifsetset, the BFD session MUST use symmetric timing values. Integrity (I): Ifsetset, BFD Authentication MUST be enabled. If the"BFDBFD Configurationsub-TLV"Sub-TLV does not include a"BFDBFD Authenticationsub-TLV"Sub- TLV, the authentication MUST use Keyed SHA1 with an emptypre- sharedpre-shared key (all 0s). If the egress LSR does not support BFDAuthenticationAuthentication, an error MUST be generated: "OAM Problem/BFD Authentication unsupported". Encapsulation Capability (G):ifIf set, it shows the capability of encapsulating BFD messages into The G-Ach channel. If both the G bit and U bit are set, configuration gives precedence to the G bit. If the egress LSR does not support any of the ingress LSR EncapsulationCapabilitiesCapabilities, an error MUST be generated: "OAM Problem/Unsupported BFD Encapsulation format". Encapsulation Capability (U):ifIf set, it shows the capability of encapsulating BFD messages into UDP packets. If both the G bit and U bit are set, configuration gives precedence to the G bit. If the egress LSR does not support any of the ingress LSR EncapsulationCapabilitiesCapabilities, an error MUST be generated: "OAM Problem/Unsupported BFD Encapsulationformat".Format". Bidirectional (B):ifIf set, it configures BFD in the Bidirectional mode. If it is notsetset, it configures BFD in unidirectional mode. In the second case, the source node does not expect any Discriminator values back from the destination node. Reserved: Reserved for futurespecification andspecifications; set to 0 on transmission and ignored when received. The"BFDBFD Configurationsub-TLV"Sub-TLV MUST include the following sub-TLVs in the Path message:- "BFDo BFD Identifierssub-TLV"; - "NegotiationSub-TLV; and o Negotiation Timer Parameterssub-TLV"Sub-TLV if the N flag is cleared. The"BFDBFD Configurationsub-TLV"Sub-TLV MUST include the following sub-TLVs in the Resv message:- "BFDo BFD Identifierssub-TLV;" - "NegotiationSub-TLV; and o Negotiation Timer Parameterssub-TLV"Sub-TLV if:-* the N and S flags arecleared,cleared; orif: -if * the N flag is cleared and the S flag isset,set and the"NegotiationNegotiation Timer Parameterssub-TLV"Sub-TLV received by the egress contains unsupported values. In thiscasecase, an updated"NegotiationNegotiation Timer Parameterssub-TLV",Sub-TLV containing values supported by the egressLSR,LSR MUST be returned to the ingress. 3.3.1. BFD Identifierssub-TLVSub-TLV The"BFDBFD Identifierssub-TLV"Sub-TLV is carried as a sub-TLV of the"BFDBFD Configurationsub-TLV"Sub-TLV and is depicted below. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BFD Identfiers Type (1) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local Discriminator | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MPLS-TP Global_ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MPLS-TP Node Identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Tunnel_Num | LSP_Num | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 3: BFD Identifiers Sub-TLV Format Type: 1,"BFDthe BFD Identifierssub-TLV".Sub-TLV. Length:indicatesIndicates the TLV total length in octets, including the Type and Length fields (20). Local Discriminator: A unique,nonzeronon-zero discriminator value generated by the transmitting system and referring toitself,itself; it is used todemultiplexde- multiplex multiple BFD sessions between the same pair of systems as defined in [RFC5880]. MPLS-TP Global_ID, Node Identifier, Tunnel_Num, and LSP_Num:allAll set as defined in [RFC6370]. 3.3.2. Negotiation Timer Parameterssub-TLVSub-TLV The"NegotiationNegotiation Timer Parameterssub-TLV"Sub-TLV is carried as a sub-TLV of the"BFDBFD Configurationsub-TLV"Sub-TLV and is depicted below. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Nego. Timer Type (2) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Acceptable Min. Asynchronous TX interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Acceptable Min. Asynchronous RX interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Required Echo TX Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 4: Negotiation Timer Parameters Sub-TLV Format Type: 2,"Negotiationthe Negotiation Timer Parameterssub-TLV".Sub-TLV. Length:indicatesIndicates the TLV total length in octets, including Type and Length fields (16). Acceptable Min. Asynchronous TX interval: If the S(symmetric)flag is set in the"BFDBFD Configurationsub-TLV",Sub-TLV, it expresses the desired time interval (in microseconds) at which the ingress LER intends to both transmit and receive BFD periodic control packets. If the egress LSR cannot support the value, it SHOULD reply with a supported interval. If the S(symmetric)flag is cleared in the"BFDBFD Configurationsub- TLV",Sub-TLV, this field expresses the desired time interval (in microseconds) at which the ingress LSR intends to transmit BFD periodic control packets. Acceptable Min. Asynchronous RX interval: If the S(symmetric)flag is set in the"BFDBFD Configurationsub-TLV",Sub-TLV, this field MUST be set equal to "Acceptable Min. Asynchronous TX interval" on transmit and MUST be ignored on receipt since it has no additional meaning with respect to the one described for "Acceptable Min. Asynchronous TX interval". If the S(symmetric)flag is cleared in the"BFDBFD Configurationsub- TLV",Sub-TLV, it expresses the minimum time interval (in microseconds) at which the ingress/egress LSRs can receive periodic BFDcontrolControl packets. If this value is greater than the "Acceptable Min. Asynchronous TX interval" received from the ingress/egress LSR, the receiving LSR MUST adopt the interval expressed in the "Acceptable Min. Asynchronous RX interval". Required Echo TX Interval:theThe minimum interval (in microseconds) between received BFD Echo packets that this system is capable of supporting, less any jitter applied by the sender as described in[RFC5880] sect. 6.8.9.Section 6.8.9 of [RFC5880]. This value is also an indication for the receiving system of the minimum interval between transmitted BFD Echo packets. If this value is zero, the transmitting system does not support the receipt of BFD Echo packets. If the LSR node cannot support thisvaluevalue, it SHOULD reply with a supported value (which may be zero if Echo is not supported). 3.3.3. BFD Authenticationsub-TLVSub-TLV The"BFDBFD Authenticationsub-TLV"Sub-TLV is carried as a sub-TLV of the"BFDBFD Configurationsub-TLV"Sub-TLV and is depicted below. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BFD Auth. Type (3) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Auth Type | Auth Key ID | Reserved (0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 5: BFD Authentication Sub-TLV Format Type: 3,"BFDthe BFD Authenticationsub-TLV".Sub-TLV. Length:indicatesIndicates the TLV total length in octets, including Type and Length fields (8). Auth Type:indicatesIndicates which type of authentication to use. The same values are used as are defined insectionSection 4.1 of[RFC5880] are used.[RFC5880]. If the egress LSR does not support thistypetype, an "OAM Problem/Unsupported BFD Authentication Type" error MUST be generated. Auth Key ID:indicatesIndicates which authentication key or password (depending on Auth Type) should be used. How the key exchange is performed is out of scope of this document. If the egress LSR does not support this Auth KeyIDID, an "OAM Problem/Mismatch of BFD Authentication Key ID" error MUST be generated. Reserved: Reserved for futurespecification andspecifications; set to 0 on transmission and ignored when received. 3.3.4. Traffic Classsub-TLVSub-TLV The Traffic Classsub-TLVSub-TLV is carried as a sub-TLV of the"BFDBFD Configurationsub-TLV"Sub-TLV or"FaultFault Management Signalsub-TLV" Section 3.5Sub-TLV (Section 3.5) and is depicted in Figure1.6. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Traffic Classsub-TypeSub-Type (4) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TC | Reserved (set to all 0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure1:6: Traffic Classsub-TLV formatSub-TLV Format Type:3, "Traffic4, the Traffic Classsub-TLV".Sub-TLV. Length:indicatesIndicates the length of the Value field in octets. (4) TC: Identifies the(4). Traffic Class(TC)(TC): Identifies the TC [RFC5462] for periodic continuity monitoring messages or packets with fault management information. IfTC sub-TLVthe Traffic Class Sub-TLV is present, then the value of the TC field MUST be used as the value of the TC field of an MPLS label stack entry. If theTC sub-TLVTraffic Class Sub-TLV is absent from"BFDBFD Configurationsub-TLV"Sub-TLV or"FaultFault Management Signalsub-TLV",Sub-TLV, then selection of the TC value is a local decision. 3.4. Performance Monitoringsub-TLVSub-TLV If the"OAMOAM Function Flagssub-TLV"Sub-TLV has either the PM/Loss,PM/DelayPM/Delay, or PM/Throughput flag set, the"PerformancePerformance Monitoringsub-TLV"Sub-TLV MUST be present in the"MPLSMPLS OAM Configurationsub-TLV".Sub-TLV. Failure to include the correct sub-TLVs MUST result in an "OAMProblem/ ConfigurationProblem/Configuration Error"errormessage being generated. The"PerformancePerformance Monitoringsub-TLV"Sub-TLV provides the configuration information mentioned in Section 7 of [RFC6374]. It includes support for the configuration of quality thresholds and, as described in [RFC6374], "the crossing of which will trigger warnings or alarms, and result reporting and exception notification will be integrated into the system-wide network management and reporting framework." In case the values need to be different than the defaultonesones, the"PerformancePerformance Monitoringsub-TLV"Sub-TLV includes the following sub-TLVs:- "MPLSo MPLS OAM PM Losssub-TLV"Sub-TLV if the PM/Loss and/or PM/Throughput flag is set in the"OAMOAM Function Flagssub-TLV"; - "MPLSSub-TLV; and o MPLS OAM PM Delaysub-TLV"Sub-TLV if the PM/Delay flag is set in the"OAMOAM Function Flagssub-TLV";Sub-TLV. The"PerformancePerformance Monitoringsub-TLV"Sub-TLV depicted below is carried as a sub-TLV of the"MPLSMPLS OAM Configurationsub-TLV".Sub-TLV. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Perf. MonitoringType(2)Type (2) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |D|L|J|Y|K|C| Reserved (set to all 0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~ sub-TLVs ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 7: Performance Monitoring Sub-TLV Format Type: 2,"Performancethe Performance Monitoringsub-TLV".Sub-TLV. Length:indicatesIndicates the TLV total length in octets, including sub-TLVs as well as Type and Length fields. ConfigurationFlags, forFlags (for the specific function description please refer to[RFC6374]: -[RFC6374]): o D: Delay inferred/direct (0=INFERRED, 1=DIRECT). If the egress LSR does not support the specifiedmodemode, an "OAMProblem/UnsupportedProblem/ Unsupported Delay Mode" error MUST be generated.-o L: Loss inferred/direct (0=INFERRED, 1=DIRECT). If the egress LSR does not support the specifiedmodemode, an "OAM Problem/Unsupported Loss Mode" error MUST be generated.-o J: Delay variation/jitter (1=ACTIVE, 0=NOT ACTIVE). If the egress LSR does not support Delay variation measurements and the J flag is set, an "OAM Problem/Delay variation unsupported" error MUST be generated.-o Y: Dyadic (1=ACTIVE, 0=NOT ACTIVE). If the egress LSR does not support Dyadic mode and the Y flag is set, an "OAM Problem/Dyadic mode unsupported" error MUST be generated.-o K: Loopback (1=ACTIVE, 0=NOT ACTIVE). If the egress LSR does not support Loopback mode and the K flag is set, an "OAM Problem/ Loopback mode unsupported" error MUST be generated.-o C: Combined (1=ACTIVE, 0=NOT ACTIVE). If the egress LSR does not support Combined mode and the C flag is set, an "OAM Problem/ Combined mode unsupported" error MUST be generated. Reserved: Reserved for futurespecification andspecifications; set to 0 on transmission and ignored when received. 3.4.1. MPLS OAM PM Losssub-TLVSub-TLV The"MPLSMPLS OAM PM Losssub-TLV"Sub-TLV depicted below is carried as a sub-TLV of the"PerformancePerformance Monitoringsub-TLV".Sub-TLV. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PM Loss Type (1) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OTF |T|B| Reserved (set to all 0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Measurement Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Loss Threshold | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 8: MPLS OAM PM Loss Sub-TLV Format Type:1,"MPLS1, the MPLS OAM PM Losssub-TLV".Sub-TLV. Length:indicatesIndicates the length of the parameters in octets, including Type and Length fields (20).OTF:Origin Timestamp Format (OTF): Origin Timestamp Format of the Origin Timestamp field described in [RFC6374]. Bydefaultdefault, it is set to IEEE 1588 version 1. If the egress LSR cannot support thisvaluevalue, an "OAM Problem/Unsupported Timestamp Format" error MUST be generated. ConfigurationFlags, pleaseFlags (please refer to [RFC6374] for furtherdetails: -details): o T: Traffic-class-specific measurement indicator. Set to 1 when the measurement operation is scoped to packets of a particular traffic class(DSCP value),(Differentiated Service Code Point (DSCP) value) and0zero otherwise. When set to 1, theDSDifferentiated Services (DS) field of the message indicates the measured traffic class. Bydefaultdefault, it is set to 1.-o B: Octet (byte) count. When set to 1, it indicates that the Counter 1-4 fields represent octet counts. When set to 0, it indicates that the Counter 1-4 fields represent packet counts. Bydefaultdefault, it is set to 0. Reserved: Reserved for futurespecification andspecifications; set to 0 on transmission and ignored when received. Measurement Interval:theThe time interval (in milliseconds) at which Loss Measurement query messages MUST be sentonin both directions. If the egress LSR cannot support the value, it SHOULD reply with a supported interval. Bydefaultdefault, it is set to(100)100 milliseconds as per [RFC6375]. Test Interval:testTest messages intervalin milliseconds(in milliseconds) as described in [RFC6374]. Bydefaultdefault, it is set to(10)10 milliseconds as per [RFC6375]. If the egress LSR cannot support the value, it SHOULD reply with a supported interval. Loss Threshold:theThe threshold value of measured lost packets per measurement over which action(s) SHOULD be triggered. 3.4.2. MPLS OAM PM Delaysub-TLVSub-TLV The"MPLSMPLS OAM PM Delaysub-TLV"Sub-TLV depicted below is carried as asub- TLVsub-TLV of the"PerformancePerformance Monitoringsub-TLV".Sub-TLV. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PM Delay Type (2) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OTF |T|B| Reserved (set to all 0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Measurement Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Delay Threshold | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 9: MPLS OAM PM Delay Sub-TLV Format Type:2,"MPLS2, the MPLS OAM PM Delaysub-TLV".Sub-TLV. Length:indicatesIndicates the length of the parameters in octets, including Type and Length fields (20). OTF: Origin Timestamp Format of the Origin Timestamp field described in [RFC6374]. Bydefaultdefault, it is set to IEEE 1588 version 1. If the egress LSR cannot support thisvaluevalue, an "OAM Problem/Unsupported Timestamp Format" error MUST be generated. ConfigurationFlags, pleaseFlags (please refer to [RFC6374] for furtherdetails: -details): o T: Traffic-class-specific measurement indicator. Set to 1 when the measurement operation is scoped to packets of a particular traffic class(DSCP value),(Differentiated Services Code Point (DSCP) value) and0zero otherwise. When set to 1, theDSDifferentiated Service (DS) field of the message indicates the measured traffic class. Bydefaultdefault, it is set to 1.-o B: Octet (byte) count. When set to 1, it indicates that the Counter 1-4 fields represent octet counts. When set to 0, it indicates that the Counter 1-4 fields represent packet counts. Bydefaultdefault, it is set to 0. Reserved: Reserved for futurespecification andspecifications; set to 0 on transmission and ignored when received. Measurement Interval:theThe time interval (in milliseconds) at which Delay Measurement query messages MUST be sent on both directions. If the egress LSR cannot support the value, it SHOULD reply with a supported interval. Bydefaultdefault, it is set to(1000)1000 milliseconds as per [RFC6375]. Test Interval:testTest messages interval (in milliseconds) as described in [RFC6374]. Bydefaultdefault, it is set to(10)10 milliseconds as per [RFC6375]. If the egress LSR cannot support the value, it SHOULD reply with a supported interval. Delay Threshold:theThe threshold value of measured two-way delay (in milliseconds) over which action(s) SHOULD be triggered. 3.5. MPLS OAM FMSsub-TLVSub-TLV The"MPLSMPLS OAM FMSsub-TLV"Sub-TLV depicted below is carried as a sub-TLV of the"MPLSMPLS OAM Configurationsub-TLV".Sub-TLV. When both working and protection paths are signaled, both LSPs SHOULD be signaled with identical settings of the E flag, T flag, and the refresh timer. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MPLS OAM FMS Type (3) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |E|S|T| Reserved | Refresh Timer | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~sub-TLVsSub-TLVs ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 10: MPLS OAM FMS Sub-TLV Format Type: 3,"MPLSthe MPLS OAM FMSsub-TLV".Sub-TLV. Length:indicatesIndicates the TLV total length in octets, including Type and Length fields (8). FMS Signal Flags are used to enable the FMS signals atend pointMEPs and theServerserver MEPs of the links over which the LSP is forwarded. In thisdocumentdocument, only the S flag pertains toServerserver MEPs. The following flags are defined:-E: Enable Alarm Indication Signal (AIS) and Lock Report (LKR) signaling as described in [RFC6427].DefaultThe default value is 1 (enabled). If the egress MEP does not support FMS signalgenerationgeneration, an "OAM Problem/Fault management signaling unsupported" error MUST be generated.-S: Indicate to aServerserver MEP that it should transmit AIS and LKR signals on client LSPs.DefaultThe default value is 0 (disabled). If aServer MEPserver MEP, which is capable of generating FMSmessagesmessages, is for some reason unable to do so for the LSP being signaled an "OAMProblem/ UnableProblem/Unable to create fault management association" error MUST be generated.-T: Set timer value, enabled by the configuration of a specific timer value. The Default value is 0 (disabled).-Remaining bits: Reserved for a future specification and set to 0. Refresh Timer:indicatesIndicates (in seconds) the refresh timer of fault indicationmessages, in seconds.messages. The value MUST be between 1 to 20 seconds as specified for the Refresh Timer field in [RFC6427]. If the egress LSR cannot support thevaluevalue, it SHOULD reply with a supported timer value.FMS sub-TLVThe Fault Management Signals Sub-TLV MAY include the Traffic Classsub-TLV Section 3.3.4.Sub-TLV (Section 3.3.4.) IfTC sub-TLVthe Traffic Class Sub-TLV is present, the value of the TC field MUST be used as the value of the TC field of an MPLS label stack entry for FMS messages. If theTC sub-TLVTraffic Class Sub-TLV is absent, then selection of the TC value is local decision. 4. Summary of MPLS OAMconfiguration errorsConfiguration Errors In addition to error values specified in[RFC7260][RFC7260], this document defines the following values for the "OAM Problem"Error Code: -error code: o If an egress LSR does not support the specified BFD version, an error MUST be generated: "OAM Problem/Unsupported BFD Version".-o If an egress LSR does not support the specified BFD Encapsulation format, an error MUST be generated: "OAMProblem/ UnsupportedProblem/Unsupported BFD Encapsulation format".-o If an egress LSR does not support BFDAuthentication,Authentication and it is requested, an error MUST be generated: "OAM Problem/BFD Authentication unsupported".-o If an egress LSR does not support the specified BFD Authentication Type, an error MUST be generated: "OAMProblem/ UnsupportedProblem/Unsupported BFD Authentication Type".-o If an egress LSR is not able to use the specified Authentication Key ID, an error MUST be generated: "OAM Problem/Mismatch of BFD Authentication Key ID".-o If an egress LSR does not support the specified Timestamp Format, an error MUST be generated: "OAM Problem/Unsupported Timestamp Format".-o If an egress LSR does not support the specified Delay mode, an "OAM Problem/Unsupported Delay Mode" error MUST be generated.-o If an egress LSR does not support the specified Loss mode, an "OAM Problem/Unsupported Loss Mode" error MUST be generated.-o If an egress LSR does not support Delay variationmeasurements,measurements and it is requested, an "OAM Problem/Delay variation unsupported" error MUST be generated.-o If an egress LSR does not support Dyadicmode,mode and it is requested, an "OAM Problem/Dyadic mode unsupported" error MUST be generated.-o If an egress LSR does not support Loopbackmode,mode and it is requested, an "OAM Problem/Loopback mode unsupported" error MUST be generated.-o If an egress LSR does not support Combinedmode,mode and it is requested, an "OAM Problem/Combined mode unsupported" error MUST be generated.-o If an egress LSR does not support Fault MonitoringSignals,signals and it is requested, an "OAM Problem/Fault management signaling unsupported" error MUST be generated.-o If an intermediate server MEP supports Fault MonitoringSignalssignals but is unable to create anassociation,association when requested to do so, an "OAM Problem/Unable to create fault management association" error MUST be generated. 5. IANA Considerations 5.1. MPLS OAM Type This document specifiesnewthe"MPLSnew MPLS OAMType".type. IANAis requested to allocatehas allocated a new type(TBA1)(3) from theOAM Type"OAM Types" space of theRSVP-TE"RSVP-TE OAM ConfigurationRegistry. +------+-------------+---------------+Registry". +------+-------------+-----------+ | Type | Description | Reference |+------+-------------+---------------++------+-------------+-----------+ |TBA13 | MPLS OAM |This document[RFC7487] |+------+-------------+---------------++------+-------------+-----------+ Table 1:OAMMPLS OAM Type 5.2. MPLS OAM Configurationsub-TLVSub-TLV This document specifies the"MPLSMPLS OAM Configurationsub-TLV",Sub-TLV. IANAis requested to allocatehas allocated a new type(TBA2)(33) from thetechnology-specific sub-TLVOAM Sub-TLV space of theRSVP-TE"RSVP-TE OAM ConfigurationRegistry. +------+--------------------------------+---------------+Registry". +------+--------------------------------+-----------+ | Type | Description | Reference |+------+--------------------------------+---------------++------+--------------------------------+-----------+ |TBA233 | MPLS OAM Configurationsub-TLVSub-TLV |This document[RFC7487] |+------+--------------------------------+---------------++------+--------------------------------+-----------+ Table 2: MPLS OAM Configurationsub-TLVSub-TLV Type 5.3. MPLS OAM Configuration Sub-TLV Types IANAis requested to createhas created an "MPLS OAMsub-TLVConfiguration Sub-TLV Types"sub-registrysub- registry in the "RSVP-TE OAM Configuration Registry" for the sub-TLVs carried in the"MPLSMPLS OAM Configurationsub-TLV".Sub-TLV. Values from this newsub- registrysub-registry are to be allocated through IETF Review except for theReserved"Reserved for ExperimentalUseUse" range. This document defines the following types:+-------------+--------------------------------+---------------++-------------+--------------------------------+-----------+ | Type | Description | Reference |+-------------+--------------------------------+---------------++-------------+--------------------------------+-----------+ | 0 | Reserved |This document[RFC7487] | | 1 | BFD Configurationsub-TLVSub-TLV |This document[RFC7487] | | 2 | Performance Monitoringsub-TLVSub-TLV |This document[RFC7487] | | 3 | MPLS OAM FMSsub-TLVSub-TLV |This document[RFC7487] | | 4-65532 | Unassigned | | | 65533-65534 | Reserved for Experimental Use |This document[RFC7487] | | 65535 | Reserved |This document[RFC7487] |+-------------+--------------------------------+---------------++-------------+--------------------------------+-----------+ Table 3: MPLS OAM Configurationsub-TLVSub-TLV Types 5.4. BFD Configuration Sub-TLV Types IANAis requested to createhas created a "BFD Configurationsub-TLVSub-TLV Types"sub- registrysub-registry in the "RSVP-TE OAM Configuration Registry" for the sub-TLV types carried in the"BFDBFD Configurationsub-TLV".Sub-TLV. Values from this newsub-registrysub- registry are to be allocated through IETF Review except for theReserved"Reserved for ExperimentalUseUse" range. This document defines the following types:+-------------+-------------------------------------+---------------++-------------+--------------------------------------+-----------+ | Type | Description | Reference |+-------------+-------------------------------------+---------------++-------------+--------------------------------------+-----------+ | 0 | Reserved |This document[RFC7487] | | 1 | BFD Identifierssub-TLVSub-TLV |This document[RFC7487] | | 2 | Negotiation Timer Parameterssub- | This document | | | TLVSub-TLV | [RFC7487] | | 3 | BFD Authenticationsub-TLVSub-TLV |This document[RFC7487] | | 4 | Traffic Classsub-TLVSub-TLV |This document[RFC7487] | | 5-65532 | Unassigned | | | 65533-65534 | Reserved for Experimental Use |This document[RFC7487] | | 65535 | Reserved |This document[RFC7487] |+-------------+-------------------------------------+---------------++-------------+--------------------------------------+-----------+ Table 4: BFD ConfigurationSus-TLVSub-TLV Types 5.5. Performance Monitoringsub-TLVSub-TLV Types IANAis requested to createhas created a "Performance Monitoringsub-TLVSub-TLV Type" sub-registry in the "RSVP-TE OAM Configuration Registry" for thesub- TLVsub-TLV types carried in the"PerformancePerformance Monitoringsub-TLV".Sub-TLV. Values from this new sub-registry are to be allocated through IETF Review except for theReserved"Reserved for ExperimentalUseUse" range. This document defines the following types:+-------------+-------------------------------+---------------++-------------+-------------------------------+-----------+ | Type | Description | Reference |+-------------+-------------------------------+---------------++-------------+-------------------------------+-----------+ | 0 | Reserved |This document[RFC7487] | | 1 | MPLS OAM PM Losssub-TLVSub-TLV |This document[RFC7487] | | 2 | MPLS OAM PM Delaysub-TLVSub-TLV |This document[RFC7487] | | 3-65532 | Unassigned | | | 65533-65534 | Reserved for Experimental Use |This document[RFC7487] | | 65535 | Reserved |This document[RFC7487] |+-------------+-------------------------------+---------------++-------------+-------------------------------+-----------+ Table 5: Performance Monitoringsub-TLVSub-TLV Types 5.6. New RSVP-TEerror codesError Codes The following valuesneed to behave been assigned under the "OAM Problem"Error Codeerror code [RFC7260] by IETF Review process:+-----------------+---------------------------------+---------------++------------------+------------------------------------+-----------+ | Error Value Sub- | Description | Reference | |Sub-codesCodes | | |+-----------------+---------------------------------+---------------++------------------+------------------------------------+-----------+ |TBA313 | Unsupported BFD Version |This document[RFC7487] | |TBA414 | Unsupported BFD Encapsulation |This document[RFC7487] | | | format | | |TBA515 | Unsupported BFD Authentication |This document[RFC7487] | | | Type | | |TBA616 | Mismatch of BFD Authentication Key |This document[RFC7487] | | |KeyID | | |TBA717 | Unsupported Timestamp Format |This document[RFC7487] | |TBA818 | Unsupported Delay Mode |This document[RFC7487] | |TBA919 | Unsupported Loss Mode |This document[RFC7487] | |TBA1020 | Delay variation unsupported |This document[RFC7487] | |TBA1121 | Dyadic mode unsupported |This document[RFC7487] | |TBA1222 | Loopback mode unsupported |This document[RFC7487] | |TBA1323 | Combined mode unsupported |This document[RFC7487] | |TBA1424 | Fault management signaling |This document[RFC7487] | | | unsupported | | |TBA1525 | Unable to create fault management |This document[RFC7487] | | |managementassociation | |+-----------------+---------------------------------+---------------++------------------+------------------------------------+-----------+ Table 6: MPLS OAM Configuration Error Codes The"Sub-codes"Sub-Codes -40,40 OAM Problem" sub-registry is located in the "Error Codes and Globally-Defined Error Value Sub-Codes" registry. 6.Contributing Authors This document is the result of a large team of authors and contributors. The following is a list of the co-authors: John Drake Benoit Tremblay 7. Acknowledgements The authors would like to thank David Allan, Lou Berger, Annamaria Fulignoli, Eric Gray, Andras Kern, David Jocha and David Sinicrope for their useful comments. 8.Security Considerations The signaling ofOAM relatedOAM-related parameters and the automatic establishment of OAM entities introduces additional security considerations to those discussed in [RFC3473]. In particular, a network element could be overloaded if an attacker were to request high frequency liveliness monitoring of a large number of LSPs, targeting a single network element as discussed in [RFC7260] and [RFC6060]. Additional discussion of security for MPLS and GMPLS protocols can be found in [RFC5920].9.7. References9.1.7.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March1997.1997, <http://www.rfc-editor.org/info/rfc2119>. [RFC3473] Berger, L., Ed., "Generalized Multi-Protocol Label Switching (GMPLS) Signaling Resource ReserVationProtocol-TrafficProtocol- Traffic Engineering (RSVP-TE) Extensions", RFC 3473, January2003.2003, <http://www.rfc-editor.org/info/rfc3473>. [RFC5654] Niven-Jenkins, B., Ed., Brungard, D., Ed., Betts, M., Ed., Sprecher, N., and S. Ueno, "Requirements of an MPLS Transport Profile", RFC 5654, September2009.2009, <http://www.rfc-editor.org/info/rfc5654>. [RFC5860] Vigoureux, M., Ed., Ward, D., Ed., and M. Betts, Ed., "Requirements for Operations, Administration, and Maintenance (OAM) in MPLS Transport Networks", RFC 5860, May2010.2010, <http://www.rfc-editor.org/info/rfc5860>. [RFC5880] Katz, D. and D. Ward, "Bidirectional Forwarding Detection (BFD)", RFC 5880, June2010.2010, <http://www.rfc-editor.org/info/rfc5880>. [RFC5884] Aggarwal, R., Kompella, K., Nadeau, T., and G. Swallow, "Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)", RFC 5884, June2010.2010, <http://www.rfc-editor.org/info/rfc5884>. [RFC6060] Fedyk, D., Shah, H., Bitar, N., and A. Takacs, "Generalized Multiprotocol Label Switching (GMPLS) Control of Ethernet Provider Backbone Traffic Engineering (PBB- TE)", RFC 6060, March2011.2011, <http://www.rfc-editor.org/info/rfc6060>. [RFC6370] Bocci, M., Swallow, G., and E. Gray, "MPLS Transport Profile (MPLS-TP) Identifiers", RFC 6370, September2011.2011, <http://www.rfc-editor.org/info/rfc6370>. [RFC6374] Frost, D. and S. Bryant, "Packet Loss and Delay Measurement for MPLS Networks", RFC 6374, September2011.2011, <http://www.rfc-editor.org/info/rfc6374>. [RFC6427] Swallow, G., Ed., Fulignoli, A., Ed., Vigoureux, M., Ed., Boutros, S., and D. Ward, "MPLS Fault Management Operations, Administration, and Maintenance (OAM)", RFC 6427, November2011.2011, <http://www.rfc-editor.org/info/rfc6427>. [RFC6428] Allan, D., Ed., SwallowEd. ,Ed., G., and J. DrakeEd. ,Ed., "Proactive Connectivity Verification, Continuity Check, and Remote Defect Indication for the MPLS Transport Profile", RFC 6428, November2011.2011, <http://www.rfc-editor.org/info/rfc6428>. [RFC7260] Takacs, A., Fedyk, D., and J. He, "GMPLS RSVP-TE Extensions for Operations, Administration, and Maintenance (OAM) Configuration", RFC 7260, June2014. 9.2.2014, <http://www.rfc-editor.org/info/rfc7260>. 7.2. Informative References [LSP-PING-CONF] Bellagamba, E., Mirsky, G., Andersson, L., Skoldstrom, P., Ward, D.,Drake, J.,andP. Skoldstrom,J. Drake, "Configuration ofproactive MPLS-TPProactive Operations, Administration, and Maintenance (OAM) FunctionsUsingfor MPLS-based Transport Networks using LSP Ping",2014, <draft-ietf-mpls-lsp- ping-mpls-tp-oam-conf>.Work in Progress, draft-ietf-mpls-lsp-ping-mpls-tp- oam-conf-09, January 2015. [RFC5462] Andersson, L. and R. Asati, "Multiprotocol Label Switching (MPLS) Label Stack Entry: "EXP" Field Renamed to "Traffic Class" Field", RFC 5462, February2009.2009, <http://www.rfc-editor.org/info/rfc5462>. [RFC5920] Fang, L., Ed., "Security Framework for MPLS and GMPLS Networks", RFC 5920, July2010.2010, <http://www.rfc-editor.org/info/rfc5920>. [RFC6371] Busi,I.I., Ed. and D. Allan, Ed., "Operations, Administration, and Maintenance Framework for MPLS-Based Transport Networks", RFC 6371, September2011.2011, <http://www.rfc-editor.org/info/rfc6371>. [RFC6375] Frost,D.D., Ed. and S. Bryant, Ed., "A Packet Loss and Delay Measurement Profile for MPLS-Based Transport Networks", RFC 6375, September2011.2011, <http://www.rfc-editor.org/info/rfc6375>. Acknowledgements The authors would like to thank David Allan, Lou Berger, Annamaria Fulignoli, Eric Gray, Andras Kern, David Jocha, and David Sinicrope for their useful comments. Contributors This document is the result of a large team of authors and contributors. The following is a list of the contributors: John Drake Benoit Tremblay Authors' Addresses Elisa Bellagamba EricssonEmail:EMail: elisa.bellagamba@ericsson.com Attila Takacs EricssonEmail:EMail: attila.takacs@ericsson.com Gregory Mirsky EricssonEmail:EMail: Gregory.Mirsky@ericsson.com Loa Andersson Huawei TechnologiesEmail:EMail: loa@mail01.huawei.com Pontus Skoldstrom Acreo AB Electrum 236 Kista 164 40 Sweden Phone: +46 70 7957731Email:EMail: pontus.skoldstrom@acreo.se Dave Ward CiscoEmail:EMail: dward@cisco.com