idnits 2.17.1 draft-nainar-mpls-rfc8287-len-clarification-00.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 (January 17, 2019) is 1919 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: July 21, 2019 Individual 7 A. Vainshtein 8 ECI Telecom 9 January 17, 2019 11 RFC8287 Sub-TLV Length Clarification 12 draft-nainar-mpls-rfc8287-len-clarification-00 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 July 21, 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 4.1. IPv4 IGP-Prefix Segment ID Sub-TLV 111 The Sub-TLV length for IPv4 IGP-Prefix Segment ID MUST be set to 8 as 112 shown in the below TLV format: 114 0 1 2 3 115 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 116 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 117 |Type = 34 (IPv4 IGP-Prefix SID)| Length = 8 | 118 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 119 | IPv4 prefix | 120 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 121 |Prefix Length | Protocol | Reserved | 122 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 124 4.2. IPv6 IGP-Prefix Segment ID Sub-TLV 126 The Sub-TLV length for IPv6 IGP-Prefix Segment ID MUST be set to 20 127 as shown in the below TLV format: 129 0 1 2 3 130 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 131 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 132 |Type = 35 (IPv4 IGP-Prefix SID)| Length = 20 | 133 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 134 | | 135 | | 136 | IPv6 Prefix | 137 | | 138 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 139 |Prefix Length | Protocol | Reserved | 140 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 142 4.3. IGP-Adjacency Segment ID Sub-TLV 144 The Sub-TLV length for IGP-Adjacency Segment ID varies depending on 145 the Adjacency Type and Protocol. In any of the allowed combination 146 of Adjacency Type and Protocol, the sub-TLV length MUST be calculated 147 by including 2 octets of Reserved field. Below is a table that list 148 the length for different combinations. 150 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 151 | Protocol | Length for Adj.Type | 152 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 153 | | Parallel | IPv4 | IPv6 | 154 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 155 | OSPF | 20 | 20 | 44 | 156 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 157 | ISIS | 24 | 24 | 48 | 158 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 159 | Any | 20 | 20 | 44 | 160 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 162 For example, when the Adj. Type is set to Parallel Adjacency and the 163 Protocol is set to 0, the Sub-TLV will be as below: 165 0 1 2 3 166 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 167 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 168 |Type = 36 (IGP-Adjacency SID) | Length = 20 | 169 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 170 | Adj. Type = 1 | Protocol =0 | Reserved | 171 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 172 | Local Interface ID (4 octets) | 173 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 174 | Remote Interface ID (4 octets) | 175 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 176 | Advertising Node Identifier (4 octets) | 177 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 178 | Receiving Node Identifier (4 octets) | 179 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 181 5. IANA Considerations 183 This document does not introduce any IANA consideration. 185 6. Security Considerations 187 This document updates [RFC8287] and does not introduce any security 188 considerations. 190 7. Contributors 192 The below individuals contributed to this document: 194 Zafar Ali, Cisco Systems, Inc. 196 8. Acknowledgement 198 The authors would like to thank Michael Gorokhovsky and Manohar 199 Doppalapudi for investigating the interop issue during EANTC test 201 9. Normative References 203 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 204 Requirement Levels", BCP 14, RFC 2119, 205 DOI 10.17487/RFC2119, March 1997, 206 . 208 [RFC8029] Kompella, K., Swallow, G., Pignataro, C., Ed., Kumar, N., 209 Aldrin, S., and M. Chen, "Detecting Multiprotocol Label 210 Switched (MPLS) Data-Plane Failures", RFC 8029, 211 DOI 10.17487/RFC8029, March 2017, 212 . 214 [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 215 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 216 May 2017, . 218 [RFC8287] Kumar, N., Ed., Pignataro, C., Ed., Swallow, G., Akiya, 219 N., Kini, S., and M. Chen, "Label Switched Path (LSP) 220 Ping/Traceroute for Segment Routing (SR) IGP-Prefix and 221 IGP-Adjacency Segment Identifiers (SIDs) with MPLS Data 222 Planes", RFC 8287, DOI 10.17487/RFC8287, December 2017, 223 . 225 [RFC8402] Filsfils, C., Ed., Previdi, S., Ed., Ginsberg, L., 226 Decraene, B., Litkowski, S., and R. Shakir, "Segment 227 Routing Architecture", RFC 8402, DOI 10.17487/RFC8402, 228 July 2018, . 230 Authors' Addresses 232 Nagendra Kumar Nainar 233 Cisco Systems, Inc. 234 7200-12 Kit Creek Road 235 Research Triangle Park, NC 27709 236 US 238 Email: naikumar@cisco.com 240 Carlos Pignataro 241 Cisco Systems, Inc. 242 7200-11 Kit Creek Road 243 Research Triangle Park, NC 27709 244 US 246 Email: cpignata@cisco.com 248 Faisal Iqbal 249 Individual 250 Canada 252 Email: faisal.iqbal@msn.com 254 Alexander Vainshtein 255 ECI Telecom 256 Israel 258 Email: vainshtein.alex@gmail.com