view Side-By-Side changes
MPLS Working GroupL. Andersson, A. Fredette, B. JamoussiBilel Jamoussi, Editor Internet Draft Nortel Networks Expiration Date:JulyAugust 1999 February 1999R. Callon IronBridge Networks P. Doolan Ennovate Networks N. Feldman IBM Corp E. Gray Lucent Technologies J. Halpern Newbridge Networks J. Heinanen Telia Finland T. E. Kilty Northchurch Communications A. G. Malis Ascend Communications, Inc. M. Girish SBC Technology Resources, Inc. K. Sundell Ericsson P. Vaananen Nokia Telecommunications T. Worster General DataComm, Inc. L. Wu, R. Dantu Alcatel January 1998Constraint-Based LSP Setup using LDPdraft-ietf-mpls-cr-ldp-00.txtdraft-ietf-mpls-cr-ldp-01.txt Status of this Memo This document is anInternet-Draft.Internet-Draft and is in full conformance with all provisions of Section 10 of RFC2026. Internet-Drafts are workingJamoussi, et. al. January 26, 1999 [Page 1] CR-LDP Specification - 2 - Exp. Apr 1999documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents asInternet-Drafts.Internet- Drafts. 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 useInternet-DraftsInternet- Drafts as reference material or to cite them other than as "work in progress."To learn the current statusThe list ofany Internet-Draft, please check the "1id-abstracts.txt" listing contained in thecurrent Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt The list of Internet-Draft Shadow Directorieson ftp.is.co.za (Africa), nic.nordu.net (Europe), munnari.oz.au (Pacific Rim), ftp.ietf.org (US East Coast), or ftp.isi.edu (US West Coast).can be accessed at http://www.ietf.org/shadow.html. Distribution of this memo is unlimited. Copyright Notice Copyright (C) The Internet Society (1998). All Rights Reserved. Abstract Label Distribution Protocol (LDP) is defined in [LDP] for distribution of labels inside one MPLS domain. One of the most important services that may be offered using MPLS in general and LDP in particular is support for constraint-based routing of traffic across the routed network. Constraint-based routing offers the opportunity to extend the information used to setup paths beyond what is available for the routing protocol. For instance, an LSP can be setup based onanexplicit routeconstraint, a Service Class (SC) constraint, or both.constraints, QoS constraints, and others. Constraint-based routing (CR)andis a mechanism used to meet Traffic Engineering requirements that have been proposed by [FRAME], [ARCH] and [TER]. These requirements may be met by extending LDP for support of constraint-based routed label switched paths (CRLSPs). Jamoussi, et. al. February 25, 1999 [Page 1] CR-LDP Specification - 2 - Exp. August 1999 Other uses exist for CRLSPs as well([VPN1]([VPN1], [VPN2] and[VPN2]).[VPN3]). This draft specifies mechanisms and TLVs for support of CRLSPs using LDP. The Explicit Route object and procedures are extracted from [ER]. Table of Contents 1. IntroductionThe need for constraint-based routing (CR) in MPLS has been explored elsewhere [ARCH], [FRAME],......................................... 3 2. Constraint-based Routing Overview .................... 3 2.1 Strict and[TER].Loose Explicitrouting is a subset of the more general constraint-based routing function. At the MPLS WG meeting held during the Washington IETF there was consensus that LDP should support explicit routing of LSPs with provision for indication of associated (forwarding) priority. In the Chicago meeting, the decision was made that support for explicit path setup in LDP will be moved to a separate document. This document provides that support. We propose an end-to-end setup mechanism of a constraint-based routed LSP (CRLSP) initiated by the ingress LSR. We also specify mechanisms to provide means for reservation of resources for the explicitly routed LSP. We introduce TLVsRoutes ..................... 4 2.2 Traffic Characteristics .............................. 4 2.3 Pre-emption .......................................... 5 2.4 Route Pinning ........................................ 5 2.5 Resource Class ....................................... 5 3. Solution Overview .................................... 5 3.1 Required Messages andprocedures that provide support for:TLVs ........................... 7 3.2 Label Request Message ................................ 7 3.3 Label Mapping Message ................................ 8 3.4 Notification Message ................................. 9 3.5 Release & Withdraw Messages .......................... 9 4. Protocol Specification .............................. 9 4.1 Explicit Route TLV (ER-TLV) ......................... 10 4.2 Explicit Route Hop TLV .............................. 10 4.3 Traffic Parameters TLV .............................. 12 4.3.1 Semantics ........................................... 13 4.3.1.1 Frequency ........................................... 13 4.3.1.2 Peak Rate ........................................... 14 4.3.1.3 Committed Rate ...................................... 14 4.3.1.4 Excess Burst Size .................................... 14 4.3.1.5 Peak Rate Token Bucket................................ 14 4.3.1.6 Committed Data Rate Token Bucket ..................... 15 4.3.1.7 Weight ......................... ..................... 16 4.3.2 Procedures ........................................... 16 4.3.2.1 Label Request Message ................................ 16 4.3.2.2 Label Mapping Message ................................ 16 4.3.2.3 Notification Message ................................. 17 4.4 Preemption TLV ....................................... 18 4.5 LSPID TLV ........................................... 18 4.6 Resource Class TLV .................................. 19 4.7 ER-Hop Semantics ..................................... 19 4.7.1 ER-Hop 1 TLV IPv4 Prefix ............................. 20 4.7.2 ER-Hop 2 TLV IPv6 Prefix ............................. 20 4.7.3 ER-Hop 3 TLV AS Number ............................... 21 4.7.4 ER-Hop 4 TLV LSPID ................................... 21 4.8 Processing of the ER-TLV ............................. 22 4.8.1 Selection of the next hop ............................ 22 4.8.2 Adding the Label Request Message to the next hop ..... 24 4.9 Route Pinning TLV ................................... 24 4.10 CR-LSP FEC Element ................................... 24 4.11 Error Subcodes ...................................... 25 Jamoussi, et. al.January 26,February 25, 1999 [Page 2] CR-LDP Specification - 3 - Exp.AprAugust 1999-5. Security Considerations .............................. 26 6. Acknowledgement ...................................... 26 7. References ........................................... 26 8. Author Information ................................... 28 Appendix A CRLSP Establishment Examples ......................... 30 A.1 Strictand LooseExplicitRouting - Specification of Service Class - Specification of Traffic Parameters -RoutePinning - CRLSP bumping though setup/holding priority - Handling Failures 2. CRLSP Overview CRLSP over LDP Specification is designed with several goals in mind: 1. Meet the requirements outlined in [TER] for performing traffic engineeringExample ........................ 30 A.2 Node Groups andprovide a solid foundation for performing more general constrain-based routing. 2. Build on already specified functionality that meets the requirements whenever possible. Hence, this specifications is based on [LDP] and the Explicit Route object and procedures definedSpecific Nodes Example ............... 31 Appendix B QoS Service Examples ................................. 34 B.1 Service Examples ..................................... 34 B.2 Establishing CR-LSP Supporting Real-Time Applications. 35 B.3 Establishing CR-LSP Delay Insensitive Applications ... 36 1. Introduction The need for constraint-based routing (CR) in[ER]. 3. Keep the solution simpleMPLS has been explored elsewhere [ARCH], [FRAME], andtractable. In this document, support for unidirectional point-to-point CRLSPs is specified. Support for point-to-multipoint, multipoint-to-point,[TER]. Explicit routing isfor further study (FFS). Support for explicitly routed LSPs in this specification depends ona subset of thefollowing minimal LDP behaviors as specified in [LDP]: - Basic and/or Extended Discovery Mechanisms. - Usemore general constraint-based routing function. At theLabel Request Message defined in [LDP] in downstream on demand label advertisement mode with ordered control. - UseMPLS WG meeting held during theLabel Mapping Message defined in [LDP] in downstream on demand modeWashington IETF there was consensus that LDP should support explicit routing of LSPs withordered control. - Useprovision for indication of associated (forwarding) priority. In theNotification Message definedChicago meeting, a decision was made that support for explicit path setup in[LDP]. - Use the WithdrawLDP will be moved to a separate document. This document provides that support andRelease Messages definedit has been accepted as a working document in[LDP]. - Loop detection (inthecase of loosely routed segmentsOrlando meeting. This specification proposes an end-to-end setup mechanism of aCRLSP) mechanisms. In addition,constraint-based routed LSP (CRLSP) initiated by thefollowing functionality is addedingress LSR. We also specify mechanisms towhat's defined in [LDP]: - The Label Request Messageprovide means for reservation of resources using LDP. This document introduce TLVs and procedures that provide support for: - Strict and Loose Explicit Routing - Specification of Traffic Parameters - Route Pinning - CRLSP Pre-emption though setup/holding priorities - Handling Failures - LSPID - Resource Class Section 2 introduces the various constraints defined in this specification. Section 3 outlines the CR-LDP solution. Section 4 defines the TLVs and procedures used to setup constraint-based routed label switched paths. Appendix A provides several examples of CR-LSP path setup. Appendix B provides Service Definition Examples. 2. Constraint-based Routing Overview Constraint-based routing is aCRLSP includes a CR- TLV based onmechanism that supports thepath vectorTraffic Engineering requirements defined in[ER] and specified in Section 4[TER]. Explicit Routing is a subset ofthis document.the more general constraint-based routing where the Jamoussi, et. al.January 26,February 25, 1999 [Page 3] CR-LDP Specification - 4 - Exp.AprAugust 1999- An LSR implicitly infers ordered control fromconstraint is theexistence ofexplicit route (ER). Other constraints are defined to provide aCR-TLV innetwork operator with control over theLabel Request Message.path taken by an LSP. Thismeans that the LSR can still be configured for independent control for LSPs established as a resultsection is an overview ofdynamic routing. However, when a Label Request Message includesthe various constraints supported by this specification. 2.1 Strict and Loose Explicit Routes Like any other LSP an CRLSP is aCR TLV, then ordered controlpath through an MPLS network. The difference isused tothat while other paths are setup solely based on information in routing tables or from a management system, theCRLSP. Note that thisconstraint-based route isalso true forcalculated at one point at theloosely routed partsedge ofa CRLSP. - Traffic Parameters TLVs may optionally be carried in the Label Request Messagenetwork based on criteria, including but not limited tospecify the CRLSP traffic characteristics. - New status codes are definedrouting information. The intention is that this functionality shall give desired special characteristics tohandle error notification for failure of established paths specified intheCR-TLV. Examples of CRLSP establishment are givenLSP inAppendix Aorder toillustrate howbetter support themechanisms described in this draft work. 3. Required Messages and TLVs Any Messages, TLVs, and procedures not defined explicitly in this document are defined intraffic sent over the[LDP] Specification.LSP. Thefollowing subsections are meant as a cross referencereason for setting up CRLSPs, might be that one wants to assign certain bandwidth or other Service Class characteristics to the[LDP] document and indication of additional functionality beyond what's definedLSP, or that one wants to make sure that alternative routes use physically separate paths through the network. An explicit route is represented in[LDP] where necessary. 3.1 Label Request Message Thea Label Request Messageisasdefined in 3.5.8a list of[LDP] withnodes or groups of nodes along thefollowing modifications (required only ifconstraint-based route. When theCR-TLVCRLSP isincluded inestablished, all or a subset of theLabel Request Message): - Onlynodes in asingle FEC-TLVgroup may beincluded in the Label Request Message. - The Optional Parameters TLV includestraversed by thedefinition ofLSP. Certain operations to be performed along theConstraint-based TLV specifiedpath can also be encoded inSection 4 andtheTraffic Parameters TLV specified in Section 5. -constraint-based route. TheProcedurescapability tohandle the Label Request are augmentedspecify, in addition to specified nodes, groups of nodes, of which a subset will be traversed by theproceduresCRLSP, allows the system a significant amount of local flexibility in fulfilling a request forprocessinga constraint-based route. This allows the generator of theCR-TLV as defined in Section 4. - The Proceduresconstraint-based route tohandle Service Classes are defined in Section 5. 3.2 Label Mapping Messagehave some degree of imperfect information about the details of the path. TheLabel Mapping Messageconstraint-based route is encoded asdefineda series of ER-Hops contained in3.5.7a constraint-based route TLV. Each ER-Hop may identify a group of[LDP]nodes in the constraint-based route. A constraint-based route is then a path including all of the identified groups of nodes. To simplify the discussion, we call each group of nodes an abstract node. Thus, we can also say that a constraint-based route is a path including all of the abstract nodes, with thefollowing modifications: - Onlyspecified operations occurring along that path. 2.2 Traffic Characteristics The traffic characteristics of asingle Label-TLV may be includedpath are described in theLabel Mapping Message.Traffic Parameters TLV in terms of a peak rate, committed rate, and service granularity. The peak and committed rates describe the bandwidth constraints of a path while the service granularity can be used to specify a constraint on the delay variation that the CRLDP MPLS domain may introduce to a path's traffic. Jamoussi, et. al.January 26,February 25, 1999 [Page 4] CR-LDP Specification - 5 - Exp.AprAugust 1999- The FEC-Label Mapping TLV does not include any of2.3 Pre-emption CR-LDP signals theoptional TLVs. - The Label Mapping Message Procedures are limited to downstreamresources required by a path ondemand ordered control modeeach hop ofmapping. A Mapping message is transmitted bythe route. If adownstream LSRroute with sufficient resources can not be found, existing paths may be rerouted to reallocate resources toan upstream LSR under one ofthefollowing conditions: 1. The LSRnew path. This is theegress endprocess ofthe CRLSPpath pre-emption. Setup and holding priorities are used to rank existing paths (holding priority) and the new path (setup priority) to determine if the new path can pre-empt anupstream mapping has been requested. 2.existing path. TheLSR receivedsetupPriority of amapping from its downstream next hop LSR for annew CRLSPfor which an upstream request is still pending. 3.3. Notification Message The Notification message is as defined in Section 3.5.1 of [LDP]and theStatus TLV encoding is as defined in Section 3.4.7 of [LDP]. Establishment of an Explicitly Routed LSP may fail for a varietyholdingPriority attributes ofreasons. All such failures are considered advisory conditions and they are signaled bytheNotification Message. Notification messages carry Status TLVs to specify events being signaled. New status codesexisting CRLSP aredefined in Section 4.8.3used tosignal error notifications associated with the establishment ofspecify priorities. Signaling aCRLSP andhigher holding priority expresses that theprocessingpath, once it has been established, should have a lower chance of being pre-empted. Signaling a higher setup priority expresses theCR-TLV. 4. Constraint-based Routing TLV Label Request Messages definedexpectation that, in[LDP] optionally carrytheConstraint-based Routing TLV (CR-TLV) based oncase that resource are unavailable, the pathvector defined in [ER] and described in this sectionis more likely to pre-empt other paths. The exact rules determining bumping are an aspect ofthe specification.network policy. Theinclusionallocation ofthe CR TLV in the Label Request Message indicates the pathsetup and holding priority values tobe taken in thepaths is an aspect of networkeven if normal routing indicates otherwise.policy. Theformat of the CR-TLV is described below. 4.1 CR-TLVsetup and holding priority values range from zero (0) to seven (7). TheCR-TLVvalue zero (0) isan object that specifiesthepathpriority assigned tobe taken by the LSP being established. In addition, the CR-TLV may also includethe most important path. It is referred to as theService Class (SC) constraints associated withhighest priority. Seven (7) is theLSP, a setup and a holdingpriorityusedforpath bumping, andthe least important path. The use of default priority values is an aspect of network policy. The setupPriority of a CRLSP should not be higher (numerically less) than its holdingPriority since it might bump an LSP and be bumped by next "equivalent" request. 2.4 Route Pinning Route pinningrequest flag. Reserved bits in the CR-TLV allow for the specificationis applicable to segments ofotheran LSPattributes inthat are loosely routed - i.e. those segments which are specified with a next hop with thefuture. If'L' bit set or where thereserved bits are exhausted, additional TLVsnext hop is an "abstract node". A CRLSP may bespecifiedsetup using route pinning if it is undesirable toallow forchange theindication of otherpath used by an LSPattributes duringbecause a better next hop becomes available at some LSR along the loosely routed portion of the LSP. 2.5 Resource Class Network resources may be classified in various ways by the network operator. These classes are also known as "colors" or "administrative groups". When an CR-LSP is being established, it's necessary to indicate which resource classes the CR-LSP can draw from. 3. Solution Overview CRLSPsetup.over LDP Specification is designed with the following goals: Jamoussi, et. al.January 26,February 25, 1999 [Page 5] CR-LDP Specification - 6 - Exp.AprAugust 19990 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| CR-TLV (0x0800) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Reserved | Reserved | SC |P| Hp | Sp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ER-Hop TLV 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ER-Hop TLV 2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ~ ............ ~ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ER-Hop TLV n | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. Upon receipt of an unknown TLV, if clear (=0), a notification must be returned to1. Meet themessage originatorrequirements outlined in [TER] for performing traffic engineering and provide a solid foundation for performing more general constraint-based routing. 2. Build on already specified functionality that meets theentire message must be ignored; if set (=1), the unknown TLVrequirements whenever possible. Hence, this specifications issilently ignoredbased on [LDP] and therest of the message is processed as if the unknown TLV did not exist. F bit Forward unknown TLV bit. This bit only applies when the U bit is setExplicit Route object and procedures defined in [ER]. 3. Keep theLDP message containing the unknown TLVsolution simple. In this document, support for unidirectional point-to-point CRLSPs isto be forwarded. If clear (=0), the unknown TLVspecified. Support for point-to-multipoint, multipoint-to-point, isnot forwarded withfor further study (FFS). Support for constraint-based routed LSPs in this specification depends on thecontaining message; if set (=1),following minimal LDP behaviors as specified in [LDP]: - Basic and/or Extended Discovery Mechanisms. - Use theunknown TLV is forwardedLabel Request Message defined in [LDP] in downstream on demand label advertisement mode with ordered control. - Use thecontaining message. Type A two byte field carryingLabel Mapping Message defined in [LDP] in downstream on demand mode with ordered control. - Use thevalueNotification Message defined in [LDP]. - Use the Withdraw and Release Messages defined in [LDP]. - Use the Loop Detection (in the case of loosely routed segments of a CRLSP) mechanisms defined in [LDP]. In addition, theCR-TLV type whichfollowing functionality is0x800. Length Specifiesadded to what's defined in [LDP]: - The Label Request Message used to setup a CRLSP includes one or more CR-TLVs defined in Section 4. For instance, thelength ofLabel Request Message may include thevalue fieldER-TLV. - An LSR implicitly infers ordered control from the existence of one or more CR-TLVs inbytes. Reservedthe Label Request Message. Thisfield is reserved. It mustmeans that the LSR can still besetconfigured for independent control for LSPs established as a result of dynamic routing. However, when a Label Request Message includes one or more of the CR-TLVs, then ordered control is used tozero on transmission and must be ignored on receipt. We expectsetup the CRLSP. Note that this is also true for the loosely routed parts of a CRLSP. - New status codes are defined touse these fieldshandle error notification forcarrying information that support other constrain-based routing information. P bitfailure of established paths specified in the CR-TLV. Jamoussi, et. al.January 26,February 25, 1999 [Page 6] CR-LDP Specification - 7 - Exp.AprAugust 1999When set indicates that the loosely routed segments must remain pinned-down.Examples of CRLSPmust be rerouted only when adjacency is lost along the segment. When not set, it indicates that the loose segment is not pinned down and must be changedestablishment are given in Appendix A tomatchillustrate how theunderlying hop- by-hop path. SC The SC Field is used to specify the Service Class of the CRLSP. This field allows for the definition of up to 8 different Service Classes. Currently, Three Service Classes are defined: Best Effort (0), Throughput Sensitive (1),mechanisms described in this draft work. 3.1 Required Messages andDelay Sensitive (2) Service Classes. These SCsTLVs Any Messages, TLVs, and procedures not defined explicitly in this document arefurtherdefined inSection 5. Sp A SetupPriority of value zero (0) isthepriority assigned[LDP] Specification. The state transitions which relate to CR-LDP messages can be found in [LDP- STATE]. The following subsections are meant as a cross reference to themost important path. It[LDP] document and indication of additional functionality beyond what's defined in [LDP] where necessary. 3.2 Label Request Message The Label Request Message isreferred toas defined in 3.5.8 of [LDP] with thehighest priority. Four (4)following modifications (required only if any of the CR-TLVs is included in thepriority forLabel Request Message): - Only a single FEC-TLV may be included in theleast important path.Label Request Message. Thehigher the setup priority, the more paths CR-LDP can bump to set up the path.CR-LSP FEC TLV should be used. - Thedefault value is 2. Values 5, 6, and 7 are reserved. Hp A HoldingPriority of value zero (0)Return Message ID TLV is MANDATORY. - The Optional Parameters TLV includes thepriority assigned todefinition of any of themost important path. It is referredConstraint-based TLVs specified in Section 4. - The Procedures toashandle thehighest priority. Four (4) isLabel Request Message are augmented by thepriorityprocedures for processing of theleast important path.CR-TLVs as defined in Section 4. Thehigher the holding priority, the less likely it isencoding for the CR-LDPto reallocate its bandwidth to a new path. The default value is 2. Values 5, 6, and 7 are reserved. 4.1.1 Setup and holding priorities CR-LDP signals the resources required by a path on each hop of the route. If a route with sufficient resources can not be found, existing paths may be rerouted to reallocate resources to the new path. This is the process of bumping paths. Setup and holding priorities are used to rank existing paths (holding priority) and the new path (setup priority) to determine if the new path can bump an existing path. The setupPriority of a new CRLSP and the holdingPriority attributes of the existing CRLSP are used to specify these priorities. The higher the holding priority, the less likely it is for CR-LDP to reallocate its bandwidth to a new path. Similarly, the higher the setup priority, the more paths CR-LDP can bump to set up the path. The setup and holding priority values range from zero (0) to four (4). The value zero (0) is the priority assigned to the most important path. ItLabel Request Message isreferred toasthe highest priority. Four (4) is the priority for the least important path. The default values forfollows: Jamoussi, et. al.January 26,February 25, 1999 [Page 7] CR-LDP Specification - 8 - Exp.AprAugust 1999both setup and holding priority should be 2. By setting the default value of both setup and holding priorities at the middle of the range, all connections are initially treated the same. However, when network operators see a need for the use of path bumping, the values of setup and holding priorities can be gracefully adjusted up or down from the middle of the range. An existing path can be bumped if and only if the setupPriority of the new path is numerically less than the holdingPriority of the existing path. To illustrate the use of the setup and holding priority, consider a network which supports two service types (e.g., video and data services). The video traffic is given a low setup priority because new video paths can use an alternate public network if the primary network cannot accommodate the new path. However, the video traffic is given a high holding priority since it is undesirable for the path to be rerouted during an active LSP. For data traffic, high setup and holding priorities are desirable since data paths cannot be established on an alternate network. The setup and holding priorities can be different to allow setup at one priority and holding at an independent priority. This would allow some calls not to invoke bumping and not to be bumped at the same time. The setupPriority of a CRLSP should not be higher (numerically less) than its holdingPriority since it might bump an LSP and be bumped by next "equivalent" request. Bumping by default only happens as a last resort when there are no routes available for a given path. During the instantiation of a path that must bump other paths, lower holding priority paths are bumped before higher priority paths. The decision as to which of the available paths are bumped at each intermediate node by the new path is arbitrary. 4.2 ER-Hop TLV The contents of a constraint-based route TLV are a series of variable length ER-Hop TLVs. Each ER-Hop TLV has the form:0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--------//--------------+ |L| Type6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U| Label Request (0x0401) | Message Length |Contents+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--------//--------------+ L Jamoussi, et. al. January 26, 1999 [Page 8] CR-LDP Specification - 9 - Exp. Apr 1999Message ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FEC TLV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Return Message ID TLV (mandatory) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LSPID TLV (CR-LDP, mandatory) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ER-TLV (CR-LDP, optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Traffic TLV (CR-LDP, optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Pinning TLV (CR-LDP, optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Resource Class TLV (CR-LDP, optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Pre-emption TLV (CR-LDP, optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 3.3 Label Mapping Message TheL bitLabel Mapping Message isan attributeas defined in 3.5.7 of [LDP] with theER-Hop. The L bit is set if the ER-Hop representsfollowing modifications: - Only aloose hopsingle Label-TLV may be included in theexplicit route. If the bitLabel Mapping Message. - The Label Mapping Message MUST include Label Request Message ID TLV. - The Label Mapping Message MUST include LSPID TLV. - The Label Mapping Message Procedures are limited to downstream on demand ordered control mode. A Mapping message isnot set, the ER-Hop representstransmitted by astrict hop in the explicit route. Type A seven-bit field indicating the type of contentsdownstream LSR to an upstream LSR under one of theER-Hop. Currently defined values are: Value Type ----- ------------------------ 0 Reserved 1 IPv4 prefix 2 IPv6 prefix 32 Autonomous system number Lengthfollowing conditions: 1. TheLength field containsLSR is thetotal lengthegress end of theER-Hop in bytes. It includes the L bit, TypeCRLSP andLength fields.an upstream mapping has been requested. 2. Thelength must always beLSR received amultiple of 4, and at least 4. Contents A variable length field containing the node or abstract node thatmapping from its downstream next hop LSR for an CRLSP for which an upstream request is still pending. The encoding for theconsecutive nodes that make up the explicit routed LSP. 4.3 ApplicabilityCR-LDP Label Mapping Message is as follows: Jamoussi, et. al. February 25, 1999 [Page 8] CR-LDP Specification - 9 - Exp. August 1999 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U| Label Mapping (0x0400) | Message Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Message ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FEC TLV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label TLV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label Request Message ID TLV (mandatory) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LSPID TLV (CR-LDP, mandatory) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Traffic TLV (CR-LDP, optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 3.4 Notification Message TheCR-TLVNotification Message is as defined inthis versionSection 3.5.1 of [LDP] and thespecificationStatus TLV encoding isintended for unicast only. CRLSPs for multicast are FFS. 4.4 Semanticsas defined in Section 3.4.7 of [LDP]. Establishment ofthe CR-TLV Like any other LSPanCRLSP is a path throughExplicitly Routed LSP may fail for anetwork. The difference is that while other pathsvariety of reasons. All such failures aresetup solely based on information in routing tables or from a management system, the constraint-based route is calculated at one point atconsidered advisory conditions and they are signaled by theedge of network based on criteria, including but not limited to routing information. The intention is that this functionality shall give desired special characteristicsNotification Message. Notification Messages carry Status TLVs tothe LSPspecify events being signaled. New status codes are defined inorderSection 4.11 tobetter supportsignal error notifications associated with thetraffic sent overestablishment of a CRLSP and theLSP.processing of the CR-TLV. Thereason for setting up CRLSPs, might be that one wants to assign certain bandwidth or other Service Class characteristics toNotification Message must carry theLSP, or that one wants to make sure that alternative routes use physically separate paths throughLSPID TLV of thenetwork. A CRLSP is representedcorresponding CRLSP. 3.5 Release and Withdraw Messages The Label Release and Label Withdraw Messages are used as specified ina[LDP] to clear CR-LSPs. These message may also carry the LSPID TLV. 4. Protocol Specification The Label RequestMessage as a list of nodesMessages defined in [LDP] optionally carries one orgroupsmore ofnodes alongtheconstraint-based route. Whenoptional Constraint-based Routing TLVs (CR-TLVs) defined in this section. If needed, other constraints can be supported later through theCRLSP is established, all or a subsetdefinition of new TLVs. In this specification, thenodes in a group may befollowing TLVs are defined: - Explicit Route TLV Jamoussi, et. al.January 26,February 25, 1999 [Page 9] CR-LDP Specification - 10 - Exp.AprAugust 1999traversed by the LSP. Certain operations to be performed along- Explicit Route Hop TLV - Traffic Parameters TLV - Preemption TLV - LSPID TLV - Route Pinning TLV - Resource Class TLV - CRLSP FEC TLV 4.1 Explicit Route TLV (ER-TLV) The ER-TLV is an object that specifies the pathcan also be encoded in the constraint-based route. The capability to specify, in additiontospecified nodes, groups of nodes, of which a subset willbetraversedtaken by theCRLSP, allows the system a significant amountLSP being established. It is composed oflocal flexibilityone or more Explicit Route Hop TLVs (ER-Hop TLVs) defined infulfilling a request for a constraint-based route. This allows the generator of the constraint-based route to have some degree of imperfect information about the details of the path. The constraint-based route is encoded as a series of ER-Hops contained in a constraint-based route TLV. EachSection 4.2. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| ER-TLV (0x0800) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ER-Hopmay identify a group of nodes in the constraint-based route. A constraint-based route is then a path including all of the identified groups of nodes. To simplify the discussion, we call each group of nodes an abstract node. Thus, we can also say that a constraint-based route is a path including all of the abstract nodes, with the specified operations occurring along that path. 4.5 Strict and Loose ER-Hops The LTLV 1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ER-Hop TLV 2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ~ ............ ~ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ER-Hop TLV n | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined inthe ER-Hop is a one-bit attribute. If the L[LDP]. F bitis set, thenForward unknown TLV bit. As defined in [LDP]. Type A two byte field carrying the value of theattributeER-TLV type which is"loose." Otherwise,0x800. Length Specifies thevaluelength of theattribute is "strict." For brevity, we say that if thevalueof thefield in bytes. ER-Hopattribute is loose then it is a "loose ER-Hop." Otherwise, it's a "strict ER-Hop." Further, we say that the abstract node of a strictTLVs One orloosemore ER-Hopis a strict or a loose node, respectively. Loose and strict nodes are always interpreted relative to their prior abstract nodes. The path between a strict node and its prior node MUST include only network nodes from the strict node and its prior abstract node. The path between a loose node and its prior node MAY include other network nodes which are not part of the strict node or its prior abstract node. 4.6 Loops While the constraint-based route TLV is of finite length, the existence of loose nodes implies that it is possible to construct forwarding loops during transients in the underlying routing protocol. This may be detected by the originator of the constraint- based route through the use a path vector object asTLVs defined in[LDP]. 4.7 ER-Hop semantics 4.7.1. ER-Hop 1: The IPv4 prefixSection 4.2. 4.2 Explicit Route Hop TLV (ER-Hop TLV) The contents of anIPv4 prefix ER-HopER-TLV are a4 byte IPv4 address, 1series of variable length ER-Hop TLVs. Each ER-Hop TLV has the form: Jamoussi, et. al.January 26,February 25, 1999 [Page 10] CR-LDP Specification - 11 - Exp.AprAugust 1999byte of prefix length, and 1 byte of padding. The abstract node represented by this ER-Hop is the set of nodes which have an IP address which lies within this prefix. Note that a prefix length of 32 indicates a single IPv4 node. The length of the IPv4 prefix ER-Hop is 8 bytes. The contents of the 1 byte of padding must be zero on transmission and must not be checked on receipt.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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|L| Type|U|F| ER-Hop-Type | Length |IPv4 Address (4 bytes) |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |L| Content // |IPv4 Address (Continued) | Prefix |0 0 0 0 0 0 0 0|+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. ER-Hop TypeIPv4 Address 0x01 LengthAone bytefourteen-bit field indicating thetotaltype of contents of the ER-Hop. Currently defined values are: Value Type ----- ------------------------ 0x801 IPv4 prefix 0x802 IPv6 prefix 0x803 Autonomous system number 0x804 LSPID Length Specifies the length of theTLVvalue field in bytes.It includesL bit The L bit is an attribute of the ER-Hop. The L bit is set if theL-bit,ER-Hop represents a loose hop in theType, Length,explicit route. If theIP Address, andbit is not set, thePrefix fields.ER-Hop represents a strict hop in the explicit route. ThelengthL bit in the ER-Hop isalways 8 bytes. IP Address A four byte field indicatinga one-bit attribute. If the L bit is set, then the value of the attribute is "loose." Otherwise, the value of the attribute is "strict." For brevity, we say that if the value of theIP Address. Prefix Length 1-32 Padding Zero on transmission. Ignored on receipt. 4.7.2.ER-Hop2:attribute is loose then it is a "loose ER-Hop." Otherwise, it's a "strict ER-Hop." Further, we say that the abstract node of a strict or loose ER-Hop is a strict or a loose node, respectively. Loose and strict nodes are always interpreted relative to their prior abstract nodes. TheIPv6 addresspath between a strict node and its prior node MUST include only network nodes from the strict node and its prior abstract node. The path between a loose node and its prior node MAY include other network nodes which are not part of the strict node or its prior abstract node. Jamoussi, et. al.January 26,February 25, 1999 [Page 11] CR-LDP Specification - 12 - Exp.AprAugust 19990 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |L| Type | Length | IPV6 address (16 bytes) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address (continued) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address (continued) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address (continued) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address (continued) | Prefix |0 0 0 0 0 0 0 0| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type 0x02 IPv6 address Length The Length contains the totalContents A variable lengthof the ER-Hop TLV in bytes, includingfield containing theType and Length fields. The Lengthnode or abstract node that isalways 20. IPv6 address A 128-bit unicast host address. Prefix Length 1-128 Padding Zero on transmission. Ignored on receipt. 4.7.3. ER-Hop 32:the consecutive nodes that make up the explicit routed LSP. 4.3 Traffic Parameters TLV Theautonomous system numberfollowing sections describe the CRLSP Traffic Parameters. Thecontentsrequired characteristics ofan autonomous system (AS) number ER-Hop area2 byte autonomous system number. The abstract node representedCRLSP are expressed bythis ER- Hop istheset of nodes belongingTraffic Parameter values. A Traffic Parameters TLV, is used to signal theautonomous system.Traffic Parameter values. Thelength ofTraffic Parameters are defined in theAS number ER-Hopsubsequent sections. The Traffic Parameters TLV contains a Flags field, a Frequency, a Weight, and the five Traffic Parameters PDR, PBS, CDR, CBS, EBS. The Traffic Parameters TLV is4 bytes.shown 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|L| Type ||U|F| Traf. Param. TLV (0x0810)| Length |Autonomous System number+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Flags | Frequency | Reserved | Weight | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+Type Jamoussi, et. al. January 26, 1999 [Page 12] CR-LDP Specification - 13 - Exp. Apr 1999 AS Number 0x20 Length A one byte field indicating the total length of the TLV in bytes. It includes the L-bit, the Type, and Length, and the AS number fields. The length is always 4 bytes. AS number| Peak Data Rate (PDR) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peak Burst Size (PBS) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Committed Data Rate (CDR) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Committed Burst Size (CBS) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Excess Burst Size (EBS) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type Atwo bytefourteen-bit fieldindicating the AS number. 4.8. Processing ofcarrying theConstraint-Based Route TLV 4.8.1. Selectionvalue of thenext hop A Label Request message containing a constraint-based route TLV must determine the next hop for this path. Selection of this next hop may involve a selection from a set of possible alternatives. The mechanism for making a selection from this set is implementation dependent andER-TLV type which isoutside of0x810. Length Specifies thescope of this specification. Selection of particular paths is also outsidelength of thescope of this specification, but itvalue field in bytes. Flags The Flags field isassumed that each node will make a best effort attemptshown below: Jamoussi, et. al. February 25, 1999 [Page 12] CR-LDP Specification - 13 - Exp. August 1999 +--+--+--+--+--+--+--+--+ | Res |F6|F5|F4|F3|F2|F1| +--+--+--+--+--+--+--+--+ Res - These bits are reserved. Zero on transmission. Ignored on receipt. F1 - Corresponds todetermine a loop-free path. Note that such best efforts may be overridden by local policy. To determinethenext hop forPDR. F2 - Corresponds to thepath, a node performsPBS. F3 - Corresponds to thefollowing steps: 1) The node receivingCDR. F4 - Corresponds to theLabel Request message must first evaluateCBS. F5 - Corresponds to thefirst ER-Hop. IfEBS. F6 - Corresponds to theL bitWeight. Each flag Fi isnot set in the first ER-Hopa Negotiable Flag corresponding to a Traffic Parameter. The Negotiable Flag value zero denotes NotNegotiable andif the node is not part of the abstract node described by the first ER-Hop, it has received the message in error, and should return a "Bad initial ER-Hop" error. Ifvalue one denotes Negotiable. Frequency The Frequency field is coded as an 8 bit unsigned integer with theLfollowing code points defined: 0 - Unspecified 1 - Frequent 2 - VeryFrequest 3-255 - Reserved Reserved Zero on transmission. Ignored on receipt. Weight An 8 bitis set andunsigned integer indicating thelocal node is not partweight of theabstract node described by the first ER-Hop, the node selects a next hopCRLSP. Valid weight values are from 1 to 255. The value 0 means that weight isalong the path to the abstract node described bynot applicable for thefirst ER-Hop. If thereCRLSP. Traffic Parameters Each Traffic Parameter isno first ER-Hop, the messageencoded as a 32 bit IEEE single- precision floating point number. A value of positive infinity isalso in errorrepresented as an IEEE single-precision floating-point number with an exponent of all ones (255) andthe system should returna"Bad Constraint-Based Routing TLV" error. 2) If there is no second ER-Hop, this indicates the endsign and mantissa ofthe constraint-based route.all zeros. Theconstraint-based route TLV shouldvalues PDR and CDR are in units of bytes per second. The values PBS, CBS and EBS are in units of bytes. The value of PDR MUST beremoved from the Label Request message. This node maygreater than ormay not beequal to theendvalue ofthe LSP. Processing continues with section 4.8.2, whereCDR in anew constraint-based route TLV may be added tocorrectly encoded Traffic Parameters TLV. 4.3.1 Semantics 4.3.1.1 Frequency Jamoussi, et. al. February 25, 1999 [Page 13] CR-LDP Specification - 14 - Exp. August 1999 The Frequency specifies at what granularity theLabel Request message. 3) IfCDR allocated to thenodeCRLSP isalso a part ofmade available. The value VeryFrequently means that theabstract node described byavailable rate should average at least thesecond ER-Hop, thenCDR when measured over any time interval equal to or longer than thenode deletesshortest packet time at thefirst ER-Hop and continues processing with step 2, above. NoteCDR. The value Frequently means thatthis makesthesecond ER-Hop intoavailable rate should average at least thefirst ER-HopCDR when measured over any time interval equal to or longer than a small number of shortest packet times at thenext iteration. Jamoussi, et. al. January 26, 1999 [Page 13] CR-LDP Specification - 14 - Exp. Apr 1999 4)CDR. Thenode determines if it is topologically adjacent to the abstract node described byvalue Unspecified means that thesecond ER-Hop. If so,CDR MAY be provided at any granularity. 4.3.1.2 Peak Rate The Peak Rate defines thenode selects a particular next hopmaximum rate at which traffic SHOULD be sent to the CRLSP. The Peak Rate isa memberuseful for the purpose of resource allocation. If resource allocation within theabstract node. The node then deletesMPLS domain depends on thefirst ER-Hop and continues processing with section 4.8.2. 5) Next,Peak Rate value then it should be enforced at thenode selects a next hop withiningress to theabstract nodeMPLS domain. The Peak Rate is defined in terms of thefirst ER-Hoptwo Traffic Parameters PDR and PBS, see section 4.3.1.5 below. 4.3.1.3 Committed Rate The Committed Rate defines the rate thatis alongthepathMPLS domain commits to be available to theabstract nodeCRLSP. The Committed Rate is defined in terms of thesecond ER-Hop. If no such path exists then there aretwocases: 5a) If the second ER-Hop is a strict ER-Hop, then there is an errorTraffic Parameters CDR and CBS, see section 4.3.1.6 below. 4.3.1.4 Excess Burst Size The Excess Burst Size may be used at thenode should return a "Bad strict node" error. 5b) Otherwise, if the second ER-Hop is a loose ER-Hop, then the node selects any next hop that is alongedge of an MPLS domain for thepathpurpose of traffic conditioning. The EBS MAY be used to measure thenext abstract node. If no path exists, then there is an error, andextent by which thenode should returntraffic sent on a"Bad loose node" error. 6) Finally,CRLSP exceeds thenode replacescommitted rate. The possible traffic conditioning actions, such as passing, marking or dropping, are specific to thefirst ER-HopMPLS domain. The Excess Burst Size is defined together withany ER-Hop that denotes an abstract node containingthenext hop. ThisCommitted Rate, see section 4.3.1.6 below. 4.3.1.5 Peak Rate Token Bucket The Peak Rate of a CRLSP isnecessary so that whenspecified in terms of a token bucket P with token rate PDR and maximum token bucket size PBS. The token bucket P is initially (at time 0) full, i.e., the token count Tp(0) = PBS. Thereafter, theconstraint-based routetoken count Tp, if less than PBS, isreceivedincremented bythe next hop, it will be accepted. 7) Progress the Label Request Message to the next hop. 4.8.2. Adding ER-Hops to the constraint-based route TLV After selectingone PDR times per second. When anext hop, the node may alter the constraint-based route inpacket of size B bytes arrives at time t, the followingways. If, as part of executinghappens: Jamoussi, et. al. February 25, 1999 [Page 14] CR-LDP Specification - 15 - Exp. August 1999 o If Tp(t)-B >= 0, thealgorithmpacket is not insection 4.8.1,excess of theconstraint-based route TLVpeak rate and Tp isremoved,decremented by B down to thenode may add a new constraint-based route TLV. Otherwise, ifminimum value of 0, else o thenodepacket isa memberin excess of theabstract node for the first ER-Hop, thenpeak rate and Tp is not decremented. Note that according to the above definition, aseriespositive infinite value ofER-Hops mayeither PDR or PBS implies that arriving packets are never in excess of the peak rate. The actual implementation of a LSR doesn't need to beinserted beforemodeled according to thefirst ER-Hop or may replaceabove formal token bucket specification. 4.3.1.6 Committed Data Rate Token Bucket The committed rate of a CRLSP is specified in terms of a token bucket C with rate CDR. The extent by which thefirst ER-Hop. Each ER-Hopoffered rate exceeds the committed rate MAY be measured inthis series must denote an abstract node thatterms of another token bucket E, which also operates at rate CDR. The maximum size of the token bucket C is CBS and the maximum size of the token bucket E is EBS. The token buckets C and E are initially (at time 0) full, i.e., the token count Tc(0) = CBS and the token count Te(0) = EBS. Thereafter, the token counts Tc and Te are updated CDR times per second as follows: o If Tc is less than CBS, Tc is incremented by one, else o if Te is less then EBS, Te is incremented by one, else o neither Tc nor Te is incremented. When asubsetpacket of size B bytes arrives at time t, thecurrent abstract node. Alternately,following happens: o If Tc(t)-B >= 0, the packet is not in excess of the Committed Rate and Tc is decremented by B down to the minimum value of 0, else o if Te(t)-B >= 0, the packet is in excess of the Committed Rate but is not in excess of the EBS and Te is decremented by B down to the minimum value of 0, else o the packet is in excess of both the Committed Rate and the EBS and neither Tc nor Tc is decremented. Note that according to the above specification, a CDR value of positive infinity implies that arriving packets are never in excess of either the Committed Rate or EBS. A positive infinite value of either CBS or EBS implies that the respective limit cannot be Jamoussi, et. al. February 25, 1999 [Page 15] CR-LDP Specification - 16 - Exp. August 1999 exceeded. The actual implementation of a LSR doesn't need to be modeled according to the above formal specification. 4.3.1.7 Weight The weight determines the CRLSP's relative share of the possible excess bandwidth above its committed rate. The definition of "relative share" is MPLS domain specific. 4.3.2 Procedures 4.3.2.1 Label Request Message If an LSR receives an incorrectly encoded Traffic Parameters TLV in which the value of PDR is less than the value of CDR then it MUST send a Notification Message including the Status code Traffic Parameters Unavailable to the upstream LSR from which it received the erroneous message. If a Traffic Parameter is indicated as Negotiable in the Label Request Message by the corresponding Negotiable Flag then an LSR MAY replace the Traffic Parameter value with a smaller value. If the Weight is indicated as Negotiable in the Label Request Message by the corresponding Negotiable Flag then an LSR may adjust replace the Weight value with a lower value (down to 1). If, after possible Traffic Parameter negotiation, an LSR can support the CRLSP Traffic Parameters then the LSR MUST reserve the corresponding resources for the CRLSP. If, after possible Traffic Parameter negotiation, an LSR cannot support the CRLSP Traffic Parameters then the LSR MUST send a notification message that contains the Resource Unavailable status code. 4.3.2.2 Label Mapping Message If an LSR receives an incorrectly encoded Traffic Parameters TLV in which the value of PDR is less than the value of CDR then it MUST send a Label Release message containing the Status code Traffic Parameters Unavailable to the LSR from which it received the erroneous message. The egress LSR MUST include the (possibly negotiated) Traffic Parameters and Weight in the Label Mapping message. The Traffic Parameters and the Weight in a Label Mapping message MUST be forwarded unchanged. Jamoussi, et. al. February 25, 1999 [Page 16] CR-LDP Specification - 17 - Exp. August 1999 An LSR SHOULD adjust the resources that it reserved for a CRLSP when it receives a Label Mapping Message if the Traffic Parameters differ from those in the corresponding Label Request Message. 4.3.2.3 Notification Message If an LSR receives a Notification Message for a CRLSP, it SHOULD release any resources that it possibly had reserved for the CRLSP. In addition, on receiving a Notification Message from a Downstream LSR that is associated with a Label Request from an upstream LSR, the local LSR MUST propagate the Notification message using the procedures in [LDP]. 4.4 Preemption 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| Preemption-TLV (0x0820) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SetPrio | HoldPrio | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type A fourteen-bit field carrying the value of the Preemption-TLV type which is 0x810. Length Specifies the length of the value field in bytes. Reserved Zero on transmission. Ignored on receipt. SetPrio A SetupPriority of value zero (0) is the priority assigned to the most important path. It is referred to as the highest priority. Seven (7) is the priority for the least important path. The higher the setup priority, the more paths CR-LDP can bump to set up the path. HoldPrio A HoldingPriority of value zero (0) is the priority assigned to the most important path. It is referred to as the highest priority. Seven (7) is the priority for the least important path. Jamoussi, et. al. February 25, 1999 [Page 17] CR-LDP Specification - 18 - Exp. August 1999 The higher the holding priority, the less likely it is for CR-LDP to reallocate its bandwidth to a new path. 4.5 LSPID TLV LSPID is a unique identifier of a CRLSP within an MPLS network. The LSPID is composed of the ingress LSR Router ID and a Locally unique CRLSP ID to that LSR. The LSPID is useful in network management, in CR-LSP repair, and in using an already established CR-LSP as a hop in an ER-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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| LSPID-TLV (0x0821) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Reserved | Local CRLSP ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Ingress LSR Router ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type A fourteen-bit field carrying the value of the LSPID-TLV type which is 0x821. Length Specifies the length of the value field in bytes. Reserved Zero on transmission. Ignored on receipt. Local CRLSP ID The Local LSP ID is an identifier of the CRLSP locally unique within the Ingress LSR originating the CRLDP. Ingress LSR Router ID A 4 byte field indicating the Ingress LSR ID. 4.6 Resource Class (Color) TLV The Resource Class as defined in [TER] is used to specify which links are acceptable by this CRLSP. This information allows for the Jamoussi, et. al. February 25, 1999 [Page 18] CR-LDP Specification - 19 - Exp. August 1999 networks topology to be pruned. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| ResCls-TLV (0x0822) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RsCls | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type A fourteen-bit field carrying the value of the ResCls-TLV type which is 0x822. Length Specifies the length of the value field in bytes. RsCls The Resource Class bit mask indicating which of the 32 "administrative groups" or "colors" of links the CRLSP can traverse. 4.7 ER-Hop semantics 4.7.1. ER-Hop 1: The IPv4 prefix The abstract node represented by this ER-Hop is the set of nodes which have an IP address which lies within this prefix. Note that a prefix length of 32 indicates a single IPv4 node. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| 0x801 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |L| Reserved | PreLen | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPv4 Address (4 bytes) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Jamoussi, et. al. February 25, 1999 [Page 19] CR-LDP Specification - 20 - Exp. August 1999 Type IPv4 Address 0x801 Length Specifies the length of the value field in bytes. L Bit Set to indicate Loose hop. Cleared to indicate a strict hop. Reserved Zero on transmission. Ignored on receipt. PreLen Prefix Length 1-32 IP Address A four byte field indicating the IP Address. 4.7.2. ER-Hop 2: The IPv6 address 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| 0x802 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |L| Reserved | PreLen | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address (continued) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address (continued) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPV6 address (continued) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type 0x802 IPv6 address Length Specifies thefirst ER-Hop is a loose ER-Hop, an arbitrary serieslength ofER-Hops may be inserted prior to the first ER-Hop. 4.8.3. Error subcodes Intheprocessing described above, certain errors needvalue field in bytes. L Bit Set tobe reported as part of the Notification message. This section defines the status codes for the errors described above.indicate Loose hop. Jamoussi, et. al.January 26,February 25, 1999 [Page14]20] CR-LDP Specification -1521 - Exp.AprAugust 1999Status Code Type -------------------------------------- ---------- Bad Constraint-Based Routing TLV Error 0x04000001 Bad Strict Node Error 0x04000002 Bad Loose Node Error 0x04000003 Bad InitialCleared to indicate a strict hop. Reserved Zero on transmission. Ignored on receipt. PreLen Prefix Length 1-128 IPv6 address A 128-bit unicast host address. 4.7.3. ER-HopError 0x04000004 Resource Unavailable 0x04000005 Service Class Unavailable 0x04000006 Traffic Parameters Unavailable 0x04000007 5.0 CRLSP Service Classes and Traffic Parameters32: Thefollowing sections describeautonomous system number The abstract node represented by this ER-Hop is theCRLSP Service Classes (SCs), and their associated traffic parameters.set of nodes belonging to the autonomous system. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| 0x803 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |L| Reserved | AS Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type AS Number 0x803 Length Specifies the length of the value field in bytes. L Bit Set to indicate Loose hop. Cleared to indicate a strict hop. Reserved Zero on transmission. Ignored on receipt. AS Number Autonomous System number 4.7.4. ER-Hop 4: LSPID TheCRLSP Service ClassLSPID issignaledused to identify the tunnel ingress point as the next hop in theSC Field ofER. This ER-Hop allows for stacking new CR-LSPs within an already established CR-LSP. It also allows for splicing theCR-TLVCR-LSP Jamoussi, et. al. February 25, 1999 [Page 21] CR-LDP Specification - 22 - Exp. August 1999 being established with an existing CR-LSP. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| 0x804 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |L| Reserved | Local LSPID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Ingress LSR Router ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined inSection 4.1. Three Service Classes are currently supported by CR-LDP: Service Class Value -------------------------- ----- Best Effort (BE) 0x0 Throughput Sensitive (TS) 0x1 Delay Sensitive (DS) 0x2 These service classes are specified[LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type LSPID 0x804 Length Specifies thefollowing sections. 5.1 Best Effort (BE) The requestlength of theBE SC implies that there are no expected service guarantees from the network. The service provided by the network isvalue field in bytes. L Bit Set to indicate Loose hop. Cleared to indicate a strict hop. Reserved Zero on transmission. Ignored on receipt. Local LSPID A 2 byte field indicating thefamiliar best effort service. The Peak Date Rate (PDR)LSPID which isthe only traffic parameter that may be specifiedunique withthe BE SC. The specification of the PDR allows the networkreference toperform traffic shaping and policing functions. 5.2 Throughput Sensitive (TS) Intheservice model forits Ingress LSR. Ingress LSR Router ID A 4 byte field indicating the Ingress LSR ID. 4.8. Processing of theThroughput Sensitive SC,Explicit Route TLV 4.8.1. Selection of thenetwork commits to deliver with high probability user datagrams atnext hop A Label Request Message containing arateexplicit route TLV must determine the next hop for this path. Selection ofat least CDR (Committed Data Rate). The userthis next hop maytransmit atinvolve arate higher than CDR but datagrams in excess of CDR would haveselection from alower probabilityset ofbeing delivered. If the user sends atpossible alternatives. The mechanism for making arateselection from this set is implementation dependent and is outside ofCDR or lower the network commits to deliver with high probability alltheuser datagrams. The TS SC has an associated tolerance toscope of this specification. Selection of particular paths is also outside of theburstinessscope ofarrivingthis specification, but it is assumed that each node will make a best effort attempt to determine a loop-free path. Note that such best Jamoussi, et. al.January 26,February 25, 1999 [Page15]22] CR-LDP Specification -1623 - Exp.AprAugust 1999user datagrams. This tolerance is definedefforts may be overridden by local policy. To determine thetraffic parameter Committed Burst Tolerance (CBT). Ideally, a TS CRLSP request carries with itnext hop for the path, arich set of three traffic parameters (PDR, CDR, and CBT) that accurately describe its traffic characteristics. This allowsnode performs thenetwork to perform resource reservation, traffic shaping, and traffic policing. However, forfollowing steps: 1) The node receiving thesake of simplicity ofLabel Request Message must first evaluate theservice definition,first ER-Hop. If theCDRL bit is not set in theonly parameter that MUST always be specified for a TS CRLSP. A peak data rate parameter (PDR)first ER-Hop anda CBT are optional traffic parameters forif theTS SC. The network should make every effort to preserve orderingnode is not part of thedelivered datagrams of a TS CRLSP. Network traffic that requires a low packet loss ratio atabstract node described by the first ER-Hop, it has received the message in error, and should return agiven CDR but"Bad initial ER-Hop" error. If the L bit isnot particularly sensitive to delayset andjitter (e.g., network control traffic) is suited totheTS SC. The selectionlocal node is not part of theTS SC is used to signal toabstract node described by thevarious nodes alongfirst ER-Hop, thepathnode selects a next hop that is along thequeuing and scheduling mechanisms usedpath tohandletheCRLSP should provide a low packet loss ratio. 5.3 Delay Sensitive (DS) Inabstract node described by theservice model forfirst ER-Hop. If there is no first ER-Hop, theDelay Sensitive SC,message is also in error and thenetwork commits to deliver with high probability user datagrams atsystem should return arate"Bad Explicit Routing TLV" error. 2) If there is no second ER-Hop, this indicates the end ofCDR (Committed Data Rate) with minimum delay and delay variation.the explicit route. Theuser MUST transmit data at a rate of CDR or lower in order toexplicit route TLV should beeligible for DS service. Datagrams in excess of CDRremoved from the Label Request Message. This node may or may not bediscarded by the network. Iftheuser sends at a rateend ofCDR or lowerthenetwork commits to deliver with high probability all user datagramsLSP. Processing continues withlow delay and delay variation. If the user sends atsection 4.8.2, where arate higher than CDR the network does not provide any guarantees on the excess traffic. The Delay Sensitive SC has an associated tolerancenew explicit route TLV may be added to theburstiness of arriving user datagrams. This tolerance is defined byLabel Request Message. 3) If thetraffic parameter Committed Burst Tolerance (CBT). Ideally, a DS CRLSP request carries with itnode is also arich setpart ofthree traffic parameters (PDR, CDR, and CBT) that accurately describe its traffic characteristics. This allows the network to perform resource reservation, traffic shaping and policing. However, forthesake of simplicity ofabstract node described by theservice definition,second ER-Hop, then theCDR isnode deletes theonly parameter that MUST always be specified for a DS CRLSP. A peak data rate parameter (PDR)first ER-Hop anda CBT are optional traffic parameters forcontinues processing with step 2, above. Note that this makes theDS SC. The network should make every effort to preserve ordering ofsecond ER-Hop into theJamoussi, et. al. January 26, 1999 [Page 16] CR-LDP Specification - 17 - Exp. Apr 1999 delivered datagramsfirst ER-Hop ofa DS CRLSP. Network traffic that requires a low delay and delay variation at a given CDR (e.g., voice traffic) is suited totheDS SC.next iteration. 4) Theselection of the DS SCnode determines if it isused to signaltopologically adjacent to thevarious nodes along the path thatabstract node described by thequeuing and scheduling mechanisms used to handlesecond ER-Hop. If so, theCRLSP should provide low delay and delay variation. 5.4 Traffic Parameters The CRLSP traffic parameters are defined in this section. The traffic parameters CDR, CBT and PDR are defined in terms ofnode selects aTOKEN_BUCKET_TSPEC as specified in [RFC2215]. The following mappingparticular next hop which is a member ofparameters intheTOKEN_BUCKET_TSPEC is used: Token rate, r = CDR Bucket depth, b = CBT Peak traffic rate, p = PDR Minimum policed unit, m = 1 Maximum packet size, M = MTUabstract node. TheTraffic Parameters TLVnode then deletes the first ER-Hop and continues processing with section 4.8.2. 5) Next, the node selects a next hop within the abstract node of the first ER-Hop that isusedalong the path tosignalthetraffic characteristicsabstract node of theCRLSP. These traffic parameters are used to perform functionssecond ER-Hop. If no suchas resource reservation, Shaping,path exists then there are two cases: 5a) If the second ER-Hop is a strict ER-Hop, then there is an error andPolicing. See [SIN] for more details. The encoding fortheTraffic Parameters TLV is: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| Traffic TLV (0x0810) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDR TLV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CDR TLV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CBT TLV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.4.1 Peak data rate (PDR) TLV The value of traffic parameter PDRnode should return a "Bad strict node" error. 5b) Otherwise, if the second ER-Hop isgiven asapositive integer in bytes per second. Zeroloose ER-Hop, then the node selects any next hop that isnotalong the path to the next abstract node. If no path exists within the MPLS domain, then there is an error, and the node should return avalid value of PDR. The user may specify"Bad loose node" error. 6) Finally, thevalue of PDR dependingnode replaces theSC offirst ER-Hop with any ER-Hop that denotes an abstract node containing theCRLSP. Specifyingnext hop. This is necessary so that when thePDR allowsexplicit route is received by thenetwork to use traffic management functions such as shaping.next hop, it will be accepted. Jamoussi, et. al.January 26,February 25, 1999 [Page17]23] CR-LDP Specification -1824 - Exp.AprAugust 19990 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| PDR7) Progress the Label Request Message to the next hop. 4.8.2. Adding ER-Hops to the explicit route TLV(0x0811) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDR in Bytes/sec | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.4.2. Committed Data Rate (CDR) The value of traffic parameter CDR is given as a positive integer in bytes per second. Zero is notAfter selecting avalid value of CDR. The usernext hop, the node mayprovide a requested value of CDR inalter theCRLSP request depending onexplicit route in theSCfollowing ways. If, as part of executing theCRLSP. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| CDR TLV (0x0812) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CDRalgorithm inBytes/sec | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.4.3. Committed Burst Tolerance (CBT) The value of traffic parameter CBTsection 4.8.1, the explicit route TLV isgiven in bytes. Zeroremoved, the node may add a new explicit route TLV. Otherwise, if the node isnotavalid value of CBT. The requested valuemember ofCBT MUST be no smaller thantheMTUabstract node for the first ER-Hop, then a series of ER-Hops may be inserted before theoriginating interface. The userfirst ER-Hop or mayprovidereplace the first ER-Hop. Each ER-Hop in this series must denote an abstract node that is arequested valuesubset ofCBT intheCRLSP request. Ifcurrent abstract node. Alternately, if theuser chooses not to specifyfirst ER-Hop is arequested valueloose ER-Hop, an arbitrary series ofCBT and the network is policing the traffic, then any excess traffic willER-Hops may bedropped byinserted prior to thenetwork.first ER-Hop. 4.9 Route Pinning 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F|CBT TLV (0x0813)0x823 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| CBT in Bytes|P| Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+6. Open Issues This section captures the issues that need further study. Jamoussi, et. al. January 26, 1999 [Page 18] CR-LDP Specification - 19 - Exp. Apr 1999 1) Review the FSM describedU bit Unknown TLV bit. As defined inAppendix B and extend it by the CR-TLV processing[LDP]. F bit Forward unknown TLV bit. As defined inSections 4.8.1 and 4.8.2. 2) Consider if all three traffic parameters have to be signaled at all times and if the network should supply default values for the missing parameters. 3) Consider the following extensions to[LDP]. Type Pinning-TLV type 0x823 Length Specifies theCR-TLV: 3.1) Changinglength of the'P' bit to "next hop flag" and making it a 2-bit widevalue fieldwith the following values: - 00 "local repair", which means if it belongs to a loosely routed segment, and the LSR detects a next hop change, the LSR will tryin bytes. P Bit The P bit is set toestablish a new LSP from this point on and switch it over1 tothe new LSP when itindicate that route pinning issetup. - 01 "global repair", which means when the LSR detects a next hop change, the LSR will tear down the LSP, the ingress LSR will tryrequested. The P bit is set toreestablish another LSP through the new path. - 10 "pinned", which means that the loosely routed segments must remain pinned down. - 11 Reserved. 3.2) Adding one more field "LSPID" before ER-Hop TLV. LSPID can be used0 toidentify a network wide unique CRLSP.indicate that route pinning is not requested Reserved Zero on transmission. Ignored on receipt. 4.10 CRLSP FEC Element Jamoussi, et. al. February 25, 1999 [Page 24] CR-LDP Specification -The first 4 bytes carrying the ingress LSR IP address25 -The second 4 bytes carrying the unique ID value assigned by the ingress LSR. 4) Consider the following extensionExp. August 1999 A new FEC element is introduced in this specification tothe ER-Hop TLV: Forsupport CR- LSPs. The CRLDP FEC Element is an opaque FEC. FEC Element Typefield, add one more type, LSPID, which means the currentValue type name CRLSPwill go through another0x04 No value; i.e., 0 value octets; see below. CRLSPwhichFEC Element To be used only in Messages of CR-LSPs. The CR-LSP FEC TLV encoding isidentified with this LSPID value: Value Type ----- ----- 4 LSPID Extend processing the LSPID ER-Hopas follows:If the0 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|F| FEC(0x0100) | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CR-LSP (4) | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ U bit Unknown TLV bit. As defined in [LDP]. F bit Forward unknown TLV bit. As defined in [LDP]. Type FEC TLV typeof ER- Hop is LSPID, and0x0100 Length Specifies theother end of this CRLSP is not partlength of theconstraint-based route TLV, add itvalue field in bytes. CR-LSP FEC Element Type 0x04 Reserved Zero on transmission. Ignored on receipt. 4.11 Error subcodes In the processing described above, certain errors need to be reported as part of theconstraint-based TLV with L bit turned off. 5) Consider traffic parameter negotiation andNotification Message. This section defines theability to changestatus codes for thetraffic parameters associated with an already established patherrors described in this specification. Jamoussi, et. al.January 26,February 25, 1999 [Page19]25] CR-LDP Specification -2026 - Exp.AprAugust 1999without tearing the old path down. 7.Status Code Type -------------------------------------- ---------- Bad Explicit Routing TLV Error 0x04000001 Bad Strict Node Error 0x04000002 Bad Loose Node Error 0x04000003 Bad Initial ER-Hop Error 0x04000004 Resource Unavailable 0x04000005 Traffic Parameters Unavailable 0x04000006 Setup abort 0x04000007 5. SecurityNo security issues are discussed in this version ofPre-emption has to be controlled by thedraft. 8.MPLS domain. Resource reservation requires the LSRs to have an LSP admission control function. Normal routing can be bypassed by Traffic Engineered LSPs. 6. Acknowledgments The messages used to signal the CRLSP setup are based on the work done by the [LDP] team. The Explicit Route object and procedures used in this specification are based on [ER]. The authors would also like to acknowledge the careful review and comments ofOsama Aboul-Magd,Ken Hayward, Greg Wright, Geetha Brown, Brian Williams,Peter Ashwood-smith,Paul Beaubien, Matthew Yuen, Liam Casey, and Ankur Anand.9.7. References[FRAME] Callon[LDP] Andersson et al,"Framework for Multiprotocol Label Switching","Label Distribution Protocol Specification" work in progress(draft-ietf-mpls-framework-02), November 1997.(draft-ietf-mpls-ldp-03), Feb. 1999. [ARCH] Rosen et al, "Multiprotocol Label Switching Architecture", work in progress(draft-ietf-mpls-arch-02), July 1998. [LDP] Andersson(draft-ietf-mpls-arch-04), Feb. 1999. [FRAME] Callon et al,"Label Distribution Protocol Specification""Framework for Multiprotocol Label Switching", work in progress(draft-ietf-mpls-ldp-02.txt),(draft-ietf-mpls-framework-02), November 1997. [TER] Awduche et al, "Requirements for Traffic Engineering Over MPLS", work in progress (draft-ietf-mpls-traffic-eng-00), August 1998. [ER] Guerin et al, "Setting up Reservations on Explicit Paths using RSVP", work in progress(draft-guerin-expl-path-rsvp-01.txt,(draft-guerin-expl-path-rsvp- 01) November 1997.[TER] Awduche et al, "Requirements for Traffic Engineering Over MPLS", work in progress (draft-awduche-mpls-traffic-eng-00), April 1998.Jamoussi, et. al. February 25, 1999 [Page 26] CR-LDP Specification - 27 - Exp. August 1999 [VPN1] Heinanen et al, "MPLS Mappings of Generic VPN Mechanisms", work in progress (draft-heinanen-generic-vpn-mpls-00), August 1998. [VPN2] Jamieson et al, "MPLS VPN Architecture" work in progress (draft-jamieson-mpls-vpn-00), August 1998.[RFC2215] S. Shenker and J. Wroclawski, General Characterization Parameters for Integrated Service Network Elements, RFC 2215, Sep 1997. [SIN] B. Jamoussi, N. Feldman, and L. Andersson, "MPLS Ships[VPN3] T. Li, "CPE based VPNs using MPLS", work inthe Night with ATM", (draft-jamoussi-mpls-sin-00.txt), Augustprogress (draft- li-mpls-vpn-00.txt), October 1998. [LDP-STATE] L. Wu, et. al., "LDP State Machine" work in progress (draft-ietf-mpls-ldp-state-00), Feb 1999. Jamoussi, et. al.January 26,February 25, 1999 [Page20]27] CR-LDP Specification -2128 - Exp.AprAugust 199910.8. Author Information Osama S. Aboul-Magd Loa Andersson Nortel Networks Director Bay ArchitectureLab, EMEALab,EMEA P O Box 3511 Station C Kungsgatan 34, PO Box 1788 Ottawa, ON K1Y 4H7 111 97 Stockholm, Sweden Canada phone: +46 8 441 78 34 phone: +1 613 763-5827 mobile +46 70 522 78 34e-mail:osama@NortelNetworks.com loa_andersson@baynetworks.com Peter Ashwood-Smith Ross Callon Nortel Networks IronBridge Networks P O Box 3511 Station C 55 Hayden Avenue, Ottawa, ON K1Y 4H7 Lexington, MA 02173 Canada Phone: +1-781-402-8017Email:phone: +1 613 763-4534 rcallon@ironbridgenetworks.com petera@NortelNetworks.com Ram Dantu Paul Doolan Alcatel USA Inc. Ennovate Networks IP Competence Center 330 Codman Hill Rd 1201 E. Campbell Road.,446-315 Marlborough MA 01719 Richadson, TX USA., 75081-2206 Phone: 978-263-2002 Phone: 972 996 2938 pdoolan@ennovatenetworks.com Fax: 972996 5902 Email: ram.dantu@aud.alcatel.com Paul Doolan Ennovate Networks 330 Codman Hill Rd Marlborough MA 01719 Phone: 978-263-2002 email: pdoolan@ennovatenetworks.com996 5902 ram.dantu@aud.alcatel.com Nancy Feldman Andre Fredette IBM Corp. Nortel Networks 17 Skyline DriveHawthorne NY 10532 Phone: 914-784-3254 email: nkf@us.ibm.com Andre Fredette Nortel Networks3 Federal Street Hawthorne NY 10532 Billerica, MA 01821email:Phone: 914-784-3254 fredette@baynetworks.com nkf@us.ibm.com Eric Gray Joel M. Halpern Lucent Technologies, Inc Newbridge Networks Inc. 1600 Osgood St. 593 Herndon Parkway North Andover, MA 01847email: ewgray@lucent.com Jamoussi, et. al. January 26, 1999 [Page 21] CR-LDP Specification - 22 - Exp. Apr 1999 Joel M. Halpern Newbridge Networks Inc. 593 Herndon ParkwayHerndon, VA 20170email: jhalpern@newbridge.comPhone: 603-659-3386 phone: 1-703-736-5954fax: 1-703-736-5959ewgray@lucent.com jhalpern@newbridge.com Juha Heinanen Fiffi Hellstrand Telia Finland, Inc. Ericsson Telecom AB Myyrmaentie 2 S-126 25 STOCKHOLM 01600 VANTAA Sweden Finland Tel: +46 8 719 4933 Tel: +358303 944 808 Email:41 500 4808 etxfiff@etxb.ericsson.se jh@telia.fi Jamoussi, et. al. February 25, 1999 [Page 28] CR-LDP Specification - 29 - Exp. August 1999 Bilel Jamoussi Timothy E. Kilty Nortel Networks Northchurch Communications P O Box 3511 Station C 5 Corporate Drive, Ottawa, ON K1Y 4H7Canada phone: +1 613 765-4814 email: jamoussi@NortelNetworks.com Timothy E. Kilty Northchurch Communications 5 Corporate Drive,Andover, MA 018110 Canada phone: 978 691-4656Email:phone: +1 613 765-4814 tkilty@northc.com jamoussi@NortelNetworks.com Andrew G. MalisAscend Communications, Inc. 1 Robbins Road Westford, MA 01886 phone: 978 952-7414 fax: 978 392-2074 Email: malis@ascend.comMuckai K Girish Ascend Communications, Inc. SBC Technology Resources, Inc. 1 Robbins Road 4698 Willow Road Westford, MA 01886 Pleasanton, CA 94588 phone: 978 952-7414 Phone: (925) 598-1263 fax: 978 392-2074 Fax: (925) 598-1321Email:malis@ascend.com mgirish@tri.sbc.com Kenneth SundellEricsson SE-126 25 Stockholm Sweden Jamoussi, et. al. January 26, 1999 [Page 22] CR-LDP Specification - 23 - Exp. Apr 1999 email: kenneth.sundell@etx.ericsson.sePasi Vaananen Ericsson Nokia Telecommunications SE-126 25 Stockholm 3 Burlington Woods Drive, Suite 250 Sweden Burlington, MA 01803 kenneth.sundell@etx.ericsson.se Phone: +1-781-238-4981Email:pasi.vaananen@ntc.nokia.com Tom Worster Liwen Wu General DataComm, Inc. Alcatel U.S.A 5 Mount Royal Ave.Marlboro MA 01752 Email: tom.worster@gdc.com Liwen Wu Alcatel U.S.A44983 Knoll Square Marlboro MA 01752 Ashburn, Va. 20147 tom.worster@gdc.com USA Phone: (703) 724-2619 FAX: (703) 724-2005Inet:liwen.wu@adn.alcatel.com Jamoussi, et. al. February 25, 1999 [Page 29] CR-LDP Specification - 30 - Exp. August 1999 Appendix A: CRLSP Establishment Examples A.1 StrictConstraint-BasedExplicit Route Example This appendix provides an example for the setup of a strictly routed CRLSP. In this example, each abstract node is represented by a specific node. The sample network used here is a four node network with two edge LSRs and two core LSRs as follows: a b c LSR1------LSR2------LSR3------LSR4 LSR1 generates a Label Request Message as described in Section 3.1 of this draft and sends it to LSR2. This message includes the CR-TLV. TheCR-TLVER-TLV is composed by a vector of three ER-Hop TLVs <a, b, c>. The ER-Hop TLVs used in this example are of type0x010x0801 (IPv4 prefix) with a prefix length of 32. Hence, each ER-Hop TLV identifies a specific node as opposed to a group of nodes. At LSR2, the following processing of theCR-TLVER-TLV per Section 4.8.1 of this draft takes place: 1) The first hop <a> is part of the abstract node LSR2. Therefore, the first step passes the test. Go to step 2.Jamoussi, et. al. January 26, 1999 [Page 23] CR-LDP Specification - 24 - Exp. Apr 19992) There is a second ER-Hop, <b>. Go to step 3. 3) LSR2 is not part of the abstract node described by the second ER-Hop <b>. Go to Step 4. 4) LSR2 determines that it is topologically adjacent to the abstract node described by the second ER-Hop <b>. LSR2 selects a next hop (LSR3) which is the abstract node. LSR2 deletes the first ER-Hop <a> from theCR-TLVER-TLV which now becomes <b , c>. Go to Section 4.8.2. At LSR2, the following processing of Section 4.8.2 takes place: Executing algorithm 4.8.1 did not result in the removal of theCR-TLV.ER-TLV. Also, LSR2 is not a member of the abstract node described by the first ER-Hop <b>. Finally, the first ER-Hop <b> is a strict hop. Therefore, processing section 4.8.2 does not result in the insertion of new ER-Hops. The selection of the next hop has been Jamoussi, et. al. February 25, 1999 [Page 30] CR-LDP Specification - 31 - Exp. August 1999 already done is step 4 of Section 4.8.1 and the processing of theCR-TLVER-TLV is completed at LSR2. In this case, the Label Request Message including theCR-TLVER-TLV <b, c> is progressed by LSR2 to LSR3. At LSR3, a similar processing to theCR-TLVER-TLV takes place except that the incomingCR-TLVER-TLV = <b, c> and the outgoingCR-TLVER-TLV is <c>. At LSR4, the following processing of section 4.8.1 takes place: 1) The first hop <c> is part of the abstract node LSR4. Therefore, the first step passes the test. Go to step 2. 2) There is no second ER-Hop, this indicates the end of the CRLSP. TheCR-TLVER-TLV is removed from the Label Request Message. Processing continues with Section 4.8.2. At LSR4, the following processing of Section 4.8.2 takes place: Executing algorithm 4.8.1 resulted in the removal of theCR-TLV.ER-TLV. LSR4 does not add a newCR-TLV.ER-TLV. Therefore, processing section 4.8.2 does not result in the insertion of new ER-Hops. This indicates the end of the CRLSP and the processing of theCR-TLVER-TLV is completed at LSR4. At LSR4, processing of Section 3.2 is invoked. The first condition is satisfied (LSR4 is the egress end of the CRLSP and upstream mapping has been requested). Therefore, a Label Mapping Message is generatedJamoussi, et. al. January 26, 1999 [Page 24] CR-LDP Specification - 25 - Exp. Apr 1999by LSR4 and sent to LSR3. At LSR3, the processing of Section 3.2 is invoked. The second condition is satisfied (LSR3 received a mapping from its downstream next hop LSR4 for a CRLSP for which an upstream request is still pending). Therefore, a Label Mapping Message is generated by LSR3 and sent to LSR2. At LSR2, a similar processing to LSR 3 takes place and a Label Mapping Message is sent back to LSR1 which completes the end-to-end CRLSP setup. A.2. Node Groups and Specific Nodes Example A request at an ingress LSR to setup a CRLSP might originate from a management system or an application, the details are implementation specific. The ingress LSR uses information provided by the management system or the application and possibly also information from the routing database to calculated theconstraint-basedexplicit route and to create the Label Request Message. Jamoussi, et. al. February 25, 1999 [Page 31] CR-LDP Specification - 32 - Exp. August 1999 The Label request message carries together with other necessary information aCR-TLVER-TLV defining theconstraint-basedexplicitly routed path. In our example the list of hops in the ER-Hop TLV is supposed to contain an abstract node representing a group of nodes, an abstract node representing a specific node, another abstract node representing a group of nodes, and an abstract node representing a specific egress point. In--{Group 1}--{Specific A}--{Group 2}--{Specific Out: B} TheCR-TLVER-TLV contains four ER-Hop TLVs: 1. An ER-Hop TLV that specifies a group of LSR valid for the first abstract node representing a group of nodes (Group 1). 2. An ER-Hop TLV that indicates the specific node (Node A). 3. An ER-Hop TLV that specifies a group of LSRs valid for the second abstract node representing a group of nodes (Group 2). 4. An ER-Hop TLV that indicates the specific egress point for the CRLSP (Node B). All the ER-Hop TLVs are strictly routed nodes. The setup procedure for this CRLSP works as follows:Jamoussi, et. al. January 26, 1999 [Page 25] CR-LDP Specification - 26 - Exp. Apr 19991. The ingress node sends the Label Request Message to a node that is a member the group of nodes indicated in the first ER-Hop TLV, following normal routing for the specific node (A). 2. The node that receives the message identifies itself as part of the group indicated in the first ER-Hop TLV, and that it is not the specific node (A) in the second. Further it realizes that the specific node (A) is not one of its next hops. 3. It keeps the ER-Hop TLVs intact and sends a Label Request Message to a node that is part of the group indicated in the first ER-Hop TLV (Group 1), following normal routing for the specific node (A). 4. The node that receives the message identifies itself as part of the group indicated in the first ER-Hop TLV, and that it is not the specific node (A) in the second ER-Hop TLV. Further it realizes that the specific node (A) is one of its next hops. 5. It removes the first ER-Hop TLVs and sends a Label Request Message to the specific node (A). 6. The specific node (A) recognizes itself in the first ER-Hop TLV. Removes the specific ER-Hop TLV. Jamoussi, et. al. February 25, 1999 [Page 32] CR-LDP Specification - 33 - Exp. August 1999 7. It sends a Label RequestmessageMessage to a node that is a member of the group (Group 2) indicated in the ER-Hop TLV. 8. The node that receives the message identifies itself as part of the group indicated in the first ER-Hop TLV, further it realizes that the specific egress node (B) is one of its next hops. 9. It sends a Label RequestmessageMessage to the specific egress node (B). 10. The specific egress node (B) recognizes itself as the egress for the CRLSP, it returns a Label Mapping Message, that will traverse the same pathas the Label Request Message in the opposite direction. Jamoussi, et. al. January 26, 1999 [Page 26] CR-LDP Specification - 27 - Exp. Apr 1999 Appendix B. CR-LDP Finite State Machine In this description of the CR-LDP FSM, behavior relating to the state of LDP messages is assumed to be defined (implicitly or explicitly) in [LDP]. In particular, LDP is assumed to retain state information relating a Label Request made of a downstream neighbor to the Label Request message(s) of upstream neighbors (downstream-on-demand mode) which the (downstream) Label Request is meant to satisfy. This will be true of many potential applications of LDP, of which CR-LDP is an example. Minimally, this state should include message IDs of Label Requests (both sent and received) and the LSR(s) from which pending Label Request(s) were received. The FSM describes CR-LDP behavior in the following operations: - Start of CRLSP setup (in which a Label Request is sent); - Processing the CR-TLV portion of Label Requests; - Completion of CRLSP setup (via Label Mapping messages); - Notification of originator when: - a loop is detected in a loose constraint-based route segment, - an ER-Hop is not reachable from a previous ER-Hop, - a next ER-Hop is strict and not directly connected to the current LSR or - the current LSR is strict and is not (part of the abstract node in) the first ER-Hop in the CR-TLV; - Withdrawing a CRLSP. For the description, the following pictorial representations may be used as an aid to understanding: LSR 1 LSR 2 ... LSR n .-----. .-----. .-----. | ER | | ER | | ER | `-----' `-----' `-----' | CR-TLV CR-TLV ^ | CR-TLV CR-TLV ^ | Next | | Next | | Hop | | Hop | V | V | .-----. Label .-----. Labelas the Label.-----. | LDP |----------->| LDP |-------> ... ------->| LDP | `-----'Request`-----' Request Request `-----'Message in the opposite direction. Jamoussi, et. al.January 26,February 25, 1999 [Page27]33] CR-LDP Specification -2834 - Exp.AprAugust 1999CRLSP Setup propagation LSR 1 LSR 2 ... LSR n .-----. .-----. .-----. | ER | | ER | | ER | `-----' `-----' `-----' ^ Status Status | | Previous | | Hop | | V .-----. Label .-----. Label Label .-----. | LDP |<-----------| LDP |<------- ... <-------| LDP | `-----' Mapping `-----' Mapping Mapping `-----' CRLSP Status propagation .---------------. | ER | .---------------. | Link/Call | | LDP | | Admission | | | | Control | | Label | `---------------' | Allocation | `---------------' Related Tasks B.1. CR-LDP Primitives The following sections describeAppendix B. QoS Service Examples B.1 Service Examples Construction of an end-to-end service is thelogical interactions between Constrain-based Route and LDP state machines in termsresult ofprimitivesthe rules enforced at the edge and the treatment thatdescribepackets receive at theminimal information exchange required. These assume an asynchronous exchange model involving locally significant IDsnetwork nodes. The rules define the traffic conditioning actions thatis usedare implemented at the edge and they include policing with pass, mark, and drop capabilities. The edge rules are expected totie statusbe defined by the mutual agreements between the service providers and their customers and they will constitute an essential part of the SLA. Therefore edge rules are not included in the signaling protocol. Packets treatment at arequestnetwork node is usually referred to as theinitial setup and to allow LDP to relate incoming/outgoing Label Request messages. A synchronous model - possibly based on multiple threads -local behavior. Local behavior could be specified in many ways. One example for local behavior specification isalso possiblethe service frequency introduced in section 4.3.2.1., together with the resource reservation rules implemented at the nodes. Edge rules andwould eliminatelocal behaviors can be viewed as theneedmain building blocks forIDs. B.1.1. CR to LDP Primitives LDP_SEND_REQ( TLV_List, To_LSR, Identifier ) TLV_List TLVs to be sent to a neighboring LSR; includes at least anthe end-to-end service construction. The following table illustrates the applicability of the building block approach for constructing different services including those defined for ATM. Service PDR PBS CDR CBS EBS Service Conditioning Examples Frequency Action --------------------------------------------------------------------------- DS S S =PDR =PBS 0 Frequent drop>PDR TS S S S S 0 Unspecified drop>PDR,PBS mark>CDR,CBS BE inf inf inf inf 0 Unspecified - FRS S S CIR ~B_C ~B_E Unspecified drop>PDR,PBS mark>CDR,CBS,EBS ATM-CBR PCR CDVT =PCR =CDVT 0 VeryFrequent drop>PCR ATM-VBR.3(rt) PCR CDVT SCR MBS 0 Frequent drop>PCR mark>SCR,MBS ATM-VBR.3(nrt) PCR CDVT SCR MBS 0 Unspecified drop>PCR mark>SCR,MBS ATM-UBR PCR CDVT - - 0 Unspecified drop>PCR ATM-GFR.1 PCR CDVT MCR MBS 0 Unspecified drop>PCR Jamoussi, et. al.January 26,February 25, 1999 [Page28]34] CR-LDP Specification -2935 - Exp.AprAugust 1999CR-TLV and may contain additional TLVs (i.e. QoS TLVs). To_LSR The neighbor LSRATM-GFR.2 PCR CDVT MCR MBS 0 Unspecified drop>PCR mark>MCR,MFS int-serv-CL p m r b 0 Frequent drop>p drop>r,b S= User specified In the above table, the DS refers towhichaLabel Request isdelay sensitive service where the network commits to deliver with high probability user datagrams at a rate of PDR with minimum delay and delay requirements. Datagrams in excess of PDR will besent. Identifier Locally significant unique identifier. May be useddiscarded. The TS refers toassociatea generic throughput sensitive service where theLabel Requestnetwork commit tobe sent eitherdeliver with high probability user datagrams at aLabel Request that was previously received (e.g. - LSR 2 above) orrate of at least CDR. The user may transmit at asubsequent CRLSP Status (e.g. - LSR 1 above). LDP_SEND_RSP( Status, Identifier ) Status Statusrate higher than CDR but datagrams in excess of CDR would have aspecific CRLSP Setup Request. A Statuslower probability ofzero indicates success; other Status valuesbeing delivered. The BE is the best effort service and it implies that there aregiven in Error Subcodes section. This Statusno expected service guarantees from the network. B.2. Establishing CR-LSP Supporting Real-Time Applications In this scenario the customer needs to establish an LSP for supporting real-time applications such voice and video. The Delay- sensitive (DS) service iscarriedrequested inLabel Mapping or Notification messages tothis case. The first step is theoriginatorspecification of theCRLSP setup. Identifier Locally significant unique identifier used to associatetraffic parameters in theLabel Mappingsignaling message. The two parameters of interest to the DS service are the PDR and the PBS and their values are specified by the user based on his requirements. Since all the traffic parameters are included in the signaling message, appropriate values must besent with a Label Request received (e.g. LSR n above). B.1.2. LDP to CR Primitives CR_RECEIVED_REQ( TLV_List, Identifier ) TLV_List TLVsassigned tobe processed byall of them. For DS service, the CDR and thelocal constraint-based route function. Identifier Locally significant unique identifier usedCBS values are set equal toassociatethereceived request either with a subsequent further request or a response. For example,PDR and theidentifier provided here would be used in a subsequent LDP_SEND_REQ or LDP_SEND_RSP. CR_LSP_STATUS( Status, Identifier ) Status Status of a specific CRLSP Setup Request. A StatusPBS respectively. An indication ofzero indicates success; other Statuswhether the parameter values aregiven in section Error Subcodes. This Status originated at the remote LSR Jamoussi, et. al. January 26, 1999 [Page 29] CR-LDP Specification - 30 - Exp. Apr 1999 which either completedsubject to negotiation is flagged. The transport characteristics of theCRLSP setup or determinedDS service requires thatCRLSP setup could notFrequent frequency to bedone. Identifier Locally significant unique identifier usedrequested toassociatereflect thereceived response withreal-time delay requirements of theoriginal request. For example, this identifier would beservice. In addition to thesame as was used intransport characteristics, both theinitial LDP_SEND_REQ. B.2. CR-LDP States This document defines 3 states relative to any one specific CRLSP. They are: CR_Non_Existant - no state information exists relativenetwork provider and the customer need tothis CRLSP; CR_In_Progress - LDP_SEND_REQ has been called in resultagree on the actions enforced at the edge. The specification ofexternal input (e.g. - management); CR_Established - a successful status has been received from an earlier setup. These states are defined such that no additional statethose actions isrequiredexpected tosupport CRLSPs using LDP at intermediate LSRs than is already required in LDP. B.3. CR-LDP Events This document defines 4 events impacting any one specific CRLSP. They are: CR_Start -be aCRLSP is required based on an external stimulus (e.g. - management); CR_Req_Received - further CRLSP setup processingpart of the service level agreement (SLA) negotiation and isrequired based on CR_RECEIVED_REQ (i.e. - from an upstream LSR's CRLSP Label Request); CR_Setup_Complete - CRLSP setup has been successfully completed based on CR_LSP_STATUS (with success status); CR_LSP_Failure - Either a CRLSP couldnot included in the signaling protocol. For DS service, the edge action is to drop packets that exceed the PDR and the PBS specifications. The signaling message will be sent in the direction of the ER path and the LSP is establishedas requested, or a setup CRLSP has dropped; based on CR_LSP_STATUS (with error status). B.4. CR-LDP Transitions State transitions are defined as follows:following the normal LDP procedures. Each Jamoussi, et. al.January 26,February 25, 1999 [Page30]35] CR-LDP Specification -3136 - Exp.AprAugust 1999State Event Action New State ==================== ================= ====== =============== CR_Non_Existant CR_Start 1 CR_In_Progress CR_Non_Existant CR_Req_Rec 2 CR_Non_Existant CR_In_Progress CR_Setup_Complete CR_Established CR_In_Progress CR_LSP_Failure 3 CR_Non_Existant CR_Established CR_LSP_Failure 3 CR_Non_Existant Actions: 1) Establish CRLSP state, create CR-TLV information, LDP_SEND_REQ. 2) Process CR-TLV (as described in "Processing of the Constraint-Based Route TLV" section)LSR applies its admission control rules. If sufficient resources are not available and the parameter values are subject to negotiation, then the LSR could negotiate down eitherLDP_SEND_REQthe PDR, the PBS, orLDP_SEND_RSP. 3) Remove state information relativeboth. The new parameters values are echoed back in the Label Mapping Message. LSRs might need to re-adjust their resource reservations based on the new traffic parameter values. B.3. Establishing CR-LSP Supporting Delay Insensitive Applications In thisCRLSP (may notify management, other external source initially requiring setup).example we assume that a throughput sensitive (TS) service is requested. For resource allocation thepurposes of this transition table, illegal transitions (not includeduser assigns values for PDR, PBS, CDR, and CBS. The negotiation flag is set if the traffic parameters are subject to negotiation. Since the service is delay insensitive by definition, the Unspecified frequency is signaled to indicate that the service frequency is not an issue. Similar to the previous example, the edge actions are not subject for signaling and are specified in thetable)service level agreement between the user and the network provider. For TS service, the edge rules might include marking to indicate high discard precedence values for all packets that exceed CDR and the CBS. The edge rules will also include dropping of packets that areignored. Jamoussi, et. al. January 26, 1999 [Page 31]do not conform to either PDR and PBS. Each LSR of the LSP is expected to run its admission control rules and negotiate traffic parameters down if sufficient resources do not exist. The new parameters values are echoed back in the Label Mapping Message. LSRs might need to re-adjust their resources based on the new traffic parameter values. ----