Internet-Draft | MPLS Inspection MSD | March 2023 |
Liu | Expires 7 September 2023 | [Page] |
This document defines a new type of MSD, Base MPLS Inspection MSD, and the mechanism to signal this MSD using IGP and BGP-LS.¶
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 7 September 2023.¶
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.¶
[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/or MPLS packets and to transfer data needed for these actions.¶
[I-D.ietf-mpls-mna-hdr] defines the MPLS Network Action sub-stack(NAS) solution for carrying Network Actions and Ancillary Data in the label stack. The node adding an NAS to the label stack will need to place a copy of the NAS where it can be read by the relevant nodes. A node that pushes a NAS onto the label stack is responsible for determining that all nodes that should process the NAS will have the NAS within its Maximum MPLS Stack Inspection depth. A node should use signaling to determine this.¶
On the other hand, even if the MNA framework is not followed, as long as there're scenarios where every transit node is required to inspect beyond the top of stack, the requirement to obtain the maximum inspection depth of the nodes along the LSP exists.¶
Maximum SID Depth (MSD)[RFC8491] is originally introduced for SR-MPLS to express the number of SIDs supported by a node or a link on a node. In a non-SR MPLS network, MSD defines the maximum label depth.¶
This document defines a new type of MSD, Base MPLS Inspection MSD, and the mechanism to signal this MSD using IGP and BGP-LS.¶
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 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
MNA: MPLS Network Actions¶
NAS: Network Action sub-stack¶
EL: Entropy Label¶
ERLD: Entropy Readable Label Depth¶
The Base MPLS Inspection MSD is defined as the maximum number of labels a router can read in an MPLS packet received on its incoming interface(s) (starting from the top of the stack).¶
The Base MPLS Inspection MSD MAY be used by ingress LSRs to determine the position of the NAS, and whether it's necessary to insert multiple NAS at different positions in the label stack. When the label stack are determined by a centralized controller, the MSD of each intermediate LSR SHOULD be sent to the controller.¶
With Base MPLS Inspection MSD, application/network action-specified MSD analogous to ERLD-MSD[RFC9088] [RFC9089] MAY not needed. For example, a node can signal certain network action capability and the Base MPLS Inspection MSD to indicate that it can process this network action within the MSD.¶
A new MSD-Type [RFC8491], called Base MPLS Inspection MSD, is defined. The MSD-Type code is to be assigned by IANA. The MSD-Value field is set to the maximum number of labels a router can read in the range between 0 to 255. The scope of the advertisement depends on the application.¶
If a router has multiple interfaces with different capabilities of reading the maximum label stack depth, the router MUST advertise the smallest value found across all its interfaces.¶
The absence of Base MPLS Inspection MSD advertisements indicates only that the advertising node does not support advertisement of this capability.¶
If the Base MPLS Inspection MSD type is received in the Link MSD sub-TLV, it MUST be ignored.¶
The Base MPLS Inspection MSD is advertised in a Node MSD TLV [RFC8476] using the same MSD-Type code as defined in section 4.¶
If a router has multiple interfaces with different capabilities of reading the maximum label stack depth, the router MUST advertise the smallest value found across all its interfaces.¶
The absence of Base MPLS Inspection MSD advertisements indicates only that the advertising node does not support advertisement of this capability.¶
If the Base MPLS Inspection MSD type is received in the Link MSD sub-TLV, it MUST be ignored.¶
The IS-IS and OSPF extensions defined in this document can be advertised via BGP-LS (distribution of Link-State and TE information using BGP) [RFC7752] using existing BGP-LS TLVs.¶
The Base MPLS Inspection MSD is advertised using the Node MSD TLV as defined in [RFC8814].¶
This document specifies the ability to advertise additional node capabilities using IS-IS, OSPF and BGP-LS. As such, the security considerations as described in [RFC5340], [RFC7684], [RFC7752], [RFC7770], [RFC7794], [RFC7981], [RFC8476], [RFC8491], [RFC8662], [RFC8814], [RFC9085] are applicable to this document.¶
Incorrectly setting of the ERLD value may lead to poor or no execution of the network action.¶
This document requests the following allocation from IANA:¶
Type TBA in the IGP MSD-Types registry is requested to be assigned for the Base MPLS Inspection MSD.¶