idnits 2.17.1 draft-ietf-mpls-rfc8287-len-clarification-01.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- ** There are 11 instances of too long lines in the document, the longest one being 4 characters in excess of 72. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (May 25, 2019) is 1792 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) No issues found here. Summary: 1 error (**), 0 flaws (~~), 1 warning (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Work group N. Nainar 3 Internet-Draft C. Pignataro 4 Updates: 8287 (if approved) Cisco Systems, Inc. 5 Intended status: Standards Track F. Iqbal 6 Expires: November 26, 2019 Individual 7 A. Vainshtein 8 ECI Telecom 9 May 25, 2019 11 RFC8287 Sub-TLV Length Clarification 12 draft-ietf-mpls-rfc8287-len-clarification-01 14 Abstract 16 RFC8287 defines the extensions to MPLS LSP Ping and Traceroute for 17 Segment Routing IGP-Prefix and IGP-Adjacency Segment Identifier 18 (SIDs) with an MPLS data plane. RFC8287 proposes 3 Target FEC Stack 19 Sub-TLVs. While the standard defines the format and procedure to 20 handle those Sub-TLVs, it does not sufficiently clarify how the 21 length of the Segment ID Sub-TLVs should be computed to include in 22 the Length field of the Sub-TLVs which may result in interoperability 23 issues. 25 This document updates RFC8287 by clarifying the length of each 26 Segment ID Sub-TLVs defined in RFC8287. 28 Status of This Memo 30 This Internet-Draft is submitted in full conformance with the 31 provisions of BCP 78 and BCP 79. 33 Internet-Drafts are working documents of the Internet Engineering 34 Task Force (IETF). Note that other groups may also distribute 35 working documents as Internet-Drafts. The list of current Internet- 36 Drafts is at https://datatracker.ietf.org/drafts/current/. 38 Internet-Drafts are draft documents valid for a maximum of six months 39 and may be updated, replaced, or obsoleted by other documents at any 40 time. It is inappropriate to use Internet-Drafts as reference 41 material or to cite them other than as "work in progress." 43 This Internet-Draft will expire on November 26, 2019. 45 Copyright Notice 47 Copyright (c) 2019 IETF Trust and the persons identified as the 48 document authors. All rights reserved. 50 This document is subject to BCP 78 and the IETF Trust's Legal 51 Provisions Relating to IETF Documents 52 (https://trustee.ietf.org/license-info) in effect on the date of 53 publication of this document. Please review these documents 54 carefully, as they describe your rights and restrictions with respect 55 to this document. Code Components extracted from this document must 56 include Simplified BSD License text as described in Section 4.e of 57 the Trust Legal Provisions and are provided without warranty as 58 described in the Simplified BSD License. 60 Table of Contents 62 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 63 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 64 3. Requirements notation . . . . . . . . . . . . . . . . . . . . 3 65 4. Length field clarification for Segment ID Sub-TLVs . . . . . 3 66 4.1. IPv4 IGP-Prefix Segment ID Sub-TLV . . . . . . . . . . . 3 67 4.2. IPv6 IGP-Prefix Segment ID Sub-TLV . . . . . . . . . . . 3 68 4.3. IGP-Adjacency Segment ID Sub-TLV . . . . . . . . . . . . 4 69 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5 70 6. Security Considerations . . . . . . . . . . . . . . . . . . . 5 71 7. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 5 72 8. Acknowledgement . . . . . . . . . . . . . . . . . . . . . . . 5 73 9. Normative References . . . . . . . . . . . . . . . . . . . . 5 74 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6 76 1. Introduction 78 [RFC8287] defines the extensions to MPLS LSP Ping and Traceroute for 79 Segment Routing IGP-Prefix and IGP-Adjacency Segment Identifier 80 (SIDs) with an MPLS data plane. [RFC8287] proposes 3 Target FEC 81 Stack Sub-TLVs. While the standard defines the format and procedure 82 to handle those Sub-TLVs, it does not sufficiently clarify how the 83 length of the Segment ID Sub-TLVs should be computed to include in 84 the Length field of the Sub-TLVs which may result in interoperability 85 issues. 87 This document updates [RFC8287] by clarifying the length of each 88 Segment ID Sub-TLVs defined in [RFC8287]. 90 2. Terminology 92 This document uses the terminologies defined in [RFC8402], [RFC8029], 93 [RFC8287] and so the readers are expected to be familiar with the 94 same. 96 3. Requirements notation 98 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 99 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 100 document are to be interpreted as described in [RFC2119] [RFC8174]. 102 4. Length field clarification for Segment ID Sub-TLVs 104 Section 5 of [RFC8287] defines 3 different Segment ID Sub-TLVs that 105 will be included in Target FEC Stack TLV defined in [RFC8029]. The 106 length of each Sub-TLVs MUST be calculated as defined in this 107 section. 109 The figures in section 5.1, 5.2 and 5.3 of [RFC8287] are replaced by 110 the below figures in section 4.1, 4.2 and 4.3 respectively. The 111 updated figures contain explicitly defined length. 113 4.1. IPv4 IGP-Prefix Segment ID Sub-TLV 115 The Sub-TLV length for IPv4 IGP-Prefix Segment ID MUST be set to 8 as 116 shown in the below TLV format: 118 0 1 2 3 119 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 120 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 121 |Type = 34 (IPv4 IGP-Prefix SID)| Length = 8 | 122 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 123 | IPv4 prefix | 124 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 125 |Prefix Length | Protocol | Reserved | 126 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 128 4.2. IPv6 IGP-Prefix Segment ID Sub-TLV 130 The Sub-TLV length for IPv6 IGP-Prefix Segment ID MUST be set to 20 131 as shown in the below TLV format: 133 0 1 2 3 134 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 135 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 136 |Type = 35 (IPv4 IGP-Prefix SID)| Length = 20 | 137 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 138 | | 139 | | 140 | IPv6 Prefix | 141 | | 142 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 143 |Prefix Length | Protocol | Reserved | 144 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 146 4.3. IGP-Adjacency Segment ID Sub-TLV 148 The Sub-TLV length for IGP-Adjacency Segment ID varies depending on 149 the Adjacency Type and Protocol. In any of the allowed combination 150 of Adjacency Type and Protocol, the sub-TLV length MUST be calculated 151 by including 2 octets of Reserved field. Below is a table that list 152 the length for different combinations. 154 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 155 | Protocol | Length for Adj.Type | 156 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 157 | | Parallel | IPv4 | IPv6 | 158 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 159 | OSPF | 20 | 20 | 44 | 160 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 161 | ISIS | 24 | 24 | 48 | 162 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 163 | Any | 20 | 20 | 44 | 164 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 166 For example, when the Adj. Type is set to Parallel Adjacency and the 167 Protocol is set to 0, the Sub-TLV will be as below: 169 0 1 2 3 170 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 171 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 172 |Type = 36 (IGP-Adjacency SID) | Length = 20 | 173 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 174 | Adj. Type = 1 | Protocol =0 | Reserved | 175 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 176 | Local Interface ID (4 octets) | 177 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 178 | Remote Interface ID (4 octets) | 179 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 180 | Advertising Node Identifier (4 octets) | 181 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 182 | Receiving Node Identifier (4 octets) | 183 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 185 5. IANA Considerations 187 This document does not introduce any IANA consideration. 189 6. Security Considerations 191 This document updates [RFC8287] and does not introduce any security 192 considerations. 194 7. Contributors 196 The below individuals contributed to this document: 198 Zafar Ali, Cisco Systems, Inc. 200 8. Acknowledgement 202 The authors would like to thank Michael Gorokhovsky and Manohar 203 Doppalapudi for investigating the interop issue during EANTC test. 205 9. Normative References 207 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 208 Requirement Levels", BCP 14, RFC 2119, 209 DOI 10.17487/RFC2119, March 1997, 210 . 212 [RFC8029] Kompella, K., Swallow, G., Pignataro, C., Ed., Kumar, N., 213 Aldrin, S., and M. Chen, "Detecting Multiprotocol Label 214 Switched (MPLS) Data-Plane Failures", RFC 8029, 215 DOI 10.17487/RFC8029, March 2017, 216 . 218 [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 219 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 220 May 2017, . 222 [RFC8287] Kumar, N., Ed., Pignataro, C., Ed., Swallow, G., Akiya, 223 N., Kini, S., and M. Chen, "Label Switched Path (LSP) 224 Ping/Traceroute for Segment Routing (SR) IGP-Prefix and 225 IGP-Adjacency Segment Identifiers (SIDs) with MPLS Data 226 Planes", RFC 8287, DOI 10.17487/RFC8287, December 2017, 227 . 229 [RFC8402] Filsfils, C., Ed., Previdi, S., Ed., Ginsberg, L., 230 Decraene, B., Litkowski, S., and R. Shakir, "Segment 231 Routing Architecture", RFC 8402, DOI 10.17487/RFC8402, 232 July 2018, . 234 Authors' Addresses 236 Nagendra Kumar Nainar 237 Cisco Systems, Inc. 238 7200-12 Kit Creek Road 239 Research Triangle Park, NC 27709 240 US 242 Email: naikumar@cisco.com 244 Carlos Pignataro 245 Cisco Systems, Inc. 246 7200-11 Kit Creek Road 247 Research Triangle Park, NC 27709 248 US 250 Email: cpignata@cisco.com 252 Faisal Iqbal 253 Individual 254 Canada 256 Email: faisal.iqbal@msn.com 258 Alexander Vainshtein 259 ECI Telecom 260 Israel 262 Email: vainshtein.alex@gmail.com