LSR R. Chen Internet-Draft D. Zhao Intended status: Standards Track ZTE Corporation Expires: 25 February 2024 24 August 2023 Signaling MNA Capability Using IGP and BGP-LS draft-chen-lsr-mpls-mna-capability-00 Abstract This document defines a mechanism to signal MNA Capability using IGP and Border Gateway Protocol-Link State(BGP-LS). Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 25 February 2024. Copyright Notice Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Chen & Zhao Expires 25 February 2024 [Page 1] Internet-Draft MNA Capability advertisement August 2023 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 2 2. Advertising MNA Using IS-IS . . . . . . . . . . . . . . . . . 3 3. Advertising MNA Using OSPF . . . . . . . . . . . . . . . . . 4 4. Signaling MNA in BGP-LS . . . . . . . . . . . . . . . . . . . 4 5. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 4 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 7. Security Considerations . . . . . . . . . . . . . . . . . . . 4 8. Normative References . . . . . . . . . . . . . . . . . . . . 4 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6 1. Introduction [I-D.ietf-mpls-mna-fwk] specifies an architectural framework for the MPLS Network Actions (MNA) technologies. MNA technologies are used to indicate actions for Label Switched Paths (LSPs) and MPLS packets to transfer data needed for these actions. [I-D.ietf-mpls-mna-hdr] defines the syntax and semantics of network actions encoded within an MPLS Label Stack. Network actions can be encoded with or without Ancillary Data (AD), either in or after the label stack. It defines four types of Label Stack Entry Formats. However, for the same network action, multiple encoding format are defined. For example, [I-D.li-mpls-mna-entropy]describes a network action for entropy and uses LSE Format C to encoded entropy action within an MPLS Label Stack. [RFC6790]defines MPLS encapsulation with ELI and entropy labels; [I-D.li-mpls-mna-nrp-selector] describes a network action for NRP Selector, and it defines LSE Format B or LSE Format C maybe used to carry the NRP Selector. The ingress node /Controller should obtain the network action of the nodes within the MNA infrastructure, which ensure that the encapsulated data packets by the ingress node can be correctly parsed by the on-path nodes. This document defines how the ingress node knows of the network action all the on-path nodes within the MNA infrastructure. It defines a mechanism to signal the MPLS Network actions(MNA) using IGP and BGP-LS. 1.1. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. Chen & Zhao Expires 25 February 2024 [Page 2] Internet-Draft MNA Capability advertisement August 2023 2. Advertising MNA Using IS-IS This section defines the MNA-Capabilities Sub-TLV that are inserted into the IS-IS Router Capability that is defined in [RFC7981]. The format of the MNA-Capabilities Sub-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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |P|C|N|S|E| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 1 where: Type: TBD. Length: 4. Flags: 4 octet of flags. The following are defined: * E: Entropy flag. If set, then the router is capable of processing Entropy action in LSE Format B on all interfaces. * S: 13-bit NRP Selector flag. If set, then the router is capable of processing 13-bit NRP Selector (NRPS13) on all interfaces. * N: 20-bit NRP Selector (NRPS20). If set, then the router is capable of processing 20-bit NRP Selector (NRPS13) on all interfaces. * C: 20-bit Entropy and NRP Selector (ENRPS20). If set, then the router is capable of processing 20-bit Entropy and NRP Selector (ENRPS20) on all interfaces. * P: Performance Measurement with Alternate Marking Method (PMAMM) flag. If set, then the router is capable of processing PMAMM on all interfaces. The TLVs defined in this section are applicable to both OSPFv2, OSPFv3 and BGP-LS. Chen & Zhao Expires 25 February 2024 [Page 3] Internet-Draft MNA Capability advertisement August 2023 3. Advertising MNA Using OSPF This section defines the MNA-Capabilities TLV that are inserted into the Router Information Opaque LSA(for OSPFv2)and OSPFv3 Router Information Opaque LSA(for OSPFv3)(defined in [RFC7770]). The format of the MNA-Capabilities TLV is the same as section 2. 4. Signaling MNA in BGP-LS The IGP extensions defined in this document can be advertised via BGP-LS (distribution of Link-State and Traffic Engineering information using BGP) [RFC7752] using existing BGP-LS TLVs. This section defines the following Node Attribute TLV: +============+==============================+ | Type | Description | +============+==============================+ | TBD | the MNA-Capabilities TLV | +------------+------------------------------+ Figure 2 5. Acknowledgements TBD. 6. IANA Considerations TBD. 7. Security Considerations Procedures and protocol extensions defined in this document do not affect the IS-IS, OSPFv2 , OSPFv3 and BGP security model. See the "Security Considerations"section of [RFC7981] for a discussion of IS- IS security, [RFC7684] for a discussion of OSPFv2 security, the "Security Considerations"section of [RFC8362] for a discussion of OSPFv3 security and [RFC4271] for a discussion of OSPFv2 security. 8. Normative References [I-D.ietf-mpls-mna-fwk] Andersson, L., Bryant, S., Bocci, M., and T. Li, "MPLS Network Actions Framework", Work in Progress, Internet- Chen & Zhao Expires 25 February 2024 [Page 4] Internet-Draft MNA Capability advertisement August 2023 Draft, draft-ietf-mpls-mna-fwk-03, 11 March 2023, . [I-D.ietf-mpls-mna-hdr] Rajamanickam, J., Gandhi, R., Zigler, R., Song, H., and K. Kompella, "MPLS Network Action (MNA) Sub-Stack Solution", Work in Progress, Internet-Draft, draft-ietf-mpls-mna-hdr- 02, 29 March 2023, . [I-D.li-mpls-mna-entropy] Li, T. and J. Drake, "MPLS Network Action for Entropy", Work in Progress, Internet-Draft, draft-li-mpls-mna- entropy-01, 25 April 2023, . [I-D.li-mpls-mna-nrp-selector] Li, T., Drake, J., Beeram, V. P., Saad, T., and I. Meilik, "MPLS Network Actions for Network Resource Partition Selector", Work in Progress, Internet-Draft, draft-li- mpls-mna-nrp-selector-00, 5 May 2023, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC4271] Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, DOI 10.17487/RFC4271, January 2006, . [RFC6790] Kompella, K., Drake, J., Amante, S., Henderickx, W., and L. Yong, "The Use of Entropy Labels in MPLS Forwarding", RFC 6790, DOI 10.17487/RFC6790, November 2012, . [RFC7684] Psenak, P., Gredler, H., Shakir, R., Henderickx, W., Tantsura, J., and A. Lindem, "OSPFv2 Prefix/Link Attribute Advertisement", RFC 7684, DOI 10.17487/RFC7684, November 2015, . Chen & Zhao Expires 25 February 2024 [Page 5] Internet-Draft MNA Capability advertisement August 2023 [RFC7752] Gredler, H., Ed., Medved, J., Previdi, S., Farrel, A., and S. Ray, "North-Bound Distribution of Link-State and Traffic Engineering (TE) Information Using BGP", RFC 7752, DOI 10.17487/RFC7752, March 2016, . [RFC7770] Lindem, A., Ed., Shen, N., Vasseur, JP., Aggarwal, R., and S. Shaffer, "Extensions to OSPF for Advertising Optional Router Capabilities", RFC 7770, DOI 10.17487/RFC7770, February 2016, . [RFC7981] Ginsberg, L., Previdi, S., and M. Chen, "IS-IS Extensions for Advertising Router Information", RFC 7981, DOI 10.17487/RFC7981, October 2016, . [RFC8362] Lindem, A., Roy, A., Goethals, D., Reddy Vallem, V., and F. Baker, "OSPFv3 Link State Advertisement (LSA) Extensibility", RFC 8362, DOI 10.17487/RFC8362, April 2018, . [RFC9089] Xu, X., Kini, S., Psenak, P., Filsfils, C., Litkowski, S., and M. Bocci, "Signaling Entropy Label Capability and Entropy Readable Label Depth Using OSPF", RFC 9089, DOI 10.17487/RFC9089, August 2021, . Authors' Addresses Ran Chen ZTE Corporation Nanjing China Email: chen.ran@zte.com.cn Detao Zhao ZTE Corporation Nanjing China Email: zhao.detao@zte.com.cn Chen & Zhao Expires 25 February 2024 [Page 6]