<?xml version='1.0' encoding='US-ASCII'?>

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [

<!ENTITY RFC4385 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4385.xml">
<!ENTITY RFC4446 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4446.xml">
<!ENTITY RFC6425 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6425.xml">
<!ENTITY RFC6426 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6426.xml">
<!ENTITY RFC7117 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7117.xml">
<!ENTITY RFC8029 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8029.xml">
<!ENTITY RFC2119 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC4875 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4875.xml">
<!ENTITY RFC6388 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6388.xml">
<!ENTITY RFC7338 SYSTEM "https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7338.xml">
]>

<!-- XML source generated using id2xml January 2018 --> 

<rfc submissionType="IETF" number="8339"
     ipr="trust200902" category="std" consensus="yes">
        <?rfc compact="yes"?>
	<?rfc text-list-symbols="o*+-"?>
	<?rfc subcompact="no"?>
	<?rfc sortrefs="no"?>
	<?rfc symrefs="yes"?>
	<?rfc strict="yes"?>
	<?rfc toc="yes"?>
	<front>



	<title abbrev="P2MP PW TLV for LSP Ping ">Definition of P2MP PW TLV
	for Label Switched Path (LSP) Ping Mechanisms</title>
	<author fullname="Parag Jain" initials="P." role="editor" surname="Jain">
	<organization>Cisco Systems, Inc.</organization>
	<address><postal><street>2000 Innovation Drive</street>
	<street>Kanata, ON  K2K-3E8</street>
	<street>Canada</street>
	</postal>
	<email>paragj@cisco.com</email>
	</address>
	</author>

	<author fullname="Sami Boutros" initials="S." surname="Boutros">
	<organization>VMWare, Inc.</organization>
	<address><postal><street>United States of America</street>
	</postal>
	<email>sboutros@vmware.com</email>
	</address>
	</author>

	<author fullname="Sam Aldrin" initials="S." surname="Aldrin">
	<organization>Google Inc.</organization>
	<address><postal><street>United States of America</street>
	</postal>
	<email>aldrin.ietf@gmail.com</email>
	</address>
	</author>

	<date month="March" year="2018"/>
	<workgroup>PALS Workgroup</workgroup>


<keyword>MPLS, OAM</keyword>

	
	<abstract><t>
   Label Switched Path (LSP) Ping is a widely deployed Operation, Administration, and
   Maintenance (OAM) mechanism in MPLS networks.  This document
   describes a mechanism to verify connectivity of Point-to-Multipoint
   (P2MP) Pseudowires (PWs) using LSP Ping.</t>

	</abstract>
	</front>

	<middle>
	<section title="Introduction" anchor="section-1"><t>
   A Point-to-Multipoint (P2MP) Pseudowire (PW) emulates the essential
   attributes of a unidirectional P2MP Telecommunications service such
   as P2MP ATM over a Public Switched Network (PSN).  Requirements for
   P2MP PWs are described in <xref target="RFC7338"/>.  P2MP PWs are carried over a P2MP
   MPLS LSP.  The procedures for P2MP PW signaling using BGP are
   described in <xref target="RFC7117"/>; LDP for single segment P2MP PWs is
   described in <xref target="RFC8338"/>.  Many P2MP PWs can share the
   same P2MP MPLS LSP; this arrangement is called an "Aggregate P2MP
   Tree".  An Aggregate P2MP Tree requires an upstream-assigned label so
   that on the Leaf PE (L-PE), the traffic can be associated with a
   Virtual Private Network (VPN) or a Virtual Private LAN Service (VPLS)
   instance.  When a P2MP MPLS LSP carries only one VPN or VPLS service
   instance, the arrangement is called an "Inclusive P2MP Tree".  For an
   Inclusive P2MP Tree, the P2MP MPLS LSP label itself can uniquely identify
   the VPN or VPLS service being carried over the P2MP MPLS LSP.  The P2MP
   MPLS LSP can also be used in the Selective P2MP Tree arrangement to
   carry multicast traffic.  In a Selective P2MP Tree arrangement,
   traffic to each multicast group in a VPN or VPLS instance is carried
   by a separate unique P2MP LSP.  In an Aggregate Selective P2MP Tree
   arrangement, traffic to a set of multicast groups from different VPN
   or VPLS instances is carried over the same shared P2MP LSP.</t>

	<t>
   The P2MP MPLS LSPs are setup  using either P2MP RSVP-TE <xref target="RFC4875"/> or
   Multipoint LDP (mDLP) <xref target="RFC6388"/>.  Mechanisms for fault detection and
   isolation for data-plane failures for P2MP MPLS LSPs are specified in
   <xref target="RFC6425"/>.  This document describes a mechanism to detect data-plane
   failures for P2MP PW carried over P2MP MPLS LSPs.</t>

	<t>
   This document defines a new P2MP Pseudowire sub-TLV for the Target Forwarding
   Equivalence Class (FEC)
   Stack for P2MP PWs.  The P2MP Pseudowire sub-TLV is added in the Target
   FEC Stack TLV by the originator of the echo request at the Root PE (R-PE)
   to inform the receiver at the Leaf PE (L-PE) of the P2MP PW being tested.</t>

	<t>
   Support for multi-segment PWs is out of scope of this document.</t>

	</section>



	<section title="Terminology" anchor="section-3">

	  
	<section title="Specification of Requirements" anchor="section-2">

        <t>
    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
    NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED",
    "MAY", and "OPTIONAL" in this document are to be interpreted as
    described in BCP&nbsp;14 <xref target="RFC2119"/> <xref target="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
        </t>

	</section>
