1. Field of the Invention
The invention relates to the field of communication. More specifically, the invention relates to providing point-to-multipoint label switch paths (LSPs) in a Multi-Protocol Label Switching (MPLS) network.
2. Background of The Invention
The multi-protocol label switching (MPLS) protocol may be categorized as a network layer protocol of the Open Standards Institute (OSI) reference model. MPLS provides a method for generically tunneling data through networks with label switched paths (LSPs). MPLS forwards data using labels that are attached to each data packet. These labels are distributed between the nodes that comprise the network.
Extended Resource Reservation Protocol referred to as RSVP Traffic Engineering (RSVP-TE) may be used as a signaling protocol to establish LSPs in the MPLS network. Generic RSVP uses a message exchange to reserve resources across a network for IP flows. RSVP-TE enhances generic RSVP so that it can be used to distribute MPLS labels and to establish traffic engineered (TE) LSPs that can be automatically routed away from network failures, congestion and bottlenecks and satisfy various other policies related to network performance optimization. TE LSPs typically carry a set of flows aggregated by their service class.
While RSVP-TE defines a mechanism for setting up point-to-point (P2P) TE LSPs, it does not provide a mechanism for building point-to-multipoint (P2MP) TE LSPs. A P2MP LSP is a label switched path that has one unique ingress label switching router (LSR) and multiple egress LSRs.
P2MP technology becomes increasingly important with the growing popularity of real-time applications such as content delivery services and video conferences that require P2MP real-time transmission capability with much more bandwidth and stricter quality of service (QoS) than non-real-time applications.
Seisho Yasukawa and Allan Kullberg have recently proposed protocol extensions to RSVP-TE for P2MP MPLS in the publication entitled “Extended RSVP-TE for Point-to-Multipoint LSP Tunnels.” The proposed protocol extensions provide for signaling the P2MP LSP using a tree explicit route object that describes the P2MP tree topology. The P2MP tree is calculated and signaled as the tree explicit route object all LSRs participating in a session. If a new receiver is added to the session or an existing receiver is removed from the session, the whole tree is recomputed, an old tree is deleted, and the recomputed tree is signaled to the participating LSRs.
The approach of Yasukawa, et al., has a number of limitations. Specifically, in a large network, receivers are typically added to the session and removed from the session rather frequently. Each time such a change happens, the P2MP tree has to be recomputed and re-distributed to the participating nodes, thus creating a significant overhead.
In addition, if the use of a new P2MP tree begins before all copies of an old P2MP are deleted, a race condition may occur in the MPLS network. RSVP-TE does not provide support for resolving a race condition caused by the existence of the two trees in the network. Hence, an additional mechanism is needed to address such race conditions.
Further, this approach significantly increases the size of messages exchanged by the LSRs in the MPLS network because the P2MP tree has to be sent to each LSR along the P2MP LSP.
A method and apparatus for providing point-to-multipoint label switch paths (LSPs) in a Multi-Protocol Label Switching (MPLS) network is described.
According to one aspect of the invention, a point-to-multipoint LSP is built in a MPLS network by using Resource Reservation Protocol Traffic Engineering (RSVP-TE) to signal the point-to-multipoint LSP as separate point-to-point LSPs and to merge the separate point-to-point LSPs into the point-to-multipoint LSP.
These and other aspects of the present invention will be better described with reference to the Detailed Description and the accompanying Figures.
The invention may best be understood by referring to the following description and accompanying drawings that are used to illustrate embodiments of the invention. In the drawings:
In the following description, numerous specific details are set forth to provide a thorough understanding of the invention. However, it is understood that the invention may be practiced without these specific details. In other instances, well-known circuits, structures, standards, and techniques have not been shown in detail in order not to obscure the invention.
A method and apparatus for providing point-to-multipoint (P2MP) label switch paths (LSPs) in a Multi-Protocol Label Switching (MPLS) network is described. In one embodiment, extended Resource Reservation Protocol known as RSVP Traffic Engineering (RSVP-TE) is used to signal a P2MP LSP as separate point-to-point (P2P) LSPs associated with multiple receivers participating in a session. The separate P2P LSPs are then merged into a P2MP LSP using RSVP semantics. In one embodiment, each P2MP LSP is associated with a unique identifier that is used to recognize all the P2P LSPs belonging to the same P2MP LSP.
Referring to
As shown in
The packets are replicated based on a P2MP LSP that is established from the source 102 to the receivers 104, 106, 108 and 110. The P2MP LSP is established using RSVP-TE. As discussed above, RSVP is a signaling protocol that uses a message exchange to reserve resources across a network for IP flows. RSVP-TE enhances generic RSVP so that is can be used to distribute MPLS labels and to establish traffic engineered (TE) LSPs that can be automatically routed away from network failures, congestion and bottlenecks and satisfy various other policies related to network performance optimization. RSVP-TE defines a mechanism for setting up point-to-point (P2P) LSPs using PATH and RESV messages. In one embodiment, this mechanism is used to build multiple P2P LSPs for the receivers 104, 106, 108 and 110. The multiple P2P LSPs are then merged into a P2MP LSP based on a mechanism for merging unicast paths that is supported by generic RSVP.
In one embodiment, each created P2MP LSP is assigned a unique identifier that is included in every PATH or RESV message exchanged by the nodes of the MPLS network 100. Hence, P2P LSPs belonging to the same P2MP LSP can share network resources.
In one embodiment, each node in the MPLS network 100, that receives PATH and RESV messages associated with the P2MP LSP, creates a multicast label mapping for a portion of the P2MP LSP that covers this node. A multicast label mapping identifies an incoming label and one or more outgoing labels for the node. For example, a multicast label mapping of the core router 120 may be expressed as (L1=>{L3, L4}).
In one embodiment, the establishment of the P2P LSPs is initiated by an edge router 112 connected to the source 102. The edge router 112 is referred to herein as a source edge router, and edge routers 114, 116 and 118 that are connected to the receivers 104 through 110 are referred to herein as receiver edge routers. In this embodiment, the source edge router 112 computes a P2P LSP to each of the receiver edge routers 114, 116 and 118 and sends separate PATH messages identifying corresponding P2P LSPs to the core routers 120 and 122. In one embodiment, each PATH message contains a unique identifier of the P2MP LSP to which the P2P LSPs belong.
The core router 120 processes the PATH message and forwards two separate PATH messages to the receiver edge routers 116 and 118. The first PATH message identifies a route from the core router 120 to the receiver edge router 116 and the second PATH message identifies a route from the core router 120 to the receiver edge router 118. Similarly, the core router 122 forwards a PATH message to the receiver edge router 114.
The receiver edge routers 114, 116 and 118 respond with RESV messages that include labels allocated by the receiver edge routers. The core router 120 receives RESV messages from the receiver edge routers 116 and 118 with labels L3 and L4 respectively, allocates a new label L1, creates a multicast mapping of (L1=>{L3, L4}), and forwards an RESV message with label L1 to the source edge router 112. In one embodiment, the core router 120 forwards a separate RESV message in response to each received RESV.
The core router 122 receives an RESV message from the receiver edge router 114 with label L2, creates a new label L5, creates a multicast mapping of (L5 =>{L2}), and forwards an RESV message with label L5 to the source edge router 112.
The source edge router 112 receives RESV messages from core routers 120 and 122 and populates an Forwarding Equivalence Class (FEC) table (e.g., using a designated non-RSVP mechanism) with a mapping of (Destination IP Address =>{L1, L5}).
In another embodiment, the establishment of the P2P LSPs is initiated by receiver edge routers 114, 116 and 118. In particular, each of the receiver edge routers 114, 116 and 118 computes a P2P LSP with the source edge router 112 as a destination and sends a PATH message identifying a corresponding P2P LSP and a suggested label. In one embodiment, each PATH message contains a unique identifier of the P2MP LSP to which the P2P LSPs belong.
The router 120 receives PATH messages from the receiver edge routers 116 and 118, assigns a suggested label L1 to each of them, and forwards two separate PATH messages to the source edge router 112. The core router 122 receives a PATH message from the receiver edge router 114 and forwards it to the source edge router 112.
The source edge router 112 creates a multicast label mapping of ({L1, L2}) and sends RESV messages to the core routers 120 and 122. In one embodiment, the source edge router 112 sends a separate RESV message in response to each PATH message received from the core router 120. In another embodiment, the source edge router 112 sends a single RESV message in response to both PATH messages received from the core router 120.
Once the core routers 120 and 122 receive their RESV messages, they create multicast mappings and send RESV messages to corresponding receiver edge routers 114, 116 and 118 that create their own multicast label mappings.
In both source and receiver edge router initiated embodiments, when a new receiver needs to be added, a P2P LSP is established for the new receiver and the established P2P LSP is then merged with the existing P2P LSPs in the P2MP LSP using the RSVP mechanism for merging unicast paths. When an existing receiver needs to be removed, an RSVP PATH TEAR message is used to remove the path to this receiver from the P2MP LSP.
Accordingly, embodiments of the present invention follow existing RSVP-TE procedures with relatively minor enhancements and do not cause a significant increase in the size of messages exchanged between the LSRs.
The multicast forwarding mappings are used by an MPLS forwarding module to identify interfaces to which every incoming packet needs to be sent and labels to be included in these packets.
While
Referring to
The RSVP module 320 may include a tree maintainer 310, a counter module 314, and a label manager 318 (such as a label manager 206 of
The counter module 314 is responsible for maintaining a path counter 316 for each P2MP LSP. A path counter 316 specifies the number of P2P LSPs in the P2MP LSP. The counter module 314 increments the path counter each time a new P2P LSP is established for the P2MP LSP. Similarly, the path counter is decremented each time an existing P2P LSP is removed from the P2MP LSP.
The label manager 318 is responsible for creating a multicast label mapping for each P2MP LSP initiating from the edge router 300 based on labels specified in the signaling messages exchanged between the edge router 300 and the other nodes along the P2MP LSP.
The forwarding plane 304 may exist on multiple line cards of the network device 300. The forwarding plane 304 hosts an MPLS forwarding module 326 that may include a multicast forwarding 322 and FIBs 324. FIBs 324 store multicast label mappings generated by the label manager 318. The multicast forwarding 322 is responsible for determining one or more interfaces to which each incoming packet is to be sent. In one embodiment, the multicast forwarding 322 makes this determination using multicast label mapping information in the FIBs 324. If the packet needs to be sent out on multiple interfaces, the multicast forwarding 322 replicates the packet as needed, includes a corresponding label specified by the multicast label mapping in each replicated packet, and sends each replicated packet to the appropriate interface.
While
Referring to
The counter module 414 is responsible for maintaining a path counter 416 for each partial P2MP LSP identified in the data structures 412. A path counter 416 specifies the number of routes in the partial P2MP LSP. The counter module 414 increments the path counter 416 each time a new route is added to the partial P2MP LSP. Similarly, the path counter 416 is decremented each time an existing route is removed from the partial P2MP LSP.
The label manager 418 is responsible for creating a multicast label mapping for each partial P2MP LSP maintained in the core router 400 based on labels specified in the signaling messages exchanged between the core router 400 and other nodes along the partial P2MP LSP.
The forwarding plane 404 hosts an MPLS forwarding module 426 that may include a multicast forwarding 422 and FIB(s) 424 that operate similarly to the MPLS forwarding module 326 discussed above in conjunction with
While
Next, processing logic determines whether the identified receivers belong to an existing P2MP LSP (decision box 504). In one embodiment, the determination is made by searching the identifiers of existing P2MP LSPs (P2MP LSP ID). In one embodiment, each P2MP LSP ID is composed of a unique combination of the address of a source edge router initiating the P2MP LSP, a tunnel ID that identifies the type of the traffic (e.g., video, voice, etc.) traveling along the P2MP LSP, and the identifier of the session. In one embodiment, a new P2MP LSP session RSVP-TE object is introduced to carry the elements of the P2MP LSP ID.
In one embodiment, a P2MP LSP session object is included in all signaling messages exchanged between the nodes of the MPLS network.
Referring again to
At processing block 508, processing logic computes a P2P LSP for each receiver identified at processing block 502. In one embodiment, the P2P LSPs are computed to share network resources where possible as discussed in more detail above.
At processing block 510, processing logic merges the computed P2P LSPs into a P2MP LSP with the ID created at processing block 506. As discussed above, the P2MP LSP may be stored as a tree or any other data structure.
At processing block 512, processing logic sends a separate PATH message for each computed P2P LSP to a corresponding downstream node.
At processing block 514, processing logic creates a path counter that specifies the number of P2P LSP in the P2MP LSP.
Further, processing logic receives RESV messages with the P2MP LSP ID (processing block 516) and creates a multicast label mapping based on the labels specified in the RESV messages (processing block 518). In one embodiment, processing logic receives a separate RESV message in response to each PATH message it previously sent unless an error has occurred (e.g., if a downstream node is down, etc.). In this embodiment, if the number of received RESV messages is lower than the number of previously sent PATH messages, then processing logic updates the P2MP LSP to remove the P2P LSPs for which RESV messages were not received. In addition, processing logic decrements the path counter by the number of missing RESV messages.
At processing block 604, processing logic computes a P2P LSP to reach the new receiver. As discussed above, in one embodiment, the P2P LSP is computed to share resources with other P2P LSPs that belong to the same P2MP LSP.
At processing block 606, processing logic merges the computed P2P LSP with the other P2P LSPs of the P2MP LSP.
At processing block 608, processing logic sends a PATH message for the computed P2P LSP to a corresponding downstream node.
At processing block 610, processing logic increments the path counter associated with the P2MP LSP.
Further, in one embodiment, processing logic is supposed to receive a matching RESV message unless an error has occurred (e.g., if a downstream node is down, etc.). Then, if the matching RESV message is received, processing logic determines whether the label specified in the matching RESV message is already included in the multicast label mapping for the P2MP LSP. If not, processing logic updates the multicast label mapping to include this new label. If processing logic does not receive a matching RESV message, processing logic updates the P2MP LSP to remove the newly-added P2P LSP and decrements the path counter.
Next, processing logic determines the identifier of the P2MP LSP to which the receiver belongs (processing block 704). In one embodiment, the determination is made by searching identifiers of existing P2MP LSP IDs for the receiver's identifying information (e.g., the address of the source edge router, the tunnel ID and the identifier of the session).
At processing block 706, processing logic sends a PATH TEAR message identifying the path to the receiver being removed and the P2MP LSP ID. In one embodiment, the PATH TEAR message includes a P2MP LSP session object with the P2MP LSP ID. In one embodiment, if more than one receiver needs to be removed, processing logic sends a separate PATH TEAR message for each of these receivers.
At processing block 708, processing logic removes the path to this receiver from the P2MP LSP by updating the internal data structures, for example, by removing the receiver from a tree data structure.
At processing block 709, processing logic decrements the path counter associated with the P2MP LSP.
At decision box 710, processing logic determines whether an immediate downstream node is only involved in the route to the receiver being removed. If so, processing logic updates the multicast label mapping to remove the label associated with this downstream node (processing block 712).
At decision box 804, processing logic determines whether the PATH message is associated with an existing partial P2MP LSP using the P2MP LSP ID included in the PATH message. If so, an add receiver process 826 is performed that will be discussed in more detail in conjunction with
If an existing partial P2MP LSP does not exist, processing logic creates a new partial P2MP LSP based on the route specified in the PATH message (processing block 808), sends a PATH messages to a downstream node identified in the received PATH message (processing block 810), and creates an intermediate path counter for the partial P2MP LSP (processing block 812). The intermediate path counter specifies the number of unicast paths in the partial P2MP LSP. In one embodiment, processing logic stores the partial P2MP LSP using a specific data structure (e.g., as a tree referred to herein as an intermediate tree).
Further, processing logic receives a matching RESV message (processing block 814), forwards the RESV message to an upstream node (processing block 816), and creates a multicast label mapping for the partial P2MP LSP (processing block 818).
At processing block 904, processing logic merges the path identified in the PATH messages with the other unicast paths in the existing partial P2MP LSP.
Next, processing logic sends a PATH messages to a downstream node identified in the received PATH message (processing block 906) and increments an intermediate path counter associated with the partial P2MP LSP (processing block 908).
Further, processing logic receives a matching RESV message (processing block 910) and updates a multicast label mapping of the partial P2MP LSP to include a new label that is specified in the received RESV message (processing block 912).
Afterwards, in one embodiment, processing logic sends a RESV message to an upstream node in response to receiving the RESV from the downstream node.
Next, processing logic identifies a partial P2MP LSP associated with the PATH TEAR message using the identifier of the P2MP LSP (processing block 1004) and forwards the PATH TEAR message to a corresponding downstream node (processing block 1005).
At decision box 1006, processing logic determines whether an intermediate path counter associated with the partial P2MP LSP is greater than 1. If the intermediate path counter is equal to 1, then it indicates that the partial P2MP LSP only includes a path to the receiver that is being removed. Hence, processing logic deletes the partial P2MP LSP, as well as the intermediate path counter and the multicast label mapping associated with this partial P2MP LSP (processing block 1016).
If the intermediate path counter is greater than 1, then processing logic removes the unicast path identified in the received PATH TEAR message from the partial P2MP LSP (processing block 1007) and decrements the intermediate path counter (processing block 1008).
Further, processing logic determines whether the downstream node to which the PATH TEAR message is forwarded is only involved in the path to the receiver being removed (decision box 1010). If so, processing logic updates the multicast label mapping to remove the label associated with the downstream node (processing block 1014).
Referring to
Next, processing logic in each core router along the computed P2P LSPs receives one or more PATH messages, assigns a suggested label to all received PATH messages, and forwards each PATH message with the assigned label to an upstream node (processing block 1106).
Further, processing logic in the source edge router receives the PATH messages from one or more core routers, creates a multicast label mapping for the P2MP LSP, and sends RESV messages matching the PATH messages received (processing block 1108).
Afterwards, processing logic in each core router receives one or more RESV messages, creates a multicast label mapping for the P2MP LSP, and forwards each RESV message to a downstream node (processing block 1110).
The control card(s) 1203 and the line cards 1202A-1202D illustrated in
While
While the invention has been described in terms of several embodiments, those skilled in the art will recognize that the invention is not limited to the embodiments described. The method and apparatus of the invention can be practiced with modification and alteration within the spirit and scope of the appended claims. The description is thus to be regarded as illustrative instead of limiting on the invention.
The present application claims priority to U.S. Provisional Application Ser. No. 60/541,892, filed Feb. 3, 2004, which is incorporated herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5831975 | Chen et al. | Nov 1998 | A |
6236657 | Andersson et al. | May 2001 | B1 |
6751221 | Saito et al. | Jun 2004 | B1 |
20010048683 | Allan et al. | Dec 2001 | A1 |
Number | Date | Country | |
---|---|---|---|
20050169266 A1 | Aug 2005 | US |
Number | Date | Country | |
---|---|---|---|
60541892 | Feb 2004 | US |