To establish a dynamic CR-LSP from an ingress node to an egress node, the ingress node sends Path messages to the egress node and the egress node sends Resv messages back to the ingress node. Path messages are sent to create Resource Reservation Protocol (RSVP) sessions and associate the path status. Every node that receives a path message creates a path state block (PSB). A Resv message carries resource reservation information. Every node that receives a Resv message creates a reservation state block (RSB) and allocates a label.
Figure 1 shows how RSVP-TE sets up a CR-LSP.
PE1 uses CSPF to calculate a path from PE1 to PE2, on which the IP address of every hop is specified. PE1 generates an explicit route object (ERO) with the IP address of each hop and adds the ERO in a Path message. PE1 then creates a PSB and sends the Path message to P1 according to information in the ERO. Table 1 describes objects carried in the Path message.
After P1 receives the Path message, it parses the message and creates a PSB according to information in the message. Then P1 updates the message and sends it to P2 according to the ERO. Table 2 describes objects in the Path message.
The RSVP_HOP object specifies the IP address of the outbound interface through which a Path message is sent. Therefore, PE1 sets the RSVP_HOP object to the IP address of the outbound interface toward P1, and P1 sets the RSVP_HOP field to the IP address of the outbound interface toward P2.
P1 deletes the local LSR ID and IP addresses of the inbound and outbound interfaces from the ERO field in the Path message.
After receiving the Path message, P2 creates a PSB according to information in the message, updates the message, and then sends it to PE2 according to the ERO field. Table 3 describes objects in the Path message.
After PE2 receives the Path message, PE2 knows that it is the egress of the CR-LSP to be set up according to the Destination field in the Session object. PE2 then allocates a label and reserves bandwidth, and generates a Resv message based on the local PSB. The Resv message carries the label allocated by PE2 and is sent to P2.
If a Resv message carries the RESV_CONFIRM object, the receiver needs to send a ResvConf message to the sender to confirm the resource reservation request.
When P2 receives the Resv message, P2 creates an RSB according to information in the message, allocates a new label, updates the message, and then sends it to P1. Table 5 describes objects in the Resv message.
After receiving the Resv message, P1 creates an RSB according to information in the message, updates the message, and then sends it to PE1. Table 6 describes objects in the Resv message.
PE1 obtains the label allocated by P1 from the received Resv message. Resources are successfully reserved and a CR-LSP is set up.