<section title="Abbreviations" anchor="abbrev">
	  
<t><list style="hanging" hangIndent="12">
   <t hangText="ACH:">Associated Channel Header</t>
   <t hangText="AGI:">Attachment Group Identifier</t>
   <t hangText="ATM:">Asynchronous Transfer Mode</t>
   <t hangText="CE:"> Customer Edge</t>
   <t hangText="FEC:">Forwarding Equivalence Class</t>
   <t hangText="GAL:"> Generic Associated Channel Label</t>
   <t hangText="LDP:">Label Distribution Protocol</t>
   <t hangText="L-PE:">Leaf PE (one of many destinations of the P2MP MPLS LSP,
   i.e., egress PE)</t>
   <t hangText="LSP:">Label Switched Path</t>
   <t hangText="LSR:">Label Switching Router</t>
   <t hangText="mLDP:">Multipoint LDP</t>
   <t hangText="MPLS-OAM:">MPLS Operations, Administration, and Maintenance</t>
   <t hangText="P2MP:">Point-to-Multipoint</t>
   <t hangText="P2MP-PW:">Point-to-Multipoint Pseudowire</t>
   <t hangText="PE:">Provider Edge</t>
   <t hangText="PSN:">Public Switched Network</t>
   <t hangText="PW:">Pseudowire</t>
   <t hangText="R-PE:">Root PE (ingress PE, PE initiating P2MP PW setup)</t>
   <t hangText="RSVP:">Resource Reservation Protocol</t>
   <t hangText="TE:">Traffic Engineering</t>
   <t hangText="TLV:">Type, Length, Value</t>
   <t hangText="VPLS:">Virtual Private LAN Service</t>
 </list></t>
