RFC 6425
Detecting Data-Plane Failures in Point-to-Multipoint MPLS - Extensions to LSP Ping
RFC 6425: Detecting Data-Plane Failures in Point-to-Multipoint MPLS - Extensions to LSP Ping ๐ฆ
Okay bestie, this one is from the IETF stream and it's a Standards Track doc ๐ . It was published in November 2011 ๐๏ธ, and its ISSN is 2070-1721 โจ.
- Authors: S. Saxena, Ed. (Cisco Systems, Inc.), G. Swallow (Cisco Systems, Inc.), Z. Ali (Cisco Systems, Inc.), A. Farrel (Juniper Networks), S. Yasukawa (NTT Corporation), T. Nadeau (CA Technologies) ๐ซถ
- Category: Standards Track
- Date: November 2011
- ISSN: 2070-1721
- Updates: RFC 4379 ๐
It doesn't obsolete anything. It just gives RFC 4379 a glow-up ๐.
Abstract
Recent proposals have extended the scope of Multiprotocol Label Switching (MPLS) Label Switched Paths (LSPs) so they can cover point-to-multipoint (P2MP) LSPs ๐ธ.
The need for a simple, efficient way to detect data-plane failures in point-to-point (P2P) MPLS LSPs was already recognized, and that led to fault detection and isolation techniques usually called "LSP ping" ๐.
This doc is all about fault detection and isolation for P2MP MPLS LSPs ๐. It doesn't replace any LSP ping mechanisms. Instead, it clarifies how they apply to MPLS P2MP LSPs and extends LSP ping's techniques and mechanisms into the P2MP world ๐.
This document updates RFC 4379 โจ.
Status of This Memo
This is an Internet Standards Track document ๐.
It's a product of the Internet Engineering Task Force (IETF) and represents the consensus of the IETF community ๐ค. It got public review and was approved for publication by the Internet Engineering Steering Group (IESG). More info on Internet Standards is in Section 2 of RFC 5741 ๐.
For the current status, any errata, and how to give feedback, check http://www.rfc-editor.org/info/rfc6425 ๐.
Copyright Notice
Copyright (c) 2011 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 (http://trustee.ietf.org/license-info), as in effect on the date of publication. Please read these carefully, because they explain your rights and restrictions for this document ๐. Code Components pulled out of this document must include Simplified BSD License text, as described in Section 4.e of the Trust Legal Provisions, and they come without warranty as described in the Simplified BSD License ๐งพ.
This document may include material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The people who control copyright in some of that material may not have given the IETF Trust permission to allow modifications outside the IETF Standards Process. Unless you get an adequate license from those copyright holders, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process ๐. The one exceptions are formatting it for publication as an RFC or translating it into languages other than English ๐.
Table of Contents
1. Introduction ....................................................3
1.1. Design Considerations ......................................4
1.2. Terminology ................................................4
2. Notes on Motivation .............................................5
2.1. Basic Motivations for LSP Ping .............................5
2.2. Motivations for LSP Ping for P2MP LSPs .....................6
3. Packet Format ...................................................7
3.1. Identifying the LSP Under Test .............................8
3.1.1. Identifying a P2MP MPLS TE LSP ......................8
3.1.1.1. RSVP P2MP IPv4 Session Sub-TLV .............8
3.1.1.2. RSVP P2MP IPv6 Session Sub-TLV .............9
3.1.2. Identifying a Multicast LDP LSP .....................9
3.1.2.1. Multicast LDP FEC Stack Sub-TLVs ..........10
3.1.2.2. Applicability to
Multipoint-to-Multipoint LSPs .............11
3.2. Limiting the Scope of Responses ...........................11
3.2.1. Egress Address P2MP Responder Sub-TLVs .............12
3.2.2. Node Address P2MP Responder Sub-TLVs ...............13
3.3. Preventing Congestion of Echo Replies .....................14
3.4. Respond Only If TTL Expired Flag ..........................14
3.5. Downstream Detailed Mapping TLV ...........................15
4. Operation of LSP Ping for a P2MP LSP ...........................15
4.1. Initiating LSR Operations .................................16
4.1.1. Limiting Responses to Echo Requests ................16
4.1.2. Jittered Responses to Echo Requests ................16
4.2. Responding LSR Operations .................................17
4.2.1. Echo Reply Reporting ...............................18
4.2.1.1. Responses from Transit and Branch Nodes ...19
4.2.1.2. Responses from Egress Nodes ...............19
4.2.1.3. Responses from Bud Nodes ..................19
4.3. Special Considerations for Traceroute .....................21
4.3.1. End of Processing for Traceroutes ..................21
4.3.2. Multiple Responses from Bud and Egress Nodes .......22
4.3.3. Non-Response to Traceroute Echo Requests ...........22
4.3.4. Use of Downstream Detailed Mapping TLV in
Echo Requests ......................................23
4.3.5. Cross-Over Node Processing .........................23
5. Non-Compliant Routers ..........................................24
6. OAM and Management Considerations ..............................24
7. IANA Considerations ............................................25
7.1. New Sub-TLV Types .........................................25
7.2. New TLVs ..................................................25
7.3. New Global Flags Registry .................................26
8. Security Considerations ........................................26
9. Acknowledgements ...............................................26
10. References ....................................................27
10.1. Normative References .....................................27
10.2. Informative References ...................................27
1. Introduction โจ
Okay so simple, efficient ways to catch data-plane failures in point-to-point (P2P) Multiprotocol Label Switching (MPLS) Label Switched Paths (LSP) are already described in [RFC4379] ๐. They use info carried in MPLS "echo request" and "echo reply" messages, plus the mechanisms for transporting those messages. The echo request and reply carry enough info to check that the data plane is working, and they also let you verify the data plane against the control plane so you can pin down where faults are ๐. Using reliable channels for echo reply messages, as described in [RFC4379], makes fault isolation even more robust ๐ช. This whole collection is what everyone calls "LSP ping" ๐.
The requirements for point-to-multipoint (P2MP) MPLS traffic engineered (TE) LSPs are stated in [RFC4461]. [RFC4875] specifies a signaling solution for setting up P2MP MPLS TE LSPs ๐ธ.
The requirements for P2MP extensions to the Label Distribution Protocol (LDP) are stated in [RFC6348]. [RFC6388] specifies extensions to LDP for P2MP MPLS ๐.
P2MP MPLS LSPs are at least as vulnerable to data-plane faults, or to discrepancies between the control and data planes, as their P2P counterparts ๐ฌ. So mechanisms are needed to detect those data-plane faults in P2MP MPLS LSPs, as described in [RFC4687] ๐จ.
This document extends the techniques described in [RFC4379] so they can be applied to P2MP MPLS LSPs ๐ฆ. It really stresses reusing the existing LSP ping mechanisms used for P2P LSPs, and applies them to P2MP MPLS LSPs so that implementation and network operation stay simple ๐ง.
1.1. Design Considerations
An important design goal for LSP ping on P2MP MPLS LSPs is that every attempt is made to use or extend existing mechanisms rather than invent new ones ๐ ๏ธ.
Just like for P2P LSPs, a critical requirement is that echo request messages follow the same data path that normal MPLS packets traverse ๐ค๏ธ. But this idea needs to be extended for P2MP MPLS LSPs, because there an MPLS packet gets replicated so that it arrives at each egress (or leaf) of the P2MP tree ๐ณ.
MPLS echo requests are meant mainly to validate the data plane, and they can then be used to validate data-plane state against the control plane โ . They may also be used to bootstrap other Operations, Administration, and Maintenance (OAM) procedures, such as [RFC5884] ๐. As [RFC4379] points out, mechanisms that check the liveness, function, and consistency of the control plane are valuable, but they are not a feature of LSP ping and are not covered in this document ๐ โโ๏ธ.
As described in [RFC4379], to avoid potential denial-of-service attacks, it is RECOMMENDED to regulate the LSP ping traffic passed to the control plane ๐จ. A rate limiter should be applied to the incoming LSP ping traffic ๐ฆ.
1.2. Terminology
The terminology for P2MP MPLS used in this document can be found in [RFC4461] ๐. The terminology for MPLS OAM can be found in [RFC4379]. In particular, the notation <RSC> refers to the Return Subcode as defined in Section 3.1. of [RFC4379] ๐ง .
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] ๐ . These are the official requirement words, so they're in capitals for a reason โจ.
2. Notes on Motivation ๐
2.1. Basic Motivations for LSP Ping ๐ฆ
okay so [RFC4379] is where the original motivations come from, and they're copied here so everyone's on the same page ๐โจ
when an LSP fails to deliver user traffic, the MPLS control plane can't always notice ๐ญ so we need a tool that lets users catch those traffic "black holes" or misrouting within a reasonable period of time. we also need a way to isolate faults ๐
[RFC4379] does exactly that ๐ it's modeled on the ping/traceroute paradigm. ping (ICMP echo request [RFC792]) is for connectivity checks, and traceroute is for hop-by-hop fault localization as well as path tracing. [RFC4379] specifies a "ping mode" and a "traceroute" mode for testing MPLS LSPs ๐ง
the basic idea is to test that the packets belonging to a particular Forwarding Equivalence Class (FEC) actually end their MPLS path on an LSR that is an egress for that FEC ๐ [RFC4379] does this by sending a packet (called an "MPLS echo request") along the same data path as the other packets in that FEC. the MPLS echo request also carries info about the FEC whose MPLS path is being verified. it gets forwarded just like any other packet in that FEC ๐ซถ
in "ping" mode (basic connectivity check), the packet should reach the end of the path, and then it gets sent to the control plane of the egress LSR, which checks that it really is an egress for the FEC โ in "traceroute" mode (fault isolation), the packet is sent to the control plane of each transit LSR, which runs checks to make sure it really is a transit LSR for this path. that LSR also sends back extra info that helps compare the control plane against the data plane, aka making sure forwarding matches what the routing protocols decided the path should be ๐
one way to use these tools is to periodically ping a FEC to make sure connectivity is good. if the ping fails, you can then start a traceroute to figure out where the fault is ๐ you can also periodically traceroute FECs to verify forwarding matches the control plane, but ngl this puts a bigger burden on transit LSRs, so it should be used with caution ๐
2.2. Motivations for LSP Ping for P2MP LSPs ๐ธ
as [RFC4687] says, MPLS has been extended to cover P2MP LSPs ๐ just like with P2P MPLS LSPs, detecting, handling, and diagnosing control- and data-plane defects is critical. for operators running services on P2MP MPLS LSPs, knowing about those defects and how to handle them matters a lot, because they can affect the fundamentals of an MPLS network and also hit the service-level-specification commitments they've made to customers ๐ค
P2MP LDP [RFC6388] uses LDP to set up multicast LSPs. these LSPs send data from a single source to one or more destinations across the network, following the next hops that the routing protocols indicate. each LSP is identified by an MPLS multicast FEC ๐
P2MP MPLS TE LSPs [RFC4875] can be thought of as MPLS tunnels with one ingress and multiple egresses. these tunnels are built on P2MP LSPs and are explicitly routed through the network. there's no concept of a FEC, and no applicability of one, in the context of a P2MP MPLS TE LSP ๐
MPLS packets inserted at the ingress of a P2MP LSP get delivered equally (barring faults) to all egresses. so the basic idea of LSP ping for P2MP MPLS LSPs is to test that packets entering a particular P2MP LSP at the ingress actually end their MPLS path on the LSRs that are the (intended) egresses for that LSP ๐ฆ the idea can be extended to selectively check that those packets reach specific egresses too ๐ฏ
this technique makes the test by sending an LSP ping echo request message along the same data path as the MPLS packets. an echo request also carries the identification of the P2MP MPLS LSP (multicast LSP or P2MP TE LSP) being tested. the echo request is forwarded just like any other packet using that LSP, so it gets replicated at branch points of the LSP and should be delivered to all egresses ๐
in "ping" mode (basic connectivity check), the echo request should reach the end of the path. then it's sent to the control plane of the egress LSRs, which verify that they really are an egress (leaf) of the P2MP LSP โ an egress sends an echo reply message back to the ingress to confirm it received the echo request successfully (or to announce that it arrived where it shouldn't have) ๐ฌ
in "traceroute" mode (fault isolation), the echo request is sent to the control plane at each transit LSR, and that control plane checks that the LSR really is a transit LSR for this P2MP MPLS LSP. the transit LSR returns info about its outgoing paths. ingress LSRs can use that info to build topology, or downstream LSRs can use it to do extra label verification ๐งฉ
P2MP MPLS LSPs can have lots of egresses, and the person starting the ping or traceroute doesn't necessarily want info about the connectivity or path to every single one ๐ in fact, if you ping all egresses of a large P2MP MPLS LSP, you can expect a big pile of echo replies to hit the ingress all at once, more or less at the same time. under some circumstances that could cause congestion at or around the ingress LSR ๐ฑ so this document gives two mechanisms to control echo replies ๐ก๏ธ
the first lets responders randomly delay (or jitter) their replies, so there's less chance of swamping the ingress ๐ the second lets the initiator limit the scope of an LSP ping echo request (in ping or traceroute mode) to one specific intended egress ๐
LSP ping can periodically ping a P2MP MPLS LSP to make sure there's connectivity to any or all of the egresses. if the ping fails, the operator or an automated process can start a traceroute to find where the fault is in the network ๐ฆ a traceroute can also be used periodically to verify that data-plane forwarding matches the control-plane state, but ngl this adds to the burden on transit LSRs, so it should be used infrequently and with caution โ ๏ธ
quick heads-up: the traceroute checks are the heavy part, so keep them rare ๐
3. Packet Format ๐
the basic structure of the LSP ping packet stays the same as what [RFC4379] describes ๐งฑ some new TLVs and sub-TLVs are needed to support the new functionality. they're described in the following sections ๐
3.1. Identifying the LSP Under Test ๐
3.1.1. Identifying a P2MP MPLS TE LSP ๐ฆ
[RFC4379] defines how an MPLS TE LSP under test can be identified in an echo request. a Target FEC Stack TLV carries either an RSVP IPv4 Session or an RSVP IPv6 Session sub-TLV ๐ฆ
to identify the P2MP MPLS TE LSP under test, the echo request message MUST carry a Target FEC Stack TLV, and this MUST carry exactly one of two new sub-TLVs: either an RSVP P2MP IPv4 Session sub-TLV or an RSVP P2MP IPv6 Session sub-TLV ๐ซถ these sub-TLVs carry fields from the RSVP-TE P2MP SESSION and SENDER_TEMPLATE objects [RFC4875], so they give enough info to uniquely identify the LSP ๐
the new sub-TLVs get Sub-Type identifiers as shown below, and they're described in the following sections ๐
Sub-Type # Length Value Field
---------- ------ -----------
17 20 RSVP P2MP IPv4 Session
18 56 RSVP P2MP IPv6 Session
3.1.1.1. RSVP P2MP IPv4 Session Sub-TLV ๐
the value field of the RSVP P2MP IPv4 Session sub-TLV is laid out in the figure below ๐ผ๏ธ the fields come from the definitions of the P2MP IPv4 LSP SESSION Object and the P2MP IPv4 SENDER_TEMPLATE Object in Sections 19.1.1 and 19.2.1 of [RFC4875]. note that the Sub-Group ID of the SENDER_TEMPLATE is not required ๐
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| P2MP ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MUST Be Zero | Tunnel ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Extended Tunnel ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IPv4 Tunnel Sender Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MUST Be Zero | LSP ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3.1.1.2. RSVP P2MP IPv6 Session Sub-TLV ๐ง
the value field of the RSVP P2MP IPv6 Session sub-TLV is laid out in the figure below ๐บ๏ธ the values come from the definitions of the P2MP IPv6 LSP SESSION Object and the P2MP IPv6 SENDER_TEMPLATE Object in Sections 19.1.2 and 19.2.2 of [RFC4875]. note that the Sub-Group ID of the SENDER_TEMPLATE is not required ๐
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| P2MP ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MUST Be Zero | Tunnel ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Extended Tunnel ID |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| IPv6 Tunnel Sender Address |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MUST Be Zero | LSP ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3.1.2. Identifying a Multicast LDP LSP ๐
Okay so [RFC4379] already explains how a P2P LDP LSP under test gets identified in an echo request. ๐ It uses a Target FEC Stack TLV that carries one or more sub-TLVs (like an IPv4 Prefix FEC sub-TLV) to pin down the LSP. Totally clean.
But multicast LDP LSPs need their own vibe ๐ฆ. To identify one under test, the echo request MUST carry a Target FEC Stack TLV, and that TLV MUST carry exactly one of two brand-new sub-TLVs: either a Multicast P2MP LDP FEC Stack sub-TLV or a Multicast MP2MP LDP FEC Stack sub-TLV. These sub-TLVs borrow fields from the multicast LDP messages [RFC6388], so they have enough info to uniquely identify the LSP. Iconic. โจ
The new sub-TLVs get these sub-type identifiers, and we'll unpack them in the next section ๐:
Sub-Type # Length Value Field
---------- ------ -----------
19 Variable Multicast P2MP LDP FEC Stack
20 Variable Multicast MP2MP LDP FEC Stack
3.1.2.1. Multicast LDP FEC Stack Sub-TLVs ๐ธ
Both the Multicast P2MP and MP2MP LDP FEC Stack sub-TLVs share the exact same format, so bestie only has to learn it once ๐ซถ. Here's the layout:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Address Family | Address Length| Root LSR Addr |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
~ Root LSR Address (Cont.) ~
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Opaque Length | Opaque Value ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
~ ~
| |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Let's break down each field ๐ง :
- Address Family is a two-octet value taken from ADDRESS FAMILY NUMBERS in [IANA-AF]. It tells you what kind of address the Root LSR Address is ๐.
- Address Length is the length of the Root LSR Address, in octets ๐.
- Root LSR Address is the address of the LSR sitting at the root of the P2MP LSP, encoded according to the Address Family field ๐.
- Opaque Length is the length of the opaque value, in octets. Heads up: depending on how long the Root LSR Address is, this field might not land on a word boundary ๐.
- Opaque Value is an opaque value that uniquely identifies the P2MP LSP within the context of the Root LSR ๐.
Now the rules for the address lengths ๐ . If the Address Family is IPv4, the Address Length MUST be 4. If the Address Family is IPv6, the Address Length MUST be 16. No other Address Family values are defined right now, so nothing else to see here ๐ซ .
3.1.2.2. Applicability to Multipoint-to-Multipoint LSPs ๐ฆ
The mechanisms in this document can be extended to cover Multipoint-to-Multipoint (MP2MP) Multicast LSPs too, which is giving versatility ๐. In an MP2MP LSP tree, any leaf node can be treated like the head node of a P2MP tree. So for MPLS OAM purposes, the MP2MP tree can be treated like a bunch of P2MP trees, with each MP2MP leaf node acting like a P2MP head-end node. When one leaf node is playing the P2MP head-end role, the remaining leaf nodes act like egress or bud nodes. Main character energy ๐โจ.
3.2. Limiting the Scope of Responses ๐
Okay, this is where we stop everyone from replying at once ๐ โโ๏ธ. A new TLV is defined for the echo request message.
The P2MP Responder Identifier TLV gets TLV type value 11, and it's encoded like this ๐:
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 = 11 (P2MP Responder ID)| Length = Variable |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ Sub-TLVs ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Sub-TLVs:
Zero, one, or more sub-TLVs as defined below.
If no sub-TLVs are present, the TLV MUST be processed as if it were absent. If more than one sub-TLV is present, the first TLV MUST be processed as described in this document, and subsequent sub-TLVs SHOULD be ignored. Interpretation of additional sub-TLVs may be defined in future documents ๐ฎ.
The P2MP Responder Identifier TLV only means something on an echo request message ๐. If it shows up on an echo reply message, it MUST be ignored.
Four sub-TLVs are defined for the P2MP Responder Identifier TLV on the echo request message. They are ๐ซถ:
Sub-Type # Length Value Field
---------- ------ -----------
1 4 IPv4 Egress Address P2MP Responder
2 16 IPv6 Egress Address P2MP Responder
3 4 IPv4 Node Address P2MP Responder
4 16 IPv6 Node Address P2MP Responder
The content of these sub-TLVs is defined in the following sections. The doc also covers how the responding node is supposed to behave when it gets any of them ๐ง.
3.2.1. Egress Address P2MP Responder Sub-TLVs ๐
The IPv4 Egress Address P2MP Responder sub-TLV is encoded like this ๐:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sub-Type = 1 | Length = 4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 32-bit IPv4 Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The IPv6 Egress Address P2MP Responder sub-TLV is encoded like this ๐ธ:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sub-Type = 2 | Length = 16 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| 128-bit IPv6 Address |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
A node that receives an echo request with this sub-TLV present MUST respond if it lies on the path to the address in the sub-TLV, and MUST NOT respond if it does not lie on that path. For this to work, the address in the sub-TLV has to be known to the nodes upstream in the LSP ๐ง. That can happen when RSVP-TE is used to signal the P2MP LSP. In that case, this address is the one used in the Destination Address field of the S2L_SUB_LSP object, when the corresponding egress or bud node is signaled. So the IPv4 or IPv6 Egress Address P2MP Responder sub-TLV MAY be used in an echo request carrying an RSVP P2MP Session sub-TLV ๐ .
Plot twist though ๐ญ: in Multicast LDP, upstream LSRs have no way to know who the downstream leaf nodes are. So these TLVs can't be used to traceroute to a single node when a Multicast LDP FEC is in play, and the IPv4 or IPv6 Egress Address P2MP Responder sub-TLV SHOULD NOT be used with an echo request carrying a Multicast LDP FEC Stack sub-TLV. If a node does receive these TLVs in an echo request carrying Multicast LDP, it won't respond, because it has no idea whether it lies on the path to the address in the sub-TLV ๐.
3.2.2. Node Address P2MP Responder Sub-TLVs ๐ฆ
The IPv4 Node Address P2MP Responder sub-TLV is encoded like this ๐:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sub-Type = 3 | Length = 4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 32-bit IPv4 Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The IPv6 Node Address P2MP Responder sub-TLV is encoded like this ๐:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sub-Type = 4 | Length = 16 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| 128-bit IPv6 Address |
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The IPv4 or IPv6 Node Address P2MP Responder sub-TLVs MAY be used in an echo request carrying either an RSVP P2MP Session sub-TLV or a Multicast LDP FEC Stack sub-TLV ๐.
A node that receives an echo request with one of these sub-TLVs present MUST respond if the address in the sub-TLV matches any address local to the node, and MUST NOT respond if the address in the sub-TLV doesn't match any address local to the node ๐ โโ๏ธ. The address can belong to any physical interface, or it can be the router ID of the node itself ๐ง.
The address in this sub-TLV SHOULD belong to a transit, branch, bud, or egress node for that P2MP LSP ๐ซถ. Meanwhile, the address of a node that is not on the P2MP LSP MAY be used as a check to confirm that no reply is received ๐.
3.3. Preventing Congestion of Echo Replies ๐ธ
Okay this one is all about not flooding the network with replies ๐. A new TLV is defined for the Echo request message.
The Echo Jitter TLV gets TLV type value 12, and it's encoded like this โจ:
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 = 12 (Jitter TLV) | Length = 4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Jitter Time |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jitter Time ๐ฒ: this field gives the upper bound of the jitter period that a responding node should apply to decide how long to wait before sending an echo reply. A responding node MUST wait a random amount of time between zero milliseconds and the value in this field. The jitter time is in milliseconds.
The Echo Jitter TLV only means something on an echo request message ๐. If it shows up on an echo reply message, it MUST be ignored.
3.4. Respond Only If TTL Expired Flag ๐ฆ
okay so a brand new flag is joining the Global Flags field from [RFC4379] ๐ here's the glow-up layout:
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MBZ |T|V|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The V flag is described in [RFC4379] ๐
The T (Respond Only If TTL Expired) flag MUST be set only in the echo request packet by the sender. This flag MUST NOT be set in the echo reply packet. If this flag is set in an echo reply packet, then it MUST be ignored ๐
If the T flag is set to 0, then the receiving node MUST process the incoming echo request โจ
If the T flag is set to 1 and the TTL of the incoming MPLS label is equal to 1, then the receiving node MUST process the incoming echo request ๐
If the T flag is set to 1 and the TTL of the incoming MPLS label is more than 1, then the receiving node MUST drop the incoming echo request and MUST NOT send any echo reply to the sender ๐
If the T flag is set to 1 and there are no incoming MPLS labels in the echo request packet, then a bud node with PHP configured MAY choose to not respond to this echo request. All other nodes MUST ignore this bit and respond as per regular processing ๐ธ
3.5. Downstream Detailed Mapping TLV ๐
The Downstream Detailed Mapping TLV is described in [RFC6424]. A transit, branch or bud node can use the Downstream Detailed Mapping TLV to return multiple Return Codes for different downstream paths. This functionality can not be achieved via the Downstream Mapping TLV. As per Section 3.4 of [RFC6424], the Downstream Mapping TLV as described in [RFC4379] is being deprecated ๐ญ
Therefore, for P2MP, a node MUST support the Downstream Detailed Mapping TLV. The Downstream Mapping TLV [RFC4379] is not appropriate for P2MP traceroute functionality and MUST NOT be included in an Echo Request message. When responding to an RSVP IPv4/IPv6 P2MP Session FEC type or a Multicast P2MP/MP2MP LDP FEC type, a node MUST ignore any Downstream Mapping TLV it receives in the echo request and MUST continue processing as if the Downstream Mapping TLV is not present ๐ง
The details of the Return Codes to be used in the Downstream Detailed Mapping TLV are provided in Section 4 โจ
4. Operation of LSP Ping for a P2MP LSP ๐ง
This section describes how LSP ping is applied to P2MP MPLS LSPs. As mentioned previously, an important design consideration has been to extend the existing LSP ping mechanism in [RFC4379] rather than invent new mechanisms, which is so smart ๐
As specified in [RFC4379], MPLS LSPs can be tested via a "ping" mode or a "traceroute" mode. The ping mode is also known as "connectivity verification" and traceroute mode is also known as "fault isolation". Further details can be obtained from [RFC4379] ๐
This section specifies processing of echo requests for both ping and traceroute mode at various nodes (ingress, transit, etc.) of the P2MP LSP ๐
4.1. Initiating LSR Operations ๐ฆ
The LSR initiating the echo request will follow the procedures in [RFC4379]. The echo request will contain a Target FEC Stack TLV. To identify the P2MP LSP under test, this TLV will contain one of the new sub-TLVs defined in Section 3.1. Additionally, there may be other optional TLVs present ๐
4.1.1. Limiting Responses to Echo Requests ๐
As described in Section 2.2, it may be desirable to restrict the operation of P2MP ping or traceroute to a single egress. Since echo requests are forwarded through the data plane without interception by the control plane, there is no facility to limit the propagation of echo requests, and they will automatically be forwarded to all reachable egresses ๐
However, a single egress may be identified by the inclusion of a P2MP Responder Identifier TLV. The details of this TLV and its sub-TLVs are in Section 3.2. There are two main types of sub-TLVs in the P2MP Responder Identifier TLV: Node Address sub-TLV and Egress Address sub-TLV ๐
These sub-TLVs limit the replies either to the specified LSR only or to any LSR on the path to the specified LSR. The former capability is generally useful for ping mode, while the latter is more suited to traceroute mode. An initiating LSR may indicate that it wishes all egresses to respond to an echo request by omitting the P2MP Responder Identifier TLV ๐ธ
4.1.2. Jittered Responses to Echo Requests ๐ซถ
The initiating LSR MAY request that the responding LSRs introduce a random delay (or jitter) before sending the reply. The randomness of the delay allows the replies from multiple egresses to be spread over a time period. Thus, this technique is particularly relevant when the entire P2MP LSP is being pinged or traced since it helps prevent the initiating (or nearby) LSRs from being swamped by replies, or from discarding replies due to rate limits that have been applied ๐
It is desirable for the initiating LSR to be able to control the bounds of the jitter. If the tree size is small, only a small amount of jitter is required, but if the tree is large, greater jitter is needed โจ
The initiating LSR can supply the desired value of the jitter in the Echo Jitter TLV as defined in Section 3.3. If this TLV is present, the responding LSR MUST delay sending a reply for a random amount of time between zero milliseconds and the value indicated in the TLV. If the TLV is absent, the responding egress SHOULD NOT introduce any additional delay in responding to the echo request, but MAY delay according to local policy ๐
LSP ping MUST NOT be used to attempt to measure the round-trip time for data delivery. This is because the P2MP LSPs are unidirectional, and the echo reply is often sent back through the control plane. The timestamp fields in the echo request and echo reply packets MAY be used to deduce some information about delivery times, for example the variance in delivery times ๐ง
The use of echo jittering does not change the processes for gaining information, but note that the responding node MUST set the value in the Timestamp Received fields before applying any delay ๐
Echo reply jittering SHOULD be used for P2MP LSPs, although it MAY be omitted for simple P2MP LSPs or when the Node Address P2MP Responder sub-TLVs are used. If the Echo Jitter TLV is present in an echo request for any other type of LSPs, the responding egress MAY apply the jitter behavior as described here ๐ฆ
4.2. Responding LSR Operations ๐
Usually the echo request packet will reach the egress and bud nodes. In case of TTL Expiry, i.e., traceroute mode, the echo request packet may stop at branch or transit nodes. In both scenarios, the echo request will be passed on to the control plane for reply processing ๐
The operations at the receiving node are an extension to the existing processing as specified in [RFC4379]. As described in that document, a responding LSR SHOULD rate-limit the receipt of echo request messages. After rate-limiting, the responding LSR must verify the general sanity of the packet. If the packet is malformed or certain TLVs are not understood, the [RFC4379] procedures must be followed for echo reply. Similarly, the Reply Mode field determines if the reply is required or not (and the mechanism to send it back) ๐
For P2MP LSP ping and traceroute, i.e., if the echo request is carrying an RSVP P2MP FEC or a Multicast LDP FEC, the responding LSR MUST determine whether it is part of the P2MP LSP in question by checking with the control plane ๐ฅ
- If the node is not part of the P2MP LSP, it MUST respond according to [RFC4379] processing rules. ๐
- If the node is part of the P2MP LSP, the node must check whether or not the echo request is directed to it.
- If a P2MP Responder Identifier TLV is present, then the node must follow the procedures defined in Section 3.2 to determine whether or not it should respond to the request. The presence of a P2MP Responder Identifier TLV or a Downstream Detailed Mapping TLV might affect the Return Code. This is discussed in more detail later. ๐ธ
- If the P2MP Responder Identifier TLV is not present (or, in the error case, is present, but does not contain any sub-TLVs), then the node MUST respond according to [RFC4379] processing rules. โจ
4.2.1. Echo Reply Reporting ๐
Echo reply messages carry Return Codes and Subcodes to indicate the result of the LSP ping (when the ping mode is being used) as described in [RFC4379] ๐
When the responding node reports that it is an egress, it is clear that the echo reply applies only to that reporting node. Similarly, when a node reports that it does not form part of the LSP described by the FEC, then it is clear that the echo reply applies only to that reporting node. However, an echo reply message that reports an error from a transit node may apply to multiple egress nodes (i.e., leaves) downstream of the reporting node. In the case of the ping mode of operation, it is not possible to correlate the reporting node to the affected egresses unless the topology of the P2MP tree is already known, and it may be necessary to use the traceroute mode of operation to further diagnose the LSP ๐ต๏ธโโ๏ธ
Note that a transit node may discover an error, but it may also determine that while it does lie on the path of the LSP under test, it does not lie on the path to the specific egress being tested. In this case, the node SHOULD NOT generate an echo reply unless there is a specific error condition that needs to be communicated ๐
The following sections describe the expected values of Return Codes for various nodes in a P2MP LSP. It is assumed that the sanity and other checks have been performed and an echo reply is being sent back. As mentioned in Section 4.2, the Return Code might change based on the presence of a Responder Identifier TLV or Downstream Detailed Mapping TLV ๐ฆ
4.2.1.1. Responses from Transit and Branch Nodes ๐ท
The presence of a Responder Identifier TLV does not influence the choice of the Return Code. For a success response, the Return Code MAY be set to value 8 ('Label switched at stack-depth <RSC>'). The notation <RSC> refers to the Return Subcode as defined in Section 3.1. of [RFC4379]. For error conditions, use appropriate values defined in [RFC4379] ๐
The presence of a Downstream Detailed Mapping TLV will influence the choice of Return Code. As per [RFC6424], the Return Code in the echo reply header MAY be set to 'See DDM TLV for Return Code and Return Subcode' as defined in [RFC6424]. The Return Code for each Downstream Detailed Mapping TLV will depend on the downstream path as described in [RFC6424] ๐
There will be a Downstream Detailed Mapping TLV for each downstream path being reported in the echo reply. Hence, for transit nodes, there will be only one such TLV, and for branch nodes, there will be more than one. If there is an Egress Address Responder sub-TLV, then the branch node will include only one Downstream Detailed Mapping TLV corresponding to the downstream path required to reach the address specified in the Egress Address sub-TLV ๐
4.2.1.2. Responses from Egress Nodes ๐ธ
bestie, the presence of a Responder Identifier TLV does not influence the choice of the Return Code ๐
. For a success response, the Return Code MAY be set to value 3 (Replying router is an egress for the FEC at stack-depth <RSC>). For error conditions, use appropriate values defined in [RFC4379].
The presence of the Downstream Detailed Mapping TLV does not influence the choice of Return Code either. Egress nodes do not put any Downstream Detailed Mapping TLV in the echo reply [RFC6424] ๐ซถ.
4.2.1.3. Responses from Bud Nodes ๐
okay, bud nodes are giving drama ๐ญ. They're more complicated than the other node types because a bud node might act like an egress node, a transit node, or a mix of an egress and branch node. Which one it is depends on whether there's a Responder Identifier TLV and what type of sub-TLV is inside it. The Downstream Detailed Mapping TLV can also change the Return Code values.
To figure out how the bud node should behave, use the rules below. The whole point is to work out whether the echo request is meant for all nodes, only this node, another node reachable through this node, or a different section of the tree. If it's for all nodes, the node acts like a combination of egress and branch node. If it's only for this node, it acts like a pure egress node. If it's for a node further along or a different section of the tree, it acts like a transit node. And if it's none of those, no reply gets sent back ๐.
Node behavior rules:
- If the Responder Identifier TLV is not present, then the node will behave as a combination of egress and branch node.
- If the Responder Identifier TLV containing a Node Address sub-TLV is present, and:
- If the address specified in the sub-TLV matches to an address in the node, then the node will behave like a combination of egress and branch node.
- If the address specified in the sub-TLV does not match any address in the node, then no reply will be sent.
- If the Responder Identifier TLV containing an Egress Address sub-TLV is present, and:
- If the address specified in the sub-TLV matches to an address in the node, then the node will behave like an egress node only.
- If the node lies on the path to the address specified in the sub-TLV, then the node will behave like a transit node.
- If the node does not lie on the path to the address specified in the sub-TLV, then no reply will be sent.
Once the node behavior has been figured out, here are the possible Return Code values ๐:
- If the node is behaving as an egress node only, then for a success response, the Return Code MAY be set to value 3 (
Replying router is an egress for the FEC at stack-depth <RSC>). For error conditions, use appropriate values defined in [RFC4379]. The echo reply MUST NOT contain any Downstream Detailed Mapping TLV, even if one is present in the echo request. - If the node is behaving as a transit node, and:
- If a Downstream Detailed Mapping TLV is not present, then for a success response, the Return Code MAY be set to value 8 (
Label switched at stack-depth <RSC>). For error conditions, use appropriate values defined in [RFC4379]. - If a Downstream Detailed Mapping TLV is present, then the Return Code MAY be set to
See DDM TLV for Return Code and Return Subcodeas defined in [RFC6424]. The Return Code for the Downstream Detailed Mapping TLV will depend on the downstream path as described in [RFC6424]. There will be only one Downstream Detailed Mapping corresponding to the downstream path to the address specified in the Egress Address sub-TLV.
- If a Downstream Detailed Mapping TLV is not present, then for a success response, the Return Code MAY be set to value 8 (
- If the node is behaving as a combination of egress and branch node, and:
- If a Downstream Detailed Mapping TLV is not present, then for a success response, the Return Code MAY be set to value 3 (
Replying router is an egress for the FEC at stack-depth <RSC>). For error conditions, use appropriate values defined in [RFC4379]. - If a Downstream Detailed Mapping TLV is present, then for a success response, the Return Code MAY be set to value 3 (
Replying router is an egress for the FEC at stack-depth <RSC>). For error conditions, use appropriate values defined in [RFC4379]. The Return Code for each Downstream Detailed Mapping TLV will depend on the downstream path as described in [RFC6424]. There will be a Downstream Detailed Mapping for each downstream path from the node.
- If a Downstream Detailed Mapping TLV is not present, then for a success response, the Return Code MAY be set to value 3 (
4.3. Special Considerations for Traceroute ๐ฆ
4.3.1. End of Processing for Traceroutes ๐ง
As specified in [RFC4379], traceroute mode works by sending a series of echo requests with TTL values that keep going up one at a time. For regular P2P targets, this processing stops when a valid reply comes back from the intended egress, or when some errored return code shows up.
For P2MP targets, it's not always easy to tell when traceroute processing is done, since there are multiple egress nodes. Getting a valid reply from one egress won't signal the end of processing ๐ตโ๐ซ.
For P2MP TE LSPs, the initiating LSR already knows how many egress nodes there are and what their addresses are. So it can keep going until a valid reply has come back from every end point, as long as the replies can be matched correctly to the egress nodes โจ.
For Multicast LDP LSPs, though, the initiating LSR might not know about all of the egress nodes. So there might not be a definite way to estimate where traceroute processing ends.
Therefore, it is RECOMMENDED that traceroute operations provide for a configurable upper limit on TTL values. That way, the user can choose how deep the tree gets probed ๐.
4.3.2. Multiple Responses from Bud and Egress Nodes ๐ฅ
The P2MP traceroute may keep going even after it has received a valid reply from a bud or egress node, because there may be more nodes at deeper levels. So for later TTL values, a bud or egress node that already replied will still get new echo requests. Each echo request is handled independently from previous requests, which means these bud and egress nodes will keep responding to the traceroute echo requests. That can add extra processing work for both the initiating LSR and these bud or egress LSRs ๐ฉ.
To stop a bud or egress node from sending multiple replies in the same traceroute operation, a new "Respond Only If TTL Expired" flag is being introduced. This flag is described in Section 3.4.
It is RECOMMENDED that this flag be used for P2MP traceroute mode only. Using it can cut down on extra replies from bud and egress nodes. If PHP is being used in the P2MP tree, then bud and egress nodes won't get any labels with the echo request packet. So this mechanism won't work for PHP scenarios ๐.
4.3.3. Non-Response to Traceroute Echo Requests ๐
There are lots of reasons an ingress node might not get a reply to its echo request. For example, the transit node might have failed, or the transit node might not support LSP ping.
When the ingress doesn't receive a reply to an echo request, then (as per [RFC4379]) the next echo request with a larger TTL SHOULD be sent so it can keep tracing toward the egress. The ingress MAY halt the procedure at this point, though ๐. How long the ingress waits before sending the next echo request is an implementation choice.
4.3.4. Use of Downstream Detailed Mapping TLV in Echo Requests ๐
As described in Section 4.6 of [RFC4379], an initiating LSR, during traceroute, SHOULD copy the Downstream Mapping(s) into its next echo request(s). For P2MP LSPs, though, the initiating LSR gets multiple sets of Downstream Detailed Mapping TLVs from different nodes. It isn't practical to copy all of them into the next echo request, so this behavior gets modified for P2MP LSPs ๐ซ . If the echo request is destined for more than one node, then the Downstream IP Address field of the Downstream Detailed Mapping TLV MUST be set to the ALLROUTERS multicast address, and the Address Type field MUST be set to either IPv4 Unnumbered or IPv6 Unnumbered depending on the Target FEC Stack TLV.
If an Egress Address sub-TLV is being used, then the traceroute is limited to just one egress. So this traceroute basically acts like a P2P traceroute. In this case, as per Section 4.2, the echo replies from intermediate nodes will contain only one Downstream Detailed Mapping TLV, the one for the downstream path needed to reach the address specified in the Egress Address sub-TLV. For this case, the echo request packet MAY reuse a received Downstream Detailed Mapping TLV. That lets interface validation happen as per [RFC4379] โ .
4.3.5. Cross-Over Node Processing ๐ฆ
A cross-over node needs slightly different processing for traceroute mode. The definition of cross-over below is taken from [RFC4875]:
The term "cross-over" refers to the case of an ingress or transit node that creates a branch of a P2MP LSP, a cross-over branch, that intersects the P2MP LSP at another node farther down the tree. It is unlike re-merge in that, at the intersecting node, the cross-over branch has a different outgoing interface as well as a different incoming interface.
During traceroute, a cross-over node receives the echo requests via each of its input interfaces. So the Downstream Detailed Mapping TLV in the echo reply MUST carry information only about the outgoing interface corresponding to the input interface ๐ง .
If this restriction is applied, the cross-over node won't duplicate the outgoing interface information in each echo request it receives via the different input interfaces. That matches the actual packet replication in the data plane ๐.
5. Non-Compliant Routers ๐ โโ๏ธ
If a node for a P2MP LSP doesn't support MPLS LSP ping, then no reply will be sent. That causes an incorrect result on the initiating LSR. There's no protection for this situation, so operators may want to make sure all the nodes for P2MP LSPs are equally capable of supporting this function ๐ฌ.
If the non-compliant node is an egress, then traceroute mode can be used to verify the LSP nearly all the way to the egress, leaving the final hop to be verified manually.
If the non-compliant node is a branch or transit node, then it should not impact ping mode. However, the node won't respond during traceroute mode ๐ฅฒ.
6. OAM and Management Considerations ๐งโจ
okay so, the procedures in this document give you OAM functions for P2MP MPLS LSPs ๐, and they can also be used to enable bootstrapping of other OAM procedures ๐ง.
In order to be fully operational, a few things need to be considered ๐ :
- Scaling is the big one, bestie ๐ซถ. Only cautious use of LSP ping should be made. Sending an LSP ping to all egresses of a P2MP MPLS LSP could result in congestion at or near the ingress when the replies arrive ๐ญ.
- Further, incautious use of timers to generate LSP ping echo requests, either in ping mode or especially in traceroute, may lead to significant degradation of network performance ๐.
- Management interfaces should allow an operator full control over the operation of LSP ping ๐. In particular, such interfaces should provide the ability to limit the scope of an LSP ping echo request for a P2MP MPLS LSP to a single egress ๐ฆ.
- Such interfaces should also provide the ability to disable all active LSP ping operations, which is a quick escape if the network becomes congested ๐จ.
- A MIB module is required for the control and management of LSP ping operations, and to enable the reported information to be inspected ๐.
- There is no reason to believe this should not be a simple extension of the LSP ping MIB module used for P2P LSPs. Literally the same energy, just bigger ๐.
7. IANA Considerations ๐๐
7.1. New Sub-TLV Types
Four new sub-TLV types are defined for inclusion within the LSP ping [RFC4379] Target FEC Stack TLV (TLV type 1) ๐.
IANA has assigned sub-type values to the following sub-TLVs under TLV type 1 (Target FEC Stack) from the "Multi-Protocol Label Switching (MPLS) Label Switched Paths (LSPs) Ping Parameters" registry, "TLVs and sub-TLVs" sub-registry ๐๏ธ:
17 RSVP P2MP IPv4 Session (Section 3.1.1)
18 RSVP P2MP IPv6 Session (Section 3.1.1)
19 Multicast P2MP LDP FEC Stack (Section 3.1.2)
20 Multicast MP2MP LDP FEC Stack (Section 3.1.2)
7.2. New TLVs
Two new LSP ping TLV types are defined for inclusion in LSP ping messages ๐.
IANA has assigned a new value from the "Multi-Protocol Label Switching Architecture (MPLS) Label Switched Paths (LSPs) Ping Parameters" registry, "TLVs and sub-TLVs" sub-registry, as follows, using a Standards Action value ๐ฅ:
- 11 P2MP Responder Identifier TLV (see Section 3.2) is a mandatory TLV.
- Four sub-TLVs are defined:
- Sub-Type 1: IPv4 Egress Address P2MP Responder
- Sub-Type 2: IPv6 Egress Address P2MP Responder
- Sub-Type 3: IPv4 Node Address P2MP Responder
- Sub-Type 4: IPv6 Node Address P2MP Responder
- 12 Echo Jitter TLV (see Section 3.3) is a mandatory TLV.
7.3. New Global Flags Registry
IANA has created a new sub-registry of the "Multi-Protocol Label Switching (MPLS) Label Switched Paths (LSPs) Ping Parameters" registry ๐ธ. It's called the "Global Flags" registry, and it's giving organised ๐ .
This registry tracks the assignment of 16 flags in the Global Flags field of the MPLS LSP ping echo request message. The flags are numbered from 0 (most significant bit, transmitted first) to 15 ๐ฆ.
New entries are assigned by Standards Action.
Initial entries in the registry are as follows:
Bit number | Name | Reference
------------+----------------------------+--------------
15 | V Flag | [RFC4379]
14 | T Flag | [RFC6425]
13-0 | Unassigned |
8. Security Considerations ๐จ๐
Okay bestie, this part is SERIOUS ๐ญ. Read it carefully.
This document does not introduce security concerns over and above those described in [RFC4379]. Note that because of the scalability implications of many egresses to P2MP MPLS LSPs, there is a stronger concern about regulating the LSP ping traffic passed to the control plane by the use of a rate limiter applied to the LSP ping well-known UDP port ๐ก๏ธ. This rate limiting might lead to false indications of LSP failure ๐. So be careful with it, fr fr.
9. Acknowledgements ๐ซถ๐ท
The authors would like to acknowledge the authors of [RFC4379] for their work, which is substantially re-used in this document ๐. Also, thanks to the members of the MBONED working group for their review of this material, to Daniel King and Mustapha Aissaoui for their reviews, and to Yakov Rekhter for useful discussions ๐.
The authors would like to thank Bill Fenner, Vanson Lim, Danny Prairie, Reshad Rahman, Ben Niven-Jenkins, Hannes Gredler, Nitin Bahadur, Tetsuya Murakami, Michael Hua, Michael Wildt, Dipa Thakkar, Sam Aldrin, and IJsbrand Wijnands for their comments and suggestions ๐. Everyone who helped is iconic, no notes โจ.
10. References ๐
10.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC4379] Kompella, K. and G. Swallow, "Detecting Multi-Protocol
Label Switched (MPLS) Data Plane Failures", RFC 4379,
February 2006.
[RFC6424] Bahadur, N., Kompella, K., and G. Swallow, "Mechanism for
Performing LSP-Ping over MPLS Tunnels", RFC 6424,
November 2011.
10.2. Informative References
[IANA-AF] IANA Assigned Port Numbers,
<http://www.iana.org/assignments/address-family-numbers>.
[RFC792] Postel, J., "Internet Control Message Protocol", STD 5,
RFC 792, September 1981.
[RFC4461] Yasukawa, S., Ed., "Signaling Requirements for Point-to-
Multipoint Traffic-Engineered MPLS Label Switched Paths
(LSPs)", RFC 4461, April 2006.
[RFC4687] Yasukawa, S., Farrel, A., King, D., and T. Nadeau,
"Operations and Management (OAM) Requirements for Point-
to-Multipoint MPLS Networks", RFC 4687, September 2006.
[RFC4875] Aggarwal, R., Ed., Papadimitriou, D., Ed., and S.
Yasukawa, Ed., "Extensions to Resource Reservation
Protocol - Traffic Engineering (RSVP-TE) for Point-to-
Multipoint TE Label Switched Paths (LSPs)", RFC 4875, May
2007.
[RFC5884] Aggarwal, R., Kompella, K., Nadeau, T., and G. Swallow,
"Bidirectional Forwarding Detection (BFD) for MPLS Label
Switched Paths (LSPs)", RFC 5884, June 2010.
[RFC6348] Le Roux, JL., Ed., and T. Morin, Ed., "Requirements for
Point-to-Multipoint Extensions to the Label Distribution
Protocol", RFC 6348, September 2011.
[RFC6388] Wijnands, IJ., Ed., Minei, I., Ed., Kompella, K., and B.
Thomas, "Label Distribution Protocol Extensions for
Point-to-Multipoint and Multipoint-to-Multipoint Label
Switched Paths", RFC 6388, November 2011.
Authors' Addresses ๐๐
Shaleen Saxena
Cisco Systems, Inc.
1414 Massachusetts Ave
Boxborough, MA 01719
EMail: ssaxena@cisco.com
George Swallow
Cisco Systems, Inc.
1414 Massachusetts Ave
Boxborough, MA 01719
EMail: swallow@cisco.com
Zafar Ali
Cisco Systems Inc.
2000 Innovation Drive
Kanata, ON, K2K 3E8, Canada.
Phone: 613-889-6158
EMail: zali@cisco.com
Adrian Farrel
Juniper Networks
EMail: adrian@olddog.co.uk
Seisho Yasukawa
NTT Corporation
3-9-11, Midori-Cho Musashino-Shi
Tokyo 180-8585 Japan
Phone: +81 422 59 2684
EMail: yasukawa.seisho@lab.ntt.co.jp
Thomas D. Nadeau
CA Technologies, Inc.
273 Corporate Drive
Portsmouth, NH 03801
EMail: thomas.nadeau@ca.com
๐ฆ where this page comes from
- ietf: rfc6425 2011-11
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms