--- 1/draft-ietf-ccamp-rsvp-te-mpls-tp-oam-ext-04.txt 2011-03-13 19:14:13.000000000 +0100 +++ 2/draft-ietf-ccamp-rsvp-te-mpls-tp-oam-ext-05.txt 2011-03-13 19:14:13.000000000 +0100 @@ -1,97 +1,96 @@ CCAMP Working Group E. Bellagamba, Ed. Internet-Draft L. Andersson, Ed. Intended status: Standards Track Ericsson -Expires: July 13, 2011 P. Skoldstrom, Ed. +Expires: September 11, 2011 P. Skoldstrom, Ed. Acreo AB D. Ward Juniper A. Takacs Ericsson - January 9, 2011 + March 10, 2011 Configuration of pro-active MPLS-TP Operations, Administration, and Maintenance (OAM) Functions Using RSVP-TE - draft-ietf-ccamp-rsvp-te-mpls-tp-oam-ext-04 + draft-ietf-ccamp-rsvp-te-mpls-tp-oam-ext-05 Abstract This specification describes the configuration of pro-active MPLS-TP Operations, Administration, and Maintenance (OAM) Functions for a - given LSP using a common set of TLVs that can be carried on RSVP-TE + given LSP using a set of TLVs that can be carried in the RSVP-TE protocol. 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 http://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 July 13, 2011. + This Internet-Draft will expire on September 11, 2011. Copyright Notice Copyright (c) 2011 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. Contributing Authors . . . . . . . . . . . . . . . . . . . 3 - 1.2. Requirements Language . . . . . . . . . . . . . . . . . . 4 + 1.2. Requirements Language . . . . . . . . . . . . . . . . . . 3 1.3. Overview of BFD OAM operation . . . . . . . . . . . . . . 4 2. Overview of MPLS OAM for Transport Applications . . . . . . . 4 3. Theory of Operations . . . . . . . . . . . . . . . . . . . . . 5 3.1. MPLS OAM Configuration Operation Overview . . . . . . . . 5 - 3.2. OAM Configuration TLV . . . . . . . . . . . . . . . . . . 6 - 3.3. BFD Configuration TLV . . . . . . . . . . . . . . . . . . 9 + 3.2. OAM Configuration TLV . . . . . . . . . . . . . . . . . . 7 + 3.3. BFD Configuration sub-TLV . . . . . . . . . . . . . . . . 9 3.3.1. Local Discriminator sub-TLV . . . . . . . . . . . . . 10 - 3.3.2. Negotiation Timer Parameters . . . . . . . . . . . . . 10 - 3.4. MPLS OAM PM Loss TLV . . . . . . . . . . . . . . . . . . . 12 - 3.5. MPLS OAM PM Delay TLV . . . . . . . . . . . . . . . . . . 13 - 3.6. MPLS OAM FMS TLV . . . . . . . . . . . . . . . . . . . . . 14 - 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15 - 5. BFD OAM configuration errors . . . . . . . . . . . . . . . . . 15 - 6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 15 - 7. Security Considerations . . . . . . . . . . . . . . . . . . . 15 - 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 16 - 8.1. Normative References . . . . . . . . . . . . . . . . . . . 16 - 8.2. Informative References . . . . . . . . . . . . . . . . . . 17 - Appendix A. Additional Stuff . . . . . . . . . . . . . . . . . . 18 - Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 18 + 3.3.2. Negotiation Timer Parameters sub-TLV . . . . . . . . . 11 + 3.3.3. BFD Authentication sub-TLV . . . . . . . . . . . . . . 12 + 3.4. MPLS OAM PM Loss sub-TLV . . . . . . . . . . . . . . . . . 13 + 3.5. MPLS OAM PM Delay sub-TLV . . . . . . . . . . . . . . . . 14 + 3.6. MPLS OAM FMS sub-TLV . . . . . . . . . . . . . . . . . . . 15 + 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 16 + 5. BFD OAM configuration errors . . . . . . . . . . . . . . . . . 16 + 6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 16 + 7. Security Considerations . . . . . . . . . . . . . . . . . . . 16 + 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 17 + 8.1. Normative References . . . . . . . . . . . . . . . . . . . 17 + 8.2. Informative References . . . . . . . . . . . . . . . . . . 18 + Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 19 1. Introduction This document describes the configuration of pro-active MPLS-TP Operations, Administration, and Maintenance (OAM) Functions for a - given LSP using a common set of TLVs carried on RSVP-TE [RFC3209] but - reusable also for LSP Ping [BFD-Ping] as defined in [LSP-PING CONF]. + given LSP using a common set of TLVs carried on RSVP-TE [RFC3209]. In particular it specifies the mechanisms necessary to establish MPLS-TP OAM entities monitoring an LSP and defines information elements and procedures to configure pro-active MPLS OAM functions. Initialization and control of on-demand MPLS OAM functions are expected to be carried out by directly accessing network nodes via a management interface; hence configuration and control of on-demand OAM functions are out-of-scope for this document. Pro-active MPLS OAM is based on the Bidirectional Forwarding Detection (BFD) protocol [RFC5880]. Bidirectional Forwarding @@ -145,21 +144,23 @@ the use of unidirectional links to support bidirectional paths (co- routed or bidirectional or associated bidirectional). Each system estimates how quickly it can send and receive BFD packets in order to come to an agreement with its neighbor about how rapidly detection of failure will take place. These estimates can be modified in real time in order to adapt to unusual situations. This design also allows for fast systems on a shared medium with a slow system to be able to more rapidly detect failures between the fast systems while allowing the slow system to participate to the best of - its ability. + its ability. However, in some cases one may want to configure these + timers manually, in those cases the TLVs defined in this document can + be used. The ability of each system to control the BFD packet transmission rate in both directions provides a mechanism for congestion control, particularly when BFD is used across multiple network hops. As recommended in [BFD-CCCV], the BFD tool needs to be extended for the proactive CV functionality by the addition of an unique identifier in order to meet the requirements. The document in [BFD- CCCV] specifies the BFD extension and behavior to meet the requirements for MPLS-TP proactive Continuity Check and Connectivity @@ -204,69 +205,102 @@ 3.1. MPLS OAM Configuration Operation Overview RSVP-TE, or in alternative LSP Ping [LSP-PING CONF], can be used to simply establish (i.e., bootstrap) a BFD session or it can selectively enable and configure all pro-active MPLS OAM functions. For this specification, BFD MUST be run in asynchronous mode and both sides should be in active mode. In the simplest scenario RSVP-TE, or in alternative LSP Ping [LSP- PING CONF], is used only to bootstrap the BFD session. In this case - the initiating node includes an 'OAM Configuration TLV' in the + the initiating node includes an "OAM Configuration TLV" in the message it sends to the receiving node at the other end of the LSP. - The OAM Type in the 'OAM Configuration TLV' is set to 'MPLS OAM', the - CC OAM Function flag is set, and a 'BFD Configuration sub-TLV' is - included. The sub-TLV carries a 'Local Discriminator sub-TLV' with + The OAM Type in the "OAM Configuration TLV" is set to "MPLS OAM", the + CC OAM Function flag is set, and a "BFD Configuration sub-TLV" is + included. The sub-TLV carries a "Local Discriminator sub-TLV" with the discriminator value selected by the initiating node for the BFD - session associated with the LSP. The N flag in the 'BFD - Configuration sub-TLV' MUST be set to enable timer negotiation/ + session associated with the LSP. The N flag in the "BFD + Configuration sub-TLV" MUST be set to enable timer negotiation/ re-negotiation via BFD Control Messages. The receiving node MUST use the Local Discriminator value it receives to identify the remote end of the BFD session. The receiving node - must send a message to the initiating node that includes an 'OAM - Configuration TLV' containing the same values as it received, except - for the 'Local Discriminator sub-TLV', which contains the local + must send a message to the initiating node that includes an "OAM + Configuration TLV" containing the same values as it received, except + for the "Local Discriminator sub-TLV", which contains the local discriminator value selected by the receiving node for the BFD session. Timer negotiation is performed in subsequent BFD control messages. This operation is similar to LSP Ping based bootstrapping described in [RFC5884]. If timer negotiation is to be done using the TLVs defined in this - document rather than with BFD Control Messages, the N flag MUST be - cleared and a 'Timer Negotiation Parameters sub-TLV' MUST be present - in the 'BFD Configuration sub-TLV'. In this case, there are two + document rather than with BFD Control packets, the N flag MUST be + cleared and a "Timer Negotiation Parameters sub-TLV" MUST be present + in the "BFD Configuration sub-TLV". In this case, there are two configuration options, symmetric and asymmetric. If symmetric - configuration is used, the S flag in 'BFD Configuration sub-TLV' MUST + configuration is used, the S flag in "BFD Configuration sub-TLV" MUST be set. If the flag is cleared, the configuration is completed asymmetrically in the two directions. Section 3.3.2 includes a detailed explanation of such configuration. In the case of the "CV/CC mode" OAM [BFD-CCCV], the "CV" flag MUST be set in addition to the CC flag in the "OAM Configuration TLV". The information required to support this functionality is defined in [MPLS-TP-IDENTIF]. If RSVP-TE is used, this information is found respectively in the SESSION and SENDER_TEMPLATE object with no need - of further sub-TLV as described in section 3.2. In case of LSP Ping - configuration this information is supplied by an additional sub-TLV, - but this is defined in [LSP-PING CONF] and it is outside the scope of - this document. + of additional sub-TLVs as described in section 3.2. + + When BFD Control packets are transported in the G-ACh they are not + protected by any end-to-end checksum, only lower-layers are providing + error detection/correction. A single bit error, e.g. a flipped bit + in the BFD State field could cause the receiving end to wrongly + conclude that the link is down and thus trigger protection switching. + To prevent this from happening the "BFD Configuration sub-TLV" has an + Integrity flag that when set enables BFD Authentication using Keyed + SHA1 with an empty key (all 0s) [RFC5880]. This would make every BFD + Control packet carry an SHA1 hash of itself that can be used to + detect errors. + + If BFD Authentication using a shared key / password is desired (i.e. + actual authentication not only error detection) the "BFD + Authentication sub-TLV" MUST be included in the "BFD Configuration + sub-TLV". The "BFD Authentication sub-TLV" is used to specify which + authentication method that should be used and which shared key / + password that should be used for this particular session. How the + key exchange is performed is out of scope of this document. + + Additional OAM functions may be configured by setting the appropriate + flags in the "OAM Functions TLV", these include Performance + Measurements (packet loss and packet delay) and Fault Management + Signal handling. + + By setting the PM Loss flag in the "OAM Functions TLV" and including + the "MPLS OAM PM Loss sub-TLV" one can configure the measurement + interval and loss threshold values for triggering protection. + + Delay measurements are configured by setting PM Delay flag in the + "OAM Functions TLV" and including the "MPLS OAM PM Loss sub-TLV" one + can configure the measurement interval and the delay threshold values + for triggering protection. + + To configure Fault Monitoring Signals and their refresh time the FMS + flag in the "OAM Functions TLV" MUST be set and the "MPLS OAM FMS + sub-TLV" included. 3.2. OAM Configuration TLV The "OAM Configuration TLV" is depicted in the following figure. It specifies the OAM functions that are to be used for the subject LSP - and it is defined in [OAM-CONF-FWK]. For RSVP-TE, the "OAM - Configuration TLV" is carried in the LSP_ATTRIBUTES object in Path - and Resv messages. + and it is defined in [OAM-CONF-FWK]. The "OAM Configuration TLV" is + carried in the LSP_ATTRIBUTES object in Path and Resv messages. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type (2) (IANA) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OAM Type | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~ sub-TLVs ~ @@ -287,39 +321,37 @@ The receiving edge LSR when the MPLS-TP OAM Type is requested should check which OAM Function Flags are set in the "Function Flags TLV" and look for the corresponding technology specific configuration TLV. Additional corresponding sub-TLVs are as follows: - "BFD Configuration sub-TLV", which MUST be included if the CC OAM Function flag is set. This sub-TLV MUST carry a "BFD Local Discriminator sub-TLV" and a "Timer Negotiation Parameters sub- - TLV" if the N flag is cleared. + TLV" if the N flag is cleared. It MAY carry a "BFD Authentication + sub-TLV" if the I flag is set. If the I flag is set but no "BFD + Authentication sub-TLV" is included Keyed SHA1 with an empty key + is used. - "MPLS OAM PM Loss sub-TLV", which MAY be included if the PM/Loss OAM Function flag is set. If the "MPLS OAM PM Loss sub-TLV" is not included, default configuration values are used. - "MPLS OAM PM Delay sub-TLV", which MAY be included if the PM/ Delay OAM Function flag is set. If the "MPLS OAM PM Delay sub- TLV" is not included, default configuration values are used. - "MPLS OAM FMS sub-TLV", which MAY be included if the FMS OAM Function flag is set. If the "MPLS OAM FMS sub-TLV" is not included, default configuration values are used. - - Moreover, 'Unique MEP-ID of Source', MUST be included in case - the configuration is done with LSP Ping and CV flag is set as - defined in [LSP-PING CONF]. But this is outside the scope of this - document. - Moreover, if the CV flag is set, the CC flag MUST be set at the same time. The format of an MPLS-TP CV/CC message is shown in [BFD-CCCV] and it requires, together with the BFD control packet information, the "Unique MEP-ID of source of BFD packet". [MPLS-TP-IDENTIF] defines the composition of such identifier as: <"Unique MEP-ID of source of BFD packet"> ::= GMPLS signaling [RFC3473] uses a 5-tuple to uniquely identify an LSP @@ -336,162 +368,167 @@ - LSP ID = LSP_Num "Tunnel ID" and "Tunnel Sender Address" are included in the "SESSION" object [RFC3209], which is mandatory in both Path and Resv messages. "LSP ID" will be the same on both directions and it is included in the "SENDER_TEMPLATE" object [RFC3209] which is mandatory in Path messages. - In case the configuration is done via LSP Ping [LSP-PING CONF] the - 'Unique MEP-ID of Source' is needed to supply this information but - this is defined in [LSP-PING CONF] and it is outside the scope of - this document. - [Author's note: the same "Unique MEP-ID of source" will be likely required for Performance monitoring purposes. However for the moment in [MPLS-PM] it is stated: "The question of ACH TLV usage and the manner of supporting metadata such as authentication keys and node identifiers is deliberately omitted. These issues will be addressed in a future version of the document."] -3.3. BFD Configuration TLV +3.3. BFD Configuration sub-TLV - The "BFD Configuration TLV" (depicted below) is defined for BFD OAM - specific configuration parameters. The "BFD Configuration TLV" is - carried as a sub-TLV of the "OAM Configuration TLV". + The "BFD Configuration sub-TLV" (depicted below) is defined for BFD + OAM specific configuration parameters. The "BFD Configuration sub- + TLV" is carried as a sub-TLV of the "OAM Configuration TLV". - This new TLV accommodates generic BFD OAM information and carries - sub-TLVs. + 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type (3) (IANA) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |Vers.| PHB |N|S| Reserved (set to all 0s) | + |Vers.| PHB |N|S|I| Reserved (set to all 0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | - ~ sub TLVs ~ + ~ sub-TLVs ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - Type: indicates a new type, the "BFD Configuration TLV" (IANA to + Type: indicates a new type, the "BFD Configuration sub-TLV" (IANA to define). Length: indicates the total length including sub-TLVs. Version: identifies the BFD protocol version. If a node does not support a specific BFD version an error must be generated: "OAM - Problem/Unsupported OAM Version &rdquo". + Problem/Unsupported OAM Version". PHB: Identifies the Per-Hop Behavior (PHB) to be used for periodic continuity monitoring messages. BFD Negotiation (N): If set timer negotiation/re-negotiation via BFD Control Messages is enabled, when cleared it is disabled. - The "BFD Configuration TLV" MUST include the following sub-TLVs in - the Path message: + Symmetric session (S): If set the BFD session MUST use symmetric + timing values. + + Integrity (I): If set BFD Authentication MUST be enabled. If the + "BFD Configuration sub-TLV" does not include a "BFD Authentication + sub-TLV" the authentication MUST use Keyed SHA1 with an empty pre- + shared key (all 0s). + + The "BFD Configuration sub-TLV" MUST include the following sub-TLVs + in the Path message: - "Local Discriminator sub-TLV"; - "Negotiation Timer Parameters sub-TLV" if N flag is cleared. - The "BFD Configuration TLV" MUST include the following sub-TLVs in - the Resv message: + The "BFD Configuration sub-TLV" MUST include the following sub-TLVs + in the Resv message: - "Local Discriminator sub-TLV;" - "Negotiation Timer Parameters sub-TLV" if: - N flag and S are cleared - N flag is cleared and S flag is set and a timing value higher than the one received needs to be used + Reserved: Reserved for future specification and set to 0. + 3.3.1. Local Discriminator sub-TLV - The "Local Discriminator sub-TLV" is carried as a sub-TLV of the BFD - Configuration sub-TLV. It is depicted below. + The "Local Discriminator sub-TLV" is carried as a sub-TLV of the "BFD + Configuration 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type (1) (IANA) | Length = 8 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local Discriminator | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - Type: indicates a new type, the Local Discriminator sub TLV (1) (IANA + Type: indicates a new type, the Local Discriminator sub-TLV (1) (IANA to define). Length: indicates the TLV total length in octets. Local Discriminator: A unique, nonzero discriminator value generated by the transmitting system and referring to itself, used to demultiplex multiple BFD sessions between the same pair of systems. -3.3.2. Negotiation Timer Parameters +3.3.2. Negotiation Timer Parameters sub-TLV - The "Negotiation Timer Parameters sub-TLV" is depicted below. + The "Negotiation Timer Parameters sub-TLV" is carried as a sub-TLV of + the "BFD Configuration 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Req. TX int. Type (2) (IANA) | Length = 20 | + | Timer Neg. Type (2) (IANA) | Length = 20 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Acceptable Min. Asynchronous TX interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Acceptable Min. Asynchronous RX interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Required Echo TX Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Detect. Mult.| Reserved | + | Detect. Mult.| Reserved (set to all 0s) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type: indicates a new type, the "Negotiation Timer Parameters sub- TLV" (IANA to define). - Length: indicates the TLV total length in octets. + Length: indicates the TLV total length in octets. (20) Acceptable Min. Asynchronous TX interval: in case of S (symmetric) - flag set in the "BFD Configuration" TLV, it expresses the desired + flag set in the "BFD Configuration sub-TLV", it expresses the desired time interval (in microseconds) at which the LER initiating the signaling intends to both transmit and receive BFD periodic control packets. If the receiving edge LSR can not support such value, it is allowed to reply back with an interval greater than the one proposed. - In case of S (symmetric) flag cleared in the "BFD Configuration TLV", - this field expresses the desired time interval (in microseconds) at - which a edge LSR intends to transmit BFD periodic control packets in - its transmitting direction. + In case of S (symmetric) flag cleared in the "BFD Configuration sub- + TLV", this field expresses the desired time interval (in + microseconds) at which a edge LSR intends to transmit BFD periodic + control packets in its transmitting direction. Acceptable Min. Asynchronous RX interval: in case of S (symmetric) - flag set in the "BFD Configuration TLV", this field MUST be equal to - "Acceptable Min. Asynchronous TX interval" and has no additional + flag set in the "BFD Configuration sub-TLV", this field MUST be equal + to "Acceptable Min. Asynchronous TX interval" and has no additional meaning respect to the one described for "Acceptable Min. Asynchronous TX interval". - In case of S (symmetric) flag cleared in the "BFD Configuration TLV", - it expresses the minimum time interval (in microseconds) at which - edge LSRs can receive BFD periodic control packets. In case this - value is greater than the "Acceptable Min. Asynchronous TX interval" - received from the other edge LSR, such edge LSR MUST adopt the - interval expressed in this "Acceptable Min. Asynchronous RX + In case of S (symmetric) flag cleared in the "BFD Configuration sub- + TLV", it expresses the minimum time interval (in microseconds) at + which edge LSRs can receive BFD periodic control packets. In case + this value is greater than the "Acceptable Min. Asynchronous TX + interval" received from the other edge LSR, such edge LSR MUST adopt + the interval expressed in this "Acceptable Min. Asynchronous RX interval". - Required Echo TX Interval: the minimum interval, in microseconds, + Required Echo TX Interval: the 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. 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 receiving system can not support this value an error MUST be generated "Unsupported BFD TX rate interval". Detection time multiplier: The negotiated transmit interval, multiplied by this value, provides the Detection Time for the receiving system in Asynchronous mode. @@ -489,38 +526,66 @@ 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 receiving system can not support this value an error MUST be generated "Unsupported BFD TX rate interval". Detection time multiplier: The negotiated transmit interval, multiplied by this value, provides the Detection Time for the receiving system in Asynchronous mode. -3.4. MPLS OAM PM Loss TLV + Reserved: Reserved for future specification and set to 0. - The "MPLS OAM PM Loss TLV" depicted below is carried as a sub-TLV of - the "OAM Configuration TLV". +3.3.3. BFD Authentication sub-TLV + + The "BFD Authentication sub-TLV" is carried as a sub-TLV of the "BFD + Configuration 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) (IANA) | Length = 8 | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | Auth Type | Auth Key ID | Reserved (0s) | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + Type: indicates a new type, the "BFD Authentication sub-TLV" (IANA to + define). + + Length: indicates the TLV total length in octets. (8) + + Auth Type: indicates which type of authentication to use. The same + values as are defined in section 4.1 of [RFC5880] are used. + + Auth Key ID: indicates 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. + + Reserved: Reserved for future specification and set to 0. + +3.4. MPLS OAM PM Loss sub-TLV + + The "MPLS OAM PM Loss sub-TLV" depicted below is carried as a sub-TLV + of the "OAM Configuration 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 (3) (IANA) | Length = 16 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |Vers.|E|C| | Reserved | PHB | + |Vers.|E|C| | Reserved (set to all 0s) | PHB | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Measurement Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Loss Threshold | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - Type: indicates a new type, the "PM Loss" (IANA to define). + Type: indicates a new type, the "MPLS OAM PM Loss" (IANA to define). Length: indicates the TLV total length in octets. Version: indicates the Loss measurement protocol version. Configuration Flags: - E: exclude from the Loss Measurement all G-ACh messages - C: require the use of a counter in the "Querier Context" field @@ -532,38 +597,38 @@ information. Measurement Interval: the time interval (in microseconds) at which Loss Measurement query messages MUST be sent on both directions. If the edge LSR receiving the Path message can not support such value, it can reply back with a higher interval. Loss Threshold: the threshold value of lost packets over which protections MUST be triggered. -3.5. MPLS OAM PM Delay TLV +3.5. MPLS OAM PM Delay sub-TLV - The "MPLS OAM PM Delay TLV" depicted below is carried as a sub-TLV of - the "OAM Configuration TLV". + The "MPLS OAM PM Delay sub-TLV" depicted below is carried as a sub- + TLV of the "OAM Configuration 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 (4) (IANA) | Length = 16 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |Vers.| Flags | Reserved | PHB | + |Vers.| Flags | Reserved (set to all 0s) | PHB | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Measurement Interval | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Delay Threshold | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - Type: indicates a new type, the "PM Delay" (IANA to define). + Type: indicates a new type, the "MPLS OAM PM Delay" (IANA to define). Length: indicates the TLV total length in octets. Version: indicates the Delay measurement protocol version. Configuration Flags: - E: exclude from the Loss Measurement all G-ACh messages - C: require the use of a counter in the "Querier Context" field @@ -572,55 +637,57 @@ - Remaining bits: Reserved for future specification and set to 0. PHB: - identifies the per-hop behavior of packets with delay information. Measurement Interval: the time interval (in microseconds) at which Delay Measurement query messages MUST be sent on both directions. If the edge LSR receiving the Path message can not support such value, it can reply back with a higher interval. - Delay Threshold: the threshold value of lost packets over which - protections MUST be triggered. + Delay Threshold: the threshold value of measured delay (in + microseconds) over which protections MUST be triggered. [Author's note: TBD if we want to include the timestamp format negotiation as in [MPLS-PM] 4.2.5.] -3.6. MPLS OAM FMS TLV +3.6. MPLS OAM FMS sub-TLV - The "MPLS OAM FMS TLV" depicted below is carried as a sub-TLV of the - "OAM Configuration TLV". + The "MPLS OAM FMS sub-TLV" depicted below is carried as a sub-TLV of + the "OAM Configuration 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - | Type (5) (IANA) | Length (12) | + | Type (5) (IANA) | Length = 12 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - |A|D|L|C| Reserved | |E| PHB | + |A|D|L|C| Reserved (set all to 0s) |E| PHB | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Refresh Timer | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - Type: indicates a new type, the "PM Delay" (IANA to define). + Type: indicates a new type, the "MPLS OAM FMS" (IANA to define). Length: indicates the TLV total length in octets. Signal Flags: are used to enable the following signals: - A: Alarm Indication Signal (AIS) as described in [MPLS-FMS] - D: Link Down Indication (LDI) as described in [MPLS-FMS] - L: Locked Report (LKR) as described in [MPLS-FMS] - C: Client Signal Failure (CSF) as described in [MPLS-CSF] + - Remaining bits: Reserved for future specification and set to 0. + Configuration Flags: - E: used to enable/disable explicitly clearing faults - PHB: identifies the per-hop behavior of packets with fault management information Refresh Timer: indicates the refresh timer (in microseconds) of fault indication messages. If the edge LSR receiving the Path message can not support such value, it can reply back with a higher interval. @@ -628,28 +695,30 @@ 4. IANA Considerations This document specifies the following new TLV types: - "BFD Configuration" type: 2; - "MPLS OAM PM Loss" type: 3; - "MPLS OAM PM Delay" type: 4; - - "MPLS OAM PM FMS" type: 5. + - "MPLS OAM FMS" type: 5. sub-TLV types to be carried in the "BFD Configuration sub-TLV": - "Local Discriminator" sub-TLV type: 1; - "Negotiation Timer Parameters" sub-TLV type: 2. + - "BFD Authentication" sub-TLV type: 3. + 5. BFD OAM configuration errors In addition to error values specified in [OAM-CONF-FWK] and [ETH-OAM] this document defines the following values for the "OAM Problem" Error Code: - "MPLS OAM Unsupported Functionality"; - "OAM Problem/Unsupported TX rate interval". @@ -738,36 +807,36 @@ 8.2. Informative References [BFD-CCCV] Allan, D., Swallow, G., and J. Drake, "Proactive Connectivity Verification, Continuity Check and Remote Defect indication for MPLS Transport Profile", 2010, . [BFD-Ping] Bahadur, N., Aggarwal, R., Ward, D., Nadeau, T., Sprecher, - N., and Y. Weingarten, "LSP-Ping and BFD encapsulation + N., and Y. Weingarten, "LSP Ping and BFD encapsulation over ACH", 2010, . [ETH-OAM] Takacs, A., Gero, B., Fedyk, D., Mohan, D., and D. Long, "GMPLS RSVP-TE Extensions for Ethernet OAM", 2009, . [LSP Ping] Kompella, K. and G. Swallow, "Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures", 2006, . [LSP-PING CONF] Bellagamba, E., Andersson, L., Ward, D., and P. - Skoelstroem, "Configuration of pro-active MPLS-TP + Skoldstrom, "Configuration of pro-active MPLS-TP Operations, Administration, and Maintenance (OAM) Functions Using LSP Ping", 2010, . [MPLS-TP OAM Analysis] Sprecher, N., Weingarten, Y., and E. Bellagamba, "MPLS-TP OAM Analysis", 2011, . [MPLS-TP-OAM-FWK] Bocci, M. and D. Allan, "Operations, Administration and @@ -775,24 +844,20 @@ 2010, . [RFC4447] Martini, L., Rosen, E., El-Aawar, N., Smith, T., and G. Heron, "Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)", RFC 4447, April 2006. [RFC5921] Bocci, M., Bryant, S., Frost, D., Levrau, L., and L. Berger, "A Framework for MPLS in Transport Networks", RFC 5921, July 2010. -Appendix A. Additional Stuff - - This becomes an Appendix. - Authors' Addresses Elisa Bellagamba (editor) Ericsson Farogatan 6 Kista, 164 40 Sweden Phone: +46 761440785 Email: elisa.bellagamba@ericsson.com