One document matched: draft-akiya-mpls-lsp-ping-lag-multipath-02.xml
<?xml version="1.0" encoding="US-ASCII"?>
<!-- This template is for creating an Internet Draft using xml2rfc,
which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- used by XSLT processors -->
<!-- For a complete list and description of processing instructions (PIs),
please see http://xml.resource.org/authoring/README.html. -->
<!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use.
(Here they are set differently than their defaults in xml2rfc v1.32) -->
<?rfc strict="yes" ?>
<!-- give errors regarding ID-nits and DTD validation -->
<!-- control the table of contents (ToC) -->
<?rfc toc="yes"?>
<!-- generate a ToC -->
<?rfc tocdepth="4"?>
<!-- the number of levels of subsections in ToC. default: 3 -->
<!-- control references -->
<?rfc symrefs="yes"?>
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
<?rfc sortrefs="yes" ?>
<!-- sort the reference entries alphabetically -->
<!-- control vertical white space
(using these PIs as follows is recommended by the RFC Editor) -->
<?rfc compact="yes" ?>
<!-- do not start each main section on a new page -->
<?rfc subcompact="no" ?>
<!-- keep one blank line between list items -->
<!-- end of list of popular I-D processing instructions -->
<rfc category="std" docName="draft-akiya-mpls-lsp-ping-lag-multipath-02" ipr="trust200902" updates="4379,6424">
<!-- category values: std, bcp, info, exp, and historic
ipr values: full3667, noModification3667, noDerivatives3667
you can add the attributes updates="NNNN" and obsoletes="NNNN"
they will automatically be output with "(if approved)" -->
<!-- ***** FRONT MATTER ***** -->
<front>
<title abbrev="LSP Ping LAG Multipath">
Label Switched Path (LSP) Ping/Trace Multipath Support for Link Aggregation Group (LAG) Interfaces
</title>
<!-- add 'role="editor"' below for the editors if appropriate -->
<!-- Another author who claims to be an editor -->
<author fullname="Nobo Akiya" initials="N."
surname="Akiya">
<organization>Cisco Systems</organization>
<address>
<email>nobo@cisco.com</email>
</address>
</author>
<author fullname="George Swallow" initials="G."
surname="Swallow">
<organization>Cisco Systems</organization>
<address>
<email>swallow@cisco.com</email>
</address>
</author>
<author fullname="Stephane Litkowski" initials="S."
surname="Litkowski">
<organization>Orange</organization>
<address>
<email>stephane.litkowski@orange.com</email>
</address>
</author>
<author fullname="Bruno Decraene" initials="B."
surname="Decraene">
<organization>Orange</organization>
<address>
<email>bruno.decraene@orange.com</email>
</address>
</author>
<author fullname="John E. Drake" initials="J."
surname="Drake">
<organization>Juniper Networks</organization>
<address>
<email>jdrake@juniper.net</email>
</address>
</author>
<date year="2014" />
<area>MPLS Working Group</area>
<workgroup>Internet Engineering Task Force</workgroup>
<!-- WG name at the upperleft corner of the doc,
IETF is fine for individual submissions.
If this element is not present, the default is "Network Working Group",
which is used by the RFC Editor as a nod to the history of the IETF. -->
<keyword>MPLS</keyword>
<keyword>LSP Ping</keyword>
<keyword>LAG</keyword>
<!-- Keywords will be incorporated into HTML output
files in a meta tag but they have no effect on text or nroff
output. If you submit your draft to the RFC Editor, the
keywords will be used for the search engine. -->
<abstract>
<t>This document defines an extension to the Multiprotocol Label Switching (MPLS) Label Switched Path (LSP) Ping and Traceroute to describe Multipath Information for Link Aggregation (LAG) member links separately, thus allowing MPLS LSP Ping and Traceroute to discover and exercise specific paths of layer 2 (L2) Equal-Cost Multipath (ECMP) over LAG interfaces.</t>
<t>This document updates RFC4379 and RFC6424.</t>
</abstract>
<note title="Requirements Language">
<t>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 <xref target="RFC2119">RFC 2119</xref>.</t>
</note>
</front>
<middle>
<section title="Introduction" anchor="INTRO">
<section title="Terminology">
<t>The following acronyms/terminologies are used in this document:
<list style="symbols">
<t>MPLS - Multiprotocol Label Switching.</t>
<t>LSP - Label Switched Path.</t>
<t>LSR - Label Switching Router.</t>
<t>ECMP - Equal-Cost Multipath.</t>
<t>LAG - Link Aggregation.</t>
<t>Initiating LSR - LSR which sends MPLS echo request.</t>
<t>Responder LSR - LSR which receives MPLS echo request and sends MPLS echo reply.</t>
</list>
</t>
</section>
<section title="Background">
<t>The Multiprotocol Label Switching (MPLS) Label Switched Path (LSP) Ping and Traceroute <xref target="RFC4379" /> are powerful tools designed to diagnose all available layer 3 (L3) paths of LSPs, i.e. provides diagnostic coverage of L3 Equal-Cost Multipath (ECMP). In many MPLS networks, Link Aggregation (LAG) as defined in <xref target="IEEE802.1AX" />, which provide layer 2 (L2) ECMP, are often used for various reasons. MPLS LSP Ping and Traceroute tools were not designed to discover and exercise specific paths of L2 ECMP. Result raises a limitation for following scenario when LSP X traverses over LAG Y:
<list style="symbols">
<t>MPLS switching of LSP X over one or more member links of LAG Y is succeeding.</t>
<t>MPLS switching of LSP X over one or more member links of LAG Y is failing.</t>
<t>MPLS echo request for LSP X over LAG Y is load balanced over a member link which is MPLS switching successfully.</t>
</list>
With above scenario, MPLS LSP Ping and Traceroute will not be able to detect the MPLS switching failure of problematic member link(s) of the LAG. In other words, lack of L2 ECMP discovery and exercise capability can produce an outcome where MPLS LSP Ping and Traceroute can be blind to MPLS switching failures over LAG interface that are impacting MPLS traffic. It is, thus, desirable to extend the MPLS LSP Ping and Traceroute to have deterministic diagnostic coverage of LAG interfaces.</t>
</section>
</section>
<section title="Overview">
<t>This document defines an extension to the MPLS LSP Ping and Traceroute to describe Multipath Information for LAG member links separately, thus allowing MPLS LSP Ping and Traceroute to discover and exercise specific paths of L2 ECMP over LAG interfaces. Reader is expected to be familiar with mechanics of the MPLS LSP Ping and Traceroute described in Section 3.3 of <xref target="RFC4379" /> and Downstream Detailed Mapping TLV (DDMAP) described in Section 3.3 of <xref target="RFC6424" />. </t>
<t>MPLS echo request carries a DDMAP and an optional TLV to indicate that separate load balancing information for each L2 nexthop over LAG is desired in MPLS echo reply. Responder LSR places the same optional TLV in the MPLS echo reply to provide acknowledgement back to the initiator. It also adds, for each downstream LAG member, a load balance information (i.e. multipath information and interface index). For example:
<figure align="left"><preamble></preamble><artwork align="left">
<----- LDP Network ----->
+-------+
| |
A-------B=======C-------E
| |
+-------D-------+
---- Non-LAG
==== LAG comprising of two member links
Figure 1: Example LDP Network
</artwork></figure>
When node A is initiating LSP Traceroute to node E, node B will return to node A load balance information for following entries.
<list style="numbers">
<t>Downstream C over Non-LAG (upper path).</t>
<t>First Downstream C over LAG (middle path).</t>
<t>Second Downstream C over LAG (middle path).</t>
<t>Downstream D over Non-LAG (lower path).</t>
</list>
This document defines:
<list style="symbols">
<t>In <xref target="_DISCOVER" />, a mechanism to discover L2 ECMP multipath information;</t>
<t>In <xref target="_TRAVERSE" />, a mechanism to validate L2 ECMP traversal in some LAG provisioning models;</t>
<t>In <xref target="LAG_DOWN_TLV" />, the LAG Interface Info TLV;</t>
<t>In <xref target="DS_Flags" />, the LAG Description Indicator flag;</t>
<t>In <xref target="_INT_IND_DDMAP" />, the Interface Index Sub-TLV;</t>
<t>In <xref target="_D_ILS" />, the Detailed Interface and Label Stack TLV;</t>
<t>In <xref target="_LAG_L2_ISSUES" />, issues with LAG having an L2 Switch.</t>
</list>
Note that the mechanism described in this document does not impose any changes to scenarios where an LSP is pinned down to a particular LAG member (i.e. the LAG is not treated as one logical interface by the LSP).
</t>
</section>
<section title="Mechanism to Discover L2 ECMP Multipath" anchor="_DISCOVER">
<t>The MPLS echo request carries a DDMAP and the LAG Interface Info TLV (described in <xref target="LAG_DOWN_TLV" />) to indicate that separate load balancing information for each L2 nexthop over LAG is desired in MPLS echo reply. Responder LSRs that understand the LAG Interface Info TLV but unable to describe outgoing LAG member links separately MUST add the LAG Interface Info TLV in the MPLS echo reply to provide acknowledgement back to the initiating LSR. The Downstream LAG Info Accommodation flag MUST NOT be set in LAG Interface Info Flags. The responder LSRs that understands the LAG Interface Info TLV and able to describe outgoing LAG member links separately MUST use the follow procedures, regardless of whether or not outgoing interfaces include LAG interfaces:
<list style="symbols">
<t>MUST add the LAG Interface Info TLV in the MPLS echo reply to provide acknowledgement back to the initiator. The Downstream LAG Info Accommodation flag MUST be set in the LAG Interface Info Flags field.</t>
<t>For each downstream that is a LAG interface:
<list style="symbols">
<t>MUST add DDMAP in the MPLS echo reply.</t>
<t>MUST set the LAG Description Indicator flag in the DS Flags field (described in <xref target="DS_Flags" />) of the DDMAP.</t>
<t>In the DDMAP, Interface Index Sub-TLV and Multipath Data Sub-TLV are to describe each LAG member link. All other fields of the DDMAP are to describe the LAG interface.</t>
<t>For each LAG member link of this LAG interface:
<list style="symbols">
<t>MUST add an Interface Index Sub-TLV (described in <xref target="_INT_IND_DDMAP" />) with the LAG Member Link Indicator flag set in the Interface Index Flags field, describing this LAG member link.</t>
<t>MUST add an Multipath Data Sub-TLV for this LAG member link, if received DDMAP requested multipath information.</t>
</list>
</t>
</list>
</t>
</list>
When both the Interface Index Sub-TLV and the Multipath Data Sub-TLV is placed in the DDMAP to describe a LAG member link, Interface Index Sub-TLV MUST be added first with Multipath Data Sub-TLV immediately following.</t>
<t>For example, a responder LSR possessing a LAG interface with two member links would send the following DDMAP for this LAG interface:
<figure align="left"><preamble/><artwork align="left">
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| DDMAP fields describing LAG interface with DS Flags G set |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface Index Sub-TLV of LAG member link #1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Multipath Data Sub-TLV LAG member link #1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface Index Sub-TLV of LAG member link #2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Multipath Data Sub-TLV LAG member link #2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label Stack Sub-TLV |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: Example of DDMAP in MPLS Echo Reply
</artwork></figure>
These procedures allow initiating LSR to:
<list style="symbols">
<t>Mandate the responder LSR to always add the LAG Interface Info TLV in the MPLS echo reply. This allows the initiating LSR to identify whether or not the responder LSR understands the LAG Interface Info TLV and can describe outgoing LAG member links separately.</t>
<t>Utilize the value of the LAG Description Indicator flag in DS Flags to identify whether each DDMAP describes a LAG interface or a non-LAG interface.</t>
<t>Obtain multipath information which is expected to traverse the specific LAG member link described by corresponding interface index.</t>
</list>
When an initiating LSR receives a DDMAP containing LAG member information from a downstream LSR with TTL=n, then the subsequent DDMAP sent by the initiating LSR to the downstream LSR with TTL=n+1 through a particular LAG member link MUST be updated with following procedures:
<list style="symbols">
<t>The Interface Index Sub-TLVs MUST NOT be present in the sending DDMAP.</t>
<t>The Multipath Data Sub-TLVs SHOULD be updated to include just the one corresponding to the LAG member link being traversed. The initiating LSR MAY combine the Multipath Data Sub-TLVs for all LAG member links into a single Multipath Data Sub-TLV, but there MUST be only one Multipath Data Sub-TLV in the sending DDMAP.</t>
<t>All other fields of the DDMAP are to comply with procedures described in <xref target="RFC6424" />.</t>
</list>
Using the DDMAP example described in the Figure 2, the DDMAP being sent by the initiating LSR through LAG member link #1 to the next downstream LSR should be:
<figure align="left"><preamble/><artwork align="left">
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| DDMAP fields describing LAG interface with DS Flags G set |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Multipath Data Sub-TLV LAG member link #1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label Stack Sub-TLV |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 3: Example of DDMAP in MPLS Echo Request
</artwork></figure>
</t>
</section>
<section title="Mechanism to Validate L2 ECMP Traversal" anchor="_TRAVERSE">
<t>This document does not update the FEC validation procedures nor the DDMAP validation procedures. Rather this document provides the mechanism for the initiating LSR to obtain additional information from the downstream LSRs when incoming and/or outgoing interfaces are LAGs. With this additional information, it is the responsibility of the initiating LSR to validate the L2 ECMP traversal.</t>
<t>The MPLS echo request is sent with a DDMAP with DS Flags I set and the optional LAG Interface Info TLV to indicate the request for Detailed Interface and Label Stack TLV with additional LAG member link information (i.e. interface index) in the MPLS echo reply. Responder LSRs that understands the LAG Interface Info TLV but unable to describe incoming LAG member link MUST add the LAG Interface Info TLV in the MPLS echo reply to provide acknowledgement back to the initiator. The Upstream LAG Info Accommodation flag MUST NOT be set in LAG Interface Info Flags. The responder LSRs that understands the LAG Interface Info TLV and able to describe incoming LAG member link MUST use the following procedures, regardless of whether or not incoming interface was a LAG interface:
<list style="symbols">
<t>Add the LAG Interface Info TLV in the MPLS echo reply to provide acknowledgement back to the initiator. The Upstream LAG Info Accommodation flag MUST be set in the LAG Interface Info Flags field.</t>
<t>When the received DDMAP had DS Flags I set, add the Detailed Interface and Label Stack TLV (described in <xref target="_D_ILS" />) in the MPLS echo reply.</t>
<t>When the received DDMAP had DS Flags I set and incoming interface was a LAG, add the Incoming Interface Index Sub-TLV (described in <xref target="_IN_INT_IND" />). The LAG Member Link Indicator flag MUST be set in the Interface Index Flags field, and the Interface Index field set to the LAG member link which received the MPLS echo request.</t>
</list>
These procedures allow initiating LSR to:
<list style="symbols">
<t>Identify whether or not the responder LSR understands the LAG Interface Info TLV and can describe the incoming LAG member links (the responder LSR is mandated to always add the LAG Interface Info TLV in the MPLS echo reply).</t>
</list>
Along with procedures described in <xref target="_DISCOVER" />, described procedures in this section will allow an initiating LSR to know:
<list style="symbols">
<t>The expected load balance information of every LAG member link, at LSR with TTL=n.</t>
<t>With specific entropy, the expected interface index of the outgoing LAG member link at TTL=n.</t>
<t>With specific entropy, the interface index of the incoming LAG member link at TTL=n+1.</t>
</list>
Expectation is that there's a relationship between the interface index of the outgoing LAG member link at TTL=n and the interface index of the incoming LAG member link at TTL=n+1 for all discovered entropies. In other words, set of entropies that load balances to outgoing LAG member link X at TTL=n should all reach the nexthop on same incoming LAG member link Y at TTL=n+1.</t>
<t>With additional logics added in the initiating LSR, following checks can be performed:
<list style="symbols">
<t>Success case:
<list style="symbols">
<t>Traversing LAG member=1 at TTL=n results in LAG member=1' as the incoming interface at TTL=n+1.</t>
<t>Traversing LAG member=2 at TTL=n results in LAG member=2' as the incoming interface at TTL=n+1.</t>
</list>
</t>
<t>Error case:
<list style="symbols">
<t>Traversing LAG member=1 at TTL=n results in LAG member=1' as the incoming interface at TTL=n+1.</t>
<t>Traversing LAG member=2 at TTL=n results in LAG member=1' as the incoming interface at TTL=n+1.</t>
</list>
</t>
</list>
Note that defined procedures will provide a deterministic result for LAG interfaces that are back-to-back connected between routers (i.e. no L2 switch in between). If there is a L2 switch between LSR at TTL=n and LSR at TTL=n+1, there is no guarantee that traversal of every LAG member link at TTL=n will result in reaching different interface index at TTL=n+1. Issues resulting from LAG with L2 switch in between are further described in <xref target="_LAG_L2_ISSUES" />. LAG provisioning models in operated network should be considered when analyzing the output of LSP Traceroute exercising L2 ECMPs.</t>
</section>
<section title="LAG Interface Info TLV" anchor="LAG_DOWN_TLV">
<t>The LAG Interface Info object is a new TLV that MAY be included in the MPLS echo request message. An MPLS echo request MUST NOT include more than one LAG Interface Info object. Presence of LAG Interface Info object is a request that responder LSR describes upstream and downstream LAG interfaces according to procedures defined in this document. If the responder LSR is able to accommodate this request, then the LAG Interface Info object MUST be included in the MPLS echo reply message.</t>
<t>LAG Interface Info TLV Type is TBD1. Length is 4. The Value field of LAG Interface TLV has following format:
<figure align="left"><preamble/><artwork align="left">
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LAG Interface Info Flags | Must Be Zero |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 4: LAG Interface Info TLV
</artwork></figure>
LAG Interface Info Flags
<list>
<t>LAG Interface Info Flags field is a bit vector with following format.
<figure align="left"><preamble/><artwork align="left">
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Must Be Zero (Reserved) |U|D|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork></figure>
Two flags are defined: U and D. The remaining flags MUST be set to zero when sending and ignored on receipt. Both U and D flags MUST be cleared in MPLS echo request message when sending, and ignored on receipt. Either or both U and D flags MAY be set in MPLS echo reply message.
<figure align="left"><preamble/><artwork align="left">
Flag Name and Meaning
---- ----------------
U Upstream LAG Info Accommodation
When this flag is set, LSR is capable of placing Incoming
Interface Index Sub-TLV, describing LAG member link, in
the Detailed Interface and Label Stack TLV.
D Downstream LAG Info Accommodation
When this flag is set, LSR is capable of placing Interface
Index Sub-TLV and Multipath Data Sub-TLV, describing LAG
member link, in the Downstream Detailed Mapping TLV.
</artwork></figure>
</t>
</list>
</t>
</section>
<section title="DDMAP TLV DS Flags: G" anchor="DS_Flags">
<t>One flag, G, is added in DS Flags field of the DDMAP TLV. In the MPLS echo request message, G flag MUST be cleared when sending, and ignored on receipt. In the MPLS echo reply message, G flag MUST be set if the DDMAP TLV describes a LAG interface. It MUST be cleared otherwise.</t>
<t>
DS Flags
<list>
<t>DS Flags G is added, in Bit Number 3, in DS Flags bit vector.
<figure align="left"><preamble/><artwork align="left">
0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
| MBZ |G|MBZ|I|N|
+-+-+-+-+-+-+-+-+
</artwork></figure>
<figure align="left"><preamble/><artwork align="left">
Flag Name and Meaning
---- ----------------
G LAG Description Indicator
When this flag is set, DDMAP describes a LAG interface.
</artwork></figure>
</t>
</list>
</t>
</section>
<section title="Interface Index Sub-TLV" anchor="_INT_IND_DDMAP">
<t>The Interface Index object is a Sub-TLV that MAY be included in a DDMAP TLV. Zero or more Interface Index object MAY appear in a DDMAP TLV. The Interface Index Sub-TLV describes the index assigned by local LSR to the egress interface.</t>
<t>Interface Index Sub-TLV Type is TBD2. Length is 8, and the Value field has following format:
<figure align="left"><preamble/><artwork align="left">
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface Index Flags | Must Be Zero |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface Index |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 5: Interface Index Sub-TLV
</artwork></figure>
Interface Index Flags
<list>
<t>Interface Index Flags field is a bit vector with following format.
<figure align="left"><preamble/><artwork align="left">
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Must Be Zero (Reserved) |M|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork></figure>
One flag is defined: M. The remaining flags MUST be set to zero when sending and ignored on receipt.
<figure align="left"><preamble/><artwork align="left">
Flag Name and Meaning
---- ----------------
M LAG Member Link Indicator
When this flag is set, interface index described in
this sub-TLV is member of a LAG.
</artwork></figure>
</t>
</list>
</t>
<t>Interface Index
<list>
<t>Index assigned by the LSR to this interface.</t>
</list>
</t>
</section>
<section title="Detailed Interface and Label Stack TLV" anchor="_D_ILS">
<t>The Detailed Interface and Label Stack object is a TLV that MAY be included in a MPLS echo reply message to report the interface on which the MPLS echo request message was received and the label stack that was on the packet when it was received. A responder LSR MUST NOT insert more than one instance of this TLV. This TLV allows the initiating LSR to obtain the exact interface and label stack information as it appears at the responder LSR.</t>
<t>Detailed Interface and Label Stack TLV Type is TBD3. Length is K + Sub-TLV Length, and the Value field has following format:
<figure align="left"><preamble/><artwork align="left">
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 Type | Must Be Zero |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IP Address (4 or 16 octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface (4 or 16 octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Must Be Zero | Sub-TLV Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. .
. List of Sub-TLVs .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 6: Detailed Interface and Label Stack TLV
</artwork></figure>
The Detailed Interface and Label Stack TLV format is derived from the Interface and Label Stack TLV format (from <xref target="RFC4379" />). Two changes are introduced. First is that label stack, which is of variable length, is converted into a sub-TLV. Second is that a new sub-TLV is added to describe an interface index. The fields of Detailed Interface and Label Stack TLV have the same use and meaning as in <xref target="RFC4379" />. A summary of the fields taken from the Interface and Label Stack TLV is as below:
<list>
<t>Address Type
<list>
<t>The Address Type indicates if the interface is numbered or unnumbered. It also determines the length of the IP Address and Interface fields. The resulting total for the initial part of the TLV is listed in the table below as "K Octets". The Address Type is set to one of the following values:
<figure align="left"><preamble/><artwork align="left">
Type # Address Type K Octets
------ ------------ --------
1 IPv4 Numbered 16
2 IPv4 Unnumbered 16
3 IPv6 Numbered 40
4 IPv6 Unnumbered 28
</artwork></figure>
</t>
</list>
</t>
<t>IP Address and Interface
<list>
<t>IPv4 addresses and interface indices are encoded in 4 octets; IPv6 addresses are encoded in 16 octets.</t>
<t>If the interface upon which the echo request message was received is numbered, then the Address Type MUST be set to IPv4 Numbered or IPv6 Numbered, the IP Address MUST be set to either the LSR's Router ID or the interface address, and the Interface MUST be set to the interface address.</t>
<t>If the interface is unnumbered, the Address Type MUST be either IPv4 Unnumbered or IPv6 Unnumbered, the IP Address MUST be the LSR's Router ID, and the Interface MUST be set to the index assigned to the interface.</t>
<t>Note: Usage of IPv6 Unnumbered has the same issue as <xref target="RFC4379" />, described in Section 3.4.2 of <xref target="I-D.ietf-mpls-ipv6-only-gap" />. A solution should be considered an applied to both <xref target="RFC4379" /> and this document.</t>
</list>
</t>
<t>Sub-TLV Length
<list>
<t>Total length in octets of the sub-TLVs associated with this TLV.</t>
</list>
</t>
</list>
</t>
<section title="Sub-TLVs">
<t>This section defines the sub-TLVs that MAY be included as part of the Detailed Interface and Label Stack TLV.
<figure align="left"><preamble/><artwork align="left">
Sub-Type Value Field
--------- ------------
1 Incoming Label stack
2 Incoming Interface Index
</artwork></figure>
</t>
<section title="Incoming Label Stack Sub-TLV">
<t>The Incoming Label Stack sub-TLV contains the label stack as received by the LSR. If any TTL values have been changed by this LSR, they SHOULD be restored.</t>
<t>Incoming Label Stack Sub-TLV Type is 1. Length is variable, and the Value field has following format:
<figure align="left"><preamble/><artwork align="left">
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label | TC |S| TTL |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. .
. .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label | TC |S| TTL |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 7: Incoming Label Stack Sub-TLV
</artwork></figure>
</t>
</section>
<section title="Incoming Interface Index Sub-TLV" anchor="_IN_INT_IND">
<t>The Incoming Interface Index object is a Sub-TLV that MAY be included in a Detailed Interface and Label Stack TLV. The Incoming Interface Index Sub-TLV describes the index assigned by this LSR to the interface which received the MPLS echo request message.</t>
<t>Incoming Interface Index Sub-TLV Type is 2. Length is 8, and the Value field has following format:
<figure align="left"><preamble/><artwork align="left">
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface Index Flags | Must Be Zero |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface Index |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 8: Incoming Interface Index Sub-TLV
</artwork></figure>
Interface Index Flags
<list>
<t>Interface Index Flags field is a bit vector with following format.
<figure align="left"><preamble/><artwork align="left">
0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Must Be Zero (Reserved) |M|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork></figure>
One flag is defined: M. The remaining flags MUST be set to zero when sent and ignored on receipt.
<figure align="left"><preamble/><artwork align="left">
Flag Name and Meaning
---- ----------------
M LAG Member Link Indicator
When this flag is set, the interface index described in
this sub-TLV is a member of a LAG.
</artwork></figure>
</t>
</list>
</t>
<t>Interface Index
<list>
<t>Index assigned by the LSR to this interface.</t>
</list>
</t>
</section>
</section>
</section>
<section anchor="Security" title="Security Considerations">
<t>This document extends LSP Traceroute mechanism to discover and exercise L2 ECMP paths. Additional processing are required for initiating LSR and responder LSR, especially to compute and handle increasing number of multipath information. Due to additional processing, it is critical that proper security measures described in <xref target="RFC4379" /> and <xref target="RFC6424" /> are followed.</t>
</section>
<section anchor="IANA" title="IANA Considerations">
<section title="LAG Interface Info TLV">
<t>The IANA is requested to assign new value TBD1 for LAG Interface Info TLV from the "Multiprotocol Label Switching Architecture (MPLS) Label Switched Paths (LSPs) Ping Parameters - TLVs" registry.
<figure align="left"><preamble/><artwork align="left">
Value Meaning Reference
----- ------- ---------
TBD1 LAG Interface Info TLV this document
</artwork></figure>
</t>
</section>
<section title="Interface Index Sub-TLV">
<t>The IANA is requested to assign new value TBD2 for Interface Index Sub-TLV from the "Multiprotocol Label Switching Architecture (MPLS) Label Switched Paths (LSPs) Ping Parameters - TLVs" registry, "Sub-TLVs for TLV Types 20" sub-registry.
<figure align="left"><preamble/><artwork align="left">
Value Meaning Reference
----- ------- ---------
TBD2 Interface Index Sub-TLV this document
</artwork></figure>
</t>
</section>
<section title="Detailed Interface and Label Stack TLV">
<t>The IANA is requested to assign new value TBD3 for Detailed Interface and Label Stack TLV from the "Multiprotocol Label Switching Architecture (MPLS) Label Switched Paths (LSPs) Ping Parameters - TLVs" registry (<xref target="IANA-MPLS-LSP-PING" />).
<figure align="left"><preamble/><artwork align="left">
Value Meaning Reference
----- ------- ---------
TBD3 Detailed Interface and Label Stack TLV this document
</artwork></figure>
</t>
</section>
<section title="DS Flags">
<t>The IANA is requested to assign a new bit number from the "DS flags" sub-registry from the "Multi-Protocol Label Switching (MPLS) Label Switched Paths (LSPs) Ping Parameters - TLVs" registry (<xref target="IANA-MPLS-LSP-PING" />).</t>
<t>Note: the "DS flags" sub-registry is created by <xref target="I-D.decraene-mpls-lsp-ping-registry" />.
<figure align="left"><preamble></preamble><artwork align="left">
Bit number Name Reference
---------- ---------------------------------------- ---------
TBD4(3) G: LAG Description Indicator this document
</artwork></figure>
This document requests the bit number 3 as TBD4.
</t>
</section>
<section title="New Sub-Registry">
<section title="Sub-TLVs for TLV Type TBD3">
<t>The IANA is requested to make a new "Sub-TLVs for TLV Type TBD3" sub-registry under "Multiprotocol Label Switching Architecture (MPLS) Label Switched Paths (LSPs) Ping Parameters - TLVs" registry.</t>
<t>Initial values for this sub-registry, "Sub-TLVs for TLV Types TBD3", are described below.
<figure align="left"><preamble></preamble><artwork align="left">
Sub-Type Name Reference
--------- ---------------------------------------- ---------
1 Incoming Label Stack this document
2 Incoming Interface Index this document
4-65535 Unassigned
</artwork></figure>
Assignments of Sub-Types are via Standards Action <xref target="RFC5226" />.</t>
</section>
</section>
</section>
<section title="Acknowledgements">
<t>Authors would like to thank Nagendra Kumar and Sam Aldrin for providing useful comments and suggestions.</t>
</section>
</middle>
<!-- *****BACK MATTER ***** -->
<back>
<!-- References split into informative and normative -->
<references title="Normative References">
<?rfc include="reference.RFC.2119"?>
<?rfc include="reference.RFC.4379"?>
<?rfc include="reference.RFC.6424"?>
</references>
<references title="Informative References">
<?rfc include="reference.RFC.5226"?>
<?rfc include="reference.I-D.ietf-mpls-ipv6-only-gap"?>
<?rfc include="reference.I-D.decraene-mpls-lsp-ping-registry"?>
<reference anchor="IANA-MPLS-LSP-PING" target="http://www.iana.org/assignments/mpls-lsp-ping-parameters/mpls-lsp-ping-parameters.xhtml">
<front>
<title>Multi-Protocol Label Switching (MPLS) Label Switched Paths (LSPs) Ping Parameters</title>
<author><organization>IANA</organization></author>
<date/>
</front>
</reference>
<reference anchor="IEEE802.1AX">
<front>
<title>IEEE Standard for Local and metropolitan area
networks - Link Aggregation
</title>
<author> <organization>IEEE Std. 802.1AX</organization> </author>
<date month="November" year="2008" />
</front>
</reference>
</references>
<section title="LAG with L2 Switch Issues" anchor="_LAG_L2_ISSUES">
<t>Several flavors of "LAG with L2 switch" provisioning models are described in this section, with MPLS data plane ECMP traversal validation issues with each.</t>
<section title="Equal Numbers of LAG Members">
<t>
<figure align="left"><preamble></preamble><artwork align="left">
R1 ==== S1 ==== R2
</artwork></figure>
The issue with this LAG provisioning model is that packets traversing a LAG member from R1 to S1 can get load balanced by S1 towards R2. Therefore, MPLS echo request messages traversing specific LAG member from R1 to S1 can actually reach R2 via any LAG members, and sender of MPLS echo request messages have no knowledge of this nor no way to control this traversal. In the worst case, MPLS echo request messages with specific entropies to exercise every LAG members from R1 to S1 can all reach R2 via same LAG member. Thus it is impossible for MPLS echo request sender to verify that packets intended to traverse specific LAG member from R1 to S1 did actually traverse that LAG member, and to deterministically exercise "receive" processing of every LAG member on R2.</t>
</section>
<section title="Deviating Numbers of LAG Members">
<t>
<figure align="left"><preamble></preamble><artwork align="left">
____
R1 ==== S1 ==== R2
</artwork></figure>
There are deviating number of LAG members on the two sides of the L2 switch. The issue with this LAG provisioning model is the same as previous model, sender of MPLS echo request messages have no knowledge of L2 load balance algorithm nor entropy values to control the traversal.</t>
</section>
<section title="LAG Only on Right">
<t>
<figure align="left"><preamble></preamble><artwork align="left">
R1 ---- S1 ==== R2
</artwork></figure>
The issue with this LAG provisioning model is that there is no way for MPLS echo request sender to deterministically exercise both LAG members from S1 to R2. And without such, "receive" processing of R2 on each LAG member cannot be verified.</t>
</section>
<section title="LAG Only on Left">
<t>
<figure align="left"><preamble></preamble><artwork align="left">
R1 ==== S1 ---- R2
</artwork></figure>
MPLS echo request sender has knowledge of how to traverse both LAG members from R1 to S1. However, both types of packets will terminate on the non-LAG interface at R2. It becomes impossible for MPLS echo request sender to know that MPLS echo request messages intended to traverse a specific LAG member from R1 to S1 did indeed traverse that LAG member.</t>
</section>
</section>
<!-- Change Log
v00-a 2014-02-03 Nobo: Initial version
v00-b 2014-xx-yy Nobo: Incorporated comments from Stephane and Bruno.
v01-a 2014-07-11 Nobo: Incorporated comments from Sam Aldrin and Nagendra Kumar.
-->
</back>
</rfc>
| PAFTECH AB 2003-2026 | 2026-04-23 06:38:23 |