</section>
	</section>

	<section title="Identifying a P2MP PW" anchor="section-4"><t>
   This document introduces a new LSP Ping Target FEC Stack sub-TLV,
   the P2MP Pseudowire sub-TLV, to identify the P2MP PW under test at the
   P2MP Leaf PE (L-PE).</t>

	<section title="P2MP Pseudowire Sub-TLV" anchor="section-4.1"><t>
   The P2MP Pseudowire sub-TLV has the format shown in <xref target="ref-p2mp-pseudowire-sub-tlv-format"/>.  This
   TLV is included in the echo request sent over P2MP PW by the
   originator of the request.</t>

	<t>
   The Attachment Group Identifier (AGI), as
   described in Section 3.4.2 of <xref target="RFC4446"/>, in P2MP Pseudowire sub-TLV identifies the VPLS
   instance.  The Originating Router's IP address is the IPv4 or IPv6
   address of the P2MP PW root.  The address family of the IP address is
   determined by the IP Addr Len field.</t>

	<figure title="P2MP Pseudowire Sub-TLV Format" anchor="ref-p2mp-pseudowire-sub-tlv-format"><artwork><![CDATA[
    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
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | AGI Type    |   AGI Length  |                                 |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                                 |
    ~                          AGI Value                            ~
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | IP Addr Len |                                                 |
    +-+-+-+-+-+-+-+                                                 |
    ~               Originating Routers IP Addr                     ~
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
	</figure>
	<t>
   For Inclusive and Selective P2MP Trees, the echo request is sent
   using the P2MP MPLS LSP label.</t>

	<t>
   For Aggregate Inclusive and Aggregate Selective P2MP Trees, the echo
   request is sent using a label stack of [P2MP MPLS LSP label, upstream assigned P2MP PW label].  
   The P2MP MPLS LSP label is the outer label
   and the upstream assigned P2MP PW label is the inner label.</t>

	</section>

	</section>

	<section title="Encapsulation of OAM Ping Packets"
	anchor="section-5"><t> The LSP Ping echo request packet is
	encapsulated with the MPLS label stack as described in
	previous sections, followed by one of the two encapsulation
	options:</t>

	<t><list style="symbols">
	  <t>GAL <xref target="RFC6426"/> followed by an 
	  IPv4 (0x0021) or IPv6 (0x0057) type Associated Channel Header
	  (ACH) <xref target="RFC4385"/></t>

	<t>PW ACH <xref target="RFC4385"/></t>

	</list>
	</t>

	<t>
   To ensure interoperability, implementations of this document MUST
   support both encapsulations.</t>

	</section>

	<section title="Operations" anchor="section-6"><t>
   In this section, we explain the operation of the LSP Ping over a P2MP
   PW.  <xref target="ref-p2mp-pw"/> shows a P2MP PW PW1 setup from Root PE R-PE1, to Leaf
   PEs (L-PE2, L-PE3, and L-PE4).  The transport LSP associated with the
   P2MP PW1 can be mLDP P2MP MPLS LSP or P2MP TE tunnel.</t>

	<figure title="P2MP PW" anchor="ref-p2mp-pw"><artwork><![CDATA[
              |<--------------P2MP PW---------------->|
       Native |                                       |  Native
      Service |     |<--PSN1->|      |<--PSN2->|      |  Service
       (AC)   V     V         V      V         V      V   (AC)
         |    +-----+         +------+         +------+    |
         |    |     |         |   P1 |=========|L-PE2 |AC3 |    +---+
         |    |     |         |   .......PW1.........>|-------->|CE3|
         |    |R-PE1|=========|   .  |=========|      |    |    +---+
         |    |  .......PW1........  |         +------+    |
         |    |  .  |=========|   .  |         +------+    |
         |    |  .  |         |   .  |=========|L-PE3 |AC4 |    +---+
 +---+   |AC1 |  .  |         |   .......PW1.........>|-------->|CE4|
 |CE1|------->|...  |         |      |=========|      |    |    +---+
 +---+   |    |  .  |         +------+         +------+    |
         |    |  .  |         +------+         +------+    |
         |    |  .  |=========|   P2 |=========|L-PE4 |AC5 |    +---+
         |    |  .......PW1..............PW1.........>|-------->|CE5|
         |    |     |=========|      |=========|      |    |    +---+
         |    +-----+         +------+         +------+    |
]]></artwork>
	</figure>
	<t>
   When an operator wants to perform a connectivity check for the P2MP
   PW1, the operator initiates an LSP Ping echo request from Root PE R-PE1,
   with the Target FEC Stack TLV containing the P2MP Pseudowire sub-TLV in
   the echo request packet.  For an Inclusive P2MP Tree arrangement, the
   echo request packet is sent over the P2MP MPLS LSP with one of the
   following two encapsulation options:</t>

	<t><list style="symbols">
	  <t>{P2MP LSP label, GAL} MPLS label stack and IPv4 or IPv6 ACH.</t>

	<t>{P2MP LSP label} MPLS label stack and PW ACH.</t>

	</list>
	</t>

	<t>
   For an Aggregate Inclusive Tree arrangement, the echo request packet
   is sent over the P2MP MPLS LSP with one of the following two
   encapsulation options:</t>

	<t><list style="symbols">
	  <t>{P2MP LSP label, P2MP PW upstream assigned label, GAL} MPLS label
      stack and IPv4 or IPv6 ACH.</t>

	<t>{P2MP LSP label, P2MP PW upstream assigned label} MPLS label stack
      and PW ACH.</t>

	</list>
	</t>

	<t>
   The intermediate P routers do MPLS label swap and replication based
   on the incoming MPLS LSP label.  Once the echo request packet reaches
   L-PEs, L-PEs use the GAL and the IPv4/IPv6 ACH Channel header or PW
   ACH as the case may be, to determine that the packet is an OAM
   Packet.  The L-PEs process the packet and perform checks for the P2MP
   Pseudowire sub-TLV present in the Target FEC Stack TLV as described
   in Section 4.4 in <xref target="RFC8029"/> and respond according to the processing rules in that document.</t>

	</section>

	<section title="Controlling Echo Responses" anchor="section-7"><t>
   The procedures described in <xref target="RFC6425"/> for preventing congestion of
   Echo Responses (Echo Jitter TLV in Section 3.3 of <xref target="RFC6425"/>) and
   limiting the echo reply to a single L-PE (Node Address P2MP Responder
   Identifier TLV in Section 3.2 of <xref target="RFC6425"/>) should be applied to P2MP PW
   LSP Ping.

 </t>

	</section>

	<section title="Security Considerations" anchor="section-8"><t>
   The proposal introduced in this document does not introduce any new
   security considerations beyond those that already apply to <xref target="RFC6425"/>.</t>

	</section>

	<section title="IANA Considerations" anchor="section-9"><t>
   This document defines a new sub-TLV type included in the Target FEC
   Stack TLV (TLV Type 1) <xref target="RFC8029"/> in LSP Ping.</t>

	<t>
   IANA has assigned the following sub-TLV type value 
   from the "Sub-TLVs for TLV Types 1, 16, and 21" sub-registry within the
   "Multiprotocol Label Switching (MPLS) Label Switched Paths (LSPs) Ping
   Parameters" registry: 

	<list><t>37  P2MP Pseudowire</t></list>
	</t>

	</section>


	</middle>

	<back>
	  <references title="Normative References">

	    <?rfc include="reference.RFC.8338"?>

	  
	&RFC4385;
	&RFC4446;
	&RFC6425;
	&RFC6426;
	&RFC7117;
	&RFC8029;
	<?rfc include="reference.RFC.8174"?>
	</references>
	<references title="Informative References">
	&RFC2119;
	&RFC4875;
	&RFC6388;
	&RFC7338;
	</references>

	<section title="Acknowledgments" anchor="section-10" numbered="no"><t>
   The authors would like to thank Shaleen Saxena, Greg Mirsky, Andrew
   G.&nbsp;Malis, and Danny Prairie for their valuable input and comments.</t>

	</section>
	</back>
	

	</rfc>
