Network Working Group I. Minei Internet-Draft K. Kompella Expires: September 29, 2005 Juniper Networks J-L. Le Roux France Telecom L. Fang AT&T L. Wang Telenor S. Amante Level 3 Communications, LLC March 28, 2005 Label Distribution Protocol Extensions for Point-to-Multipoint Label Switched Paths draft-minei-mpls-ldp-p2mp-00 Status of this Memo This document is an Internet-Draft and is subject to all provisions of Section 3 of RFC 3667. By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she become aware will be disclosed, in accordance with RFC 3668. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on September 29, 2005. Copyright Notice Copyright (C) The Internet Society (2005). Minei, et al. Expires September 29, 2005 [Page 1] Internet-Draft P2MP LSP Setup with LDP March 2005 Abstract This document describes extensions to the Label Distribution Protocol (LDP) for the setup of point-to-multipoint (P2MP) Label Switched Paths (LSPs) in Multi-Protocol Label Switching (MPLS) networks. The solution relies on LDP without requiring a multicast routing protocol in the network. Protocol elements and procedures for this solution are described. There can be various applications for P2MP LSPs such as IP multicast. Specification of how such applications can use a LDP signaled P2MP LSP is outside the scope of this document. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 Conventions used in this document . . . . . . . . . . . . 3 1.2 Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 2. Protocol Operation . . . . . . . . . . . . . . . . . . . . . . 4 2.1 The P2MP FEC Element . . . . . . . . . . . . . . . . . . . 4 2.2 Using the P2MP FEC Element . . . . . . . . . . . . . . . . 5 2.2.1 Label Map . . . . . . . . . . . . . . . . . . . . . . 6 2.2.2 Label Withdraw . . . . . . . . . . . . . . . . . . . . 7 3. Security considerations . . . . . . . . . . . . . . . . . . . 8 4. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 9 5. References . . . . . . . . . . . . . . . . . . . . . . . . . . 10 5.1 Normative References . . . . . . . . . . . . . . . . . . . 10 5.2 Informative References . . . . . . . . . . . . . . . . . . 10 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . 10 Intellectual Property and Copyright Statements . . . . . . . . 12 Minei, et al. Expires September 29, 2005 [Page 2] Internet-Draft P2MP LSP Setup with LDP March 2005 1. Introduction The LDP protocol is described in [4]. It defines mechanisms for setting up point to point and multi-point to point LSPs in the network. This document describes extensions to LDP for setting up point to multi-point (P2MP) LSPs. Specifically, this document describes how a P2MP LSP can be set up that allows traffic from a single root (or ingress) node to be delivered to a number of leaf (or egress) nodes. Only a single copy of the packet will be sent on any link traversed by the P2MP LSP (see note at end of Section 2.2.1). This is accomplished without the use of a multicast protocol in the network. There can be several P2MP LSPs rooted at a given ingress node, each with its own identifier. The solution assumes that the leaf nodes of the P2MP LSP know the root node and identifier of the P2MP LSP to which they belong. The mechanisms for the distribution of this information are outside the scope of this document. The specification of how an application can use a P2MP LSP signaled by LDP is also outside the scope of this document. Interested readers may also wish to peruse the documents [6] and [7]. 1.1 Conventions used in this document 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 [2]. 1.2 Terminology The following terminology is taken from [6]. P2MP LSP: An LSP that has one Ingress LSR, and one ore more Egress LSRs. Ingress LSR: Source of the P2MP LSP, also referred to as root node. Egress LSR: One of potentially many destinations of the P2MP LSP, also referred to as leaf node. Transit LSR: An LSR that has one or more directly connected downstream LSRs. Bud LSR: An LSR that is an egress but also has one or more directly connected downstream LSRs. Minei, et al. Expires September 29, 2005 [Page 3] Internet-Draft P2MP LSP Setup with LDP March 2005 2. Protocol Operation A P2MP LSP consists of a single root node, zero or more transit nodes and one or more leaf nodes. Leaf nodes initiate P2MP LSP setup and tear-down. Leaf nodes also install forwarding state to deliver the traffic received on a P2MP LSP to wherever it needs to go; how this is done is outside the scope of this document. Transit nodes install MPLS forwarding state and propagate the P2MP LSP setup (and tear-down) toward the root. The root node installs forwarding state to map traffic into the P2MP LSP; how the root node determines which traffic should go over the P2MP LSP is outside the scope of this document. For the setup of a P2MP LSP with LDP, we define one new protocol entity, the P2MP FEC Element to be used in the FEC TLV. The description of the P2MP FEC Element follows. 2.1 The P2MP FEC Element The P2MP FEC Element consists of the address of the root of the P2MP LSP and an opaque identifier. The opaque identifier is unique within the context of the root node. The combination of (root LSR address, opaque identifier) uniquely identifies a P2MP LSP within the MPLS network. The P2MP FEC element is encoded as follows: 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 (TBD) | Address Family | Address Length| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Root Node Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Opaque Identifier Type | Opaque Identifier Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Opaque Identifier ... | . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type: The type of the P2MP FEC element is to be assigned by IANA. Address Family: Two octet quantity containing a value from ADDRESS FAMILY NUMBERS in [RFC1700] that encodes the address family for the Root LSR Address. Minei, et al. Expires September 29, 2005 [Page 4] Internet-Draft P2MP LSP Setup with LDP March 2005 Address Length: Length of the Root LSR Address in octets. Root Node Address: A host address encoded according to the Address Family field. Opaque Identifier Type: The type of Opaque Identifier. Length: The length of the P2MP Opaque Identifier, in octets. Opaque Identifier: An opaque identifier of Length octets, padded at the end with zeros so as to be 4-octet aligned. If 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 Lengths are defined at present. If the Address Length doesn't match the defined length for the Address Family, the receiver SHOULD abort processing the message containing the FEC Element, and send an "Unknown FEC" Notification message to its LDP peer signaling an error. If a FEC TLV contains a P2MP FEC Element, the P2MP FEC Element MUST be the only FEC Element in the FEC TLV. 2.2 Using the P2MP FEC Element This section defines the rules for the processing and propagation of the P2MP FEC Element. The following notation is used in the processing rules: 1. P2MP FEC Element : a FEC Element with Root Node Address X and Opaque Identifier Y. 2. P2MP Label Map : a Label Map message with a FEC TLV with a single P2MP FEC Element and Label TLV with label L. 3. P2MP Label Withdraw : a Label Withdraw message with a FEC TLV with a single P2MP FEC Element and Label TLV with label L. 4. P2MP LSP (or simply ): a P2MP LSP with Root Node Address X and Opaque Identifier Y. The procedures below are organized by the role which the node plays in the P2MP LSP. Node Z knows that it is a leaf node by a discovery process which is outside the scope of this document. During the course of protocol operation, the root node recognizes its role because it owns the Root Node Address. A transit node is any node (other than the root node) that receives a P2MP Label Map message Minei, et al. Expires September 29, 2005 [Page 5] Internet-Draft P2MP LSP Setup with LDP March 2005 (i.e., one that has leaf nodes downstream of it). Note that a transit node (and indeed the root node) may also be a leaf node. 2.2.1 Label Map The following lists procedures for generating and processing P2MP Label Map messages for nodes that participate in a P2MP LSP. An LSR should apply those procedures that apply to it, based on its role in the P2MP LSP. In the current approach, if there are several receivers for a P2MP LSP on a LAN, packets are replicated over the LAN. This may not be optimal; optimizing this case is for further study. 2.2.1.1 Determining one's 'upstream LSR' A node Z that is part of P2MP LSP determines the LDP peer U which lies on the best path from Z to the root node X. If there are more than one such LDP peers, only one of them is picked. U is Z's "Upstream LSR" for . 2.2.1.2 Leaf Operation A leaf node Z of P2MP LSP determines its upstream LSR U for as per Section 2.2.1.1, allocates a label L, and sends a P2MP Label Map to U. 2.2.1.3 Transit Node operation Suppose a transit node Z receives a P2MP Label Map over interface I. Z checks whether it already has state for . If not, Z allocates a label L', and installs state to swap L' with L over interface I. Z also determines its upstream LSR U for as per Section 2.2.1.1, and sends a P2MP Label Map to U. If Z already has state for , then Z adds "swap L, send over interface I" to the nexthop. Z does not send a Label Map message for P2MP LSP . 2.2.1.4 Root Node Operation Suppose the root node Z receives a P2MP Label Map over interface I. Z checks whether it already has forwarding state for . If not, Z creates forwarding state to push label L onto the traffic that Z wants to forward over the P2MP LSP (how this traffic is determined is outside the scope of this document). Minei, et al. Expires September 29, 2005 [Page 6] Internet-Draft P2MP LSP Setup with LDP March 2005 If Z already has forwarding state for , then Z adds "push label L, send over interface I" to the nexthop. 2.2.2 Label Withdraw The following lists procedures for generating and processing P2MP Label Withdraw messages for nodes that participate in a P2MP LSP. An LSR should apply those procedures that apply to it, based on its role in the P2MP LSP. 2.2.2.1 Leaf Operation If a leaf node Z discovers (by means outside the scope of this document) that it is no longer a leaf of the P2MP LSP, it SHOULD send a Label Withdraw to its upstream LSR U for , where L is the label it had previously advertised to U for . 2.2.2.2 Transit Node Operation If a transit node Z receives a Label Withdraw message from a node W, it deletes label L from its forwarding state, and sends a Label Release message with label L to W. If deleting L from Z's forwarding state for P2MP LSP results in no state remaining for , then Z propagates the Label Withdraw to its upstream for . 2.2.2.3 Root Node Operation The procedure when the root node of a P2MP LSP receives a Label Withdraw message are the same as for transit nodes, except that it would not propagate the Label Withdraw upstream (as it has no upstream). 2.2.2.4 Upstream LSR change If, for a given node Z participating in a P2MP LSP , the upstream LSR changes, say from U to U', then Z MUST 1. send a Label Withdraw to U, where L is the label Z had previously sent to U for ; 2. delete all forwarding state for the P2MP LSP ; 3. allocate a label L' for , and send a Label Map to U'; 4. install forwarding state for label L'. Minei, et al. Expires September 29, 2005 [Page 7] Internet-Draft P2MP LSP Setup with LDP March 2005 3. Security considerations The same security considerations apply as for the base LDP specification, as described in [RFC3036]. Minei, et al. Expires September 29, 2005 [Page 8] Internet-Draft P2MP LSP Setup with LDP March 2005 4. Acknowledgments The authors would like to thank Nischal Sheth, Yakov Rekhter and Rahul Aggarwal for their suggestions and review. Minei, et al. Expires September 29, 2005 [Page 9] Internet-Draft P2MP LSP Setup with LDP March 2005 5. References 5.1 Normative References [1] Reynolds, J. and J. Postel, "Assigned Numbers", RFC 1700, October 1994. [2] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [3] Rosen, E., Viswanathan, A. and R. Callon, "Multiprotocol Label Switching Architecture", RFC 3031, January 2001. [4] Andersson, L., Doolan, P., Feldman, N., Fredette, A. and B. Thomas, "LDP Specification", RFC 3036, January 2001. 5.2 Informative References [5] Awduche, D., Berger, L., Gan, D., Li, T., Srinivasan, V. and G. Swallow, "RSVP-TE: Extensions to RSVP for LSP Tunnels", RFC 3209, December 2001. [6] Yasukawa, S., "Signaling Requirements for Point to Multipoint Traffic Engineered MPLS LSPs", Internet-Draft draft-ietf-mpls-p2mp-sig-requirement-01, February 2005. [7] Aggarwal, R., "Extensions to RSVP-TE for Point to Multipoint TE LSPs", Internet-Draft draft-ietf-mpls-rsvp-te-p2mp-01, January 2005. Authors' Addresses Ina Minei Juniper Networks 1194 N. Mathilda Ave. Sunnyvale, CA 94089 US Email: ina@juniper.net Minei, et al. Expires September 29, 2005 [Page 10] Internet-Draft P2MP LSP Setup with LDP March 2005 Kireeti Kompella Juniper Networks 1194 N. Mathilda Ave. Sunnyvale, CA 94089 US Email: kireeti@juniper.net Jean-Louis Le Roux France Telecom 2, avenue Pierre-Marzin Lannion Cedex 22307 France Email: jeanlouis.leroux@francetelecom.com Luyuan Fang AT&T 200 Laurel Avenue, Room C2-3B35 Middletown, NJ 07748 US Email: luyuanfang@att.com Lei Wang Telenor Snaroyveien 30 Fornebu 1331 Norway Email: lei.wang@telenor.com Shane Amante Level 3 Communications, LLC 1025 Eldorado Blvd Broomfield, CO 80021 US Email: Shane.Amante@Level3.com Minei, et al. Expires September 29, 2005 [Page 11] Internet-Draft P2MP LSP Setup with LDP March 2005 Intellectual Property Statement The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Disclaimer of Validity This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Copyright Statement Copyright (C) The Internet Society (2005). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. Acknowledgment Funding for the RFC Editor function is currently provided by the Internet Society. Minei, et al. Expires September 29, 2005 [Page 12]