摘要 |
Disclosed are a method for establishing a first LSP, including: receiving, by the current node, a first message from an upstream node, the first message including the identification information of a second LSP, and requesting, by the first message, the establishment of the first LSP, with the first LSP and the second LSP sharing a label; if the current node is an end node, and a first label exists in the link of the second LSP upstream of the current node, allocating the first label for the link of the first LSP upstream of the current node; if no label exists in the link of the second LSP upstream of the current node, allocating a second label for the link of the first LSP upstream of the current node; sending a second message to the upstream node, the second message carrying the allocated label for the link of the first LSP upstream of the current link;if a label exists in the link of the second LSP upstream of the current node, allocating the same label for the link of the first LSP upstream of the current node. Therefore the operations to the label forwarding list can be reduced, which avoids waste of bandwidth and saves costs. |