Generally the MPLS are used to transmit the L2 traffic, for which it has 3 labels, the transport label, the VC label and the PLR adds one more label which is known as bypass label.
So after the PLR reroutes the traffic it has 3 labels the outer bypass label, the transport label and the VC label.
FRR Node protection:-
Fast-reroute
Thursday, December 9, 2010
Wednesday, December 8, 2010
Facility Backup
In tihs case all the protected LSP 's in the same network segment share the same bypass tunnel.
Facility bypass reduces the number of bypass tunnels required to provide protection to the main LSP
Facility bypass tunnel cannot be used as a backup for those LSP which are configured with a reservation style of FF.
When a failure of a link occurs traffic from multiple LSP;s are rerouted by the PLR through the same bypass tunnel.
When the traffic reaches the MP router it merges the traffic back to the primary LSP, in order to achieve this purpose the MP router must be aware of the LSP's in which each flow belongs to. Favility bypass tunnel takes advantage of the MPLS label stack and uses a third label to encapsulate the protected traffic and carry it through the bypass tunnels.
The following is seen when facility backup is used:-
When the PLR reroutes the traffi c away from the local failure, it keeps both
labels in the protected traffi c’s MPLS label stack. It pushes the third bypass
tunnel label to re-encapsulate the protected traffi c and then sends the traffi c over
the bypass tunnel. The protected traffi c now has one more label in the MPLS
label stack, the bypass tunnel label on the top.
• All routers along the bypass tunnel swap only the top bypass tunnel label to
switch the traffi c toward the termination point of the tunnel. The protected
traffi c is tunneled from the PLR to the MP router; this is why the protection tunnel
used by FRR facility backup is called the bypass tunnel.
• At the termination point of the bypass tunnel, the MP router fi rst pops the
bypass tunnel label to expose the original traffi c. Then, the MP identifi es the
original LSP-Path by examining the outer labels (MPLS transport label) and
merges the traffi c back to the correct protected LSPs.
The bypass tunnel is used for a multiple LSP hence each of them uses its own tunnel-id and LSP-id.
Once it receives the path message from the HE router all the routers assume the PLR role and start to establish bypass tunnels
The path message of each of the PLR when they assumed the role of the PLR has the following items:-
Fast Reroute object:- This contains the ip address of the PLR and the ip address the detour LSP is trying to avoid.
IP address, can share this tunnel.
Once established the bypass tunnel becomes a common facility and can be used by many LSP traversing the path hence the name bypass.
SESSION_ATTRIBUTE object, the name of the bypass tunnel is set to thebypass-{link|node}{IP address of the protected object}.bypass-link10.117.118.1 means that
Facility bypass reduces the number of bypass tunnels required to provide protection to the main LSP
Facility bypass tunnel cannot be used as a backup for those LSP which are configured with a reservation style of FF.
When a failure of a link occurs traffic from multiple LSP;s are rerouted by the PLR through the same bypass tunnel.
When the traffic reaches the MP router it merges the traffic back to the primary LSP, in order to achieve this purpose the MP router must be aware of the LSP's in which each flow belongs to. Favility bypass tunnel takes advantage of the MPLS label stack and uses a third label to encapsulate the protected traffic and carry it through the bypass tunnels.
The following is seen when facility backup is used:-
When the PLR reroutes the traffi c away from the local failure, it keeps both
labels in the protected traffi c’s MPLS label stack. It pushes the third bypass
tunnel label to re-encapsulate the protected traffi c and then sends the traffi c over
the bypass tunnel. The protected traffi c now has one more label in the MPLS
label stack, the bypass tunnel label on the top.
• All routers along the bypass tunnel swap only the top bypass tunnel label to
switch the traffi c toward the termination point of the tunnel. The protected
traffi c is tunneled from the PLR to the MP router; this is why the protection tunnel
used by FRR facility backup is called the bypass tunnel.
• At the termination point of the bypass tunnel, the MP router fi rst pops the
bypass tunnel label to expose the original traffi c. Then, the MP identifi es the
original LSP-Path by examining the outer labels (MPLS transport label) and
merges the traffi c back to the correct protected LSPs.
The bypass tunnel is used for a multiple LSP hence each of them uses its own tunnel-id and LSP-id.
The
facility bypass uses the Near-MP approach:
• For link protection, the bypass tunnel originates at the PLR and terminates at
the PLR’s NHop router. The MP is always the NHop router of the PLR.
• For node protection, the bypass tunnel originates at the PLR and terminates at
the PLR’s NNHop router. The MP is always the NNHop router of the PLR.
Thus, LSP-Paths can share the bypass tunnel providing their paths go through
same PLR and MP.
When an HE router has an LSP confi gured with facility backup desired, the HE
router sends a PATH message indicating this by:
• Adding the
set (
• Setting the
FAST_REROUTE object having the facility backup desired fl ag0x02)SESSION_ATTRIBUTE object’s fl ag of local-protection-desiredbit to 1. If node protection is desired, it will also set the
node-protection-desired
not have a fl ag indicating node protectionbit to 1. The FAST_REROUTE object doesOnce it receives the path message from the HE router all the routers assume the PLR role and start to establish bypass tunnels
The path message of each of the PLR when they assumed the role of the PLR has the following items:-
Fast Reroute object:- This contains the ip address of the PLR and the ip address the detour LSP is trying to avoid.
In the
format of
As an example, the bypass tunnel name of
this tunnel is providing a link protection for the link with one side’s IP address 10.117.118.1. All LSPs desiring link protection on that link, by that particularIP address, can share this tunnel.
Once established the bypass tunnel becomes a common facility and can be used by many LSP traversing the path hence the name bypass.
SESSION_ATTRIBUTE object, the name of the bypass tunnel is set to thebypass-{link|node}{IP address of the protected object}.bypass-link10.117.118.1 means that
Detour Merge Point
Detour Merge Point is the router where multiple detour LSP intersect and merge.
Merging one to one detour tunnels reduces the number of LSP in the entire network.
Merging one to one detour tunnels reduces the number of LSP in the entire network.
One to One backup
One to one backup has better granularity then facility however it uses more resources.
In one to one backup each LSP has its own detour LSP in one to one backup policy although it requires more granularity but it consumes more resources.
The HE router sends a path message with the one to one desired flag set.
If the node protection is desired the session attribute flag also has the node protection desired flag set.
After the FRR is established all the routers except the tail router assumes the role of PLR and creates a detour path.
The detour LSP has the same tunnel-id and LSP-id as the primary LSP
They all have a Detour object containing the PLR router ip address and the ip address that the detour LSP is trying to avoid.
All the detour LSP have the following naming conventions Protected LSP name::Protected LSP path name_detour.
lsp-to-163::163_detour means that this detourlsp-to-163 and path name 163.
In one to one backup each LSP has its own detour LSP in one to one backup policy although it requires more granularity but it consumes more resources.
The HE router sends a path message with the one to one desired flag set.
If the node protection is desired the session attribute flag also has the node protection desired flag set.
After the FRR is established all the routers except the tail router assumes the role of PLR and creates a detour path.
The detour LSP has the same tunnel-id and LSP-id as the primary LSP
They all have a Detour object containing the PLR router ip address and the ip address that the detour LSP is trying to avoid.
All the detour LSP have the following naming conventions Protected LSP name::Protected LSP path name_detour.
lsp-to-163::163_detour means that this detourlsp-to-163 and path name 163.
If a primary LSP traverses n hops in the network then there will be n-1 LSP's in there network, although no detour configuration is necessary however in a highly scalable network this increases the number of LSP to a huge number.
The PLR notifies the HE router of the failure by setting the local-repair-in-use flag set in the path error message.
When there is a failure the PLR tries to establish node protection with 3 attempts if node protection is not possible then the router resorts to link protection.
First the primary LSP is set up by exchanging the labels
When the PLR signals the detour LSP to the merge point, the merge point distributes labels for the detour LSP and also It programs to swap the label 200 with label 100 if the detour LSP is used.
Tuesday, December 7, 2010
Merge Point
This is the point where the protection tunnel and the protected LSP meets. This is also the tail end router of the protection tunnel.
The functions of Merge point includes merging the trafic back to the protected LSP path.
Maintain the protection tunnel state:- RESV messages are sent to refresh the protection tunnel.
Location of the Merge Point:-
Far MP approach:- In this case the MP terminates as close as possible to the Tail end router
Near MP approach:- In this case the MP terminates very near to the PLR, for link protection it terminates to the next hop router and in the case of Node protection it terminates to next to next hop router.
One to One uses the far MP approach and the facility implements near MP approach.
The functions of Merge point includes merging the trafic back to the protected LSP path.
Maintain the protection tunnel state:- RESV messages are sent to refresh the protection tunnel.
Location of the Merge Point:-
Far MP approach:- In this case the MP terminates as close as possible to the Tail end router
Near MP approach:- In this case the MP terminates very near to the PLR, for link protection it terminates to the next hop router and in the case of Node protection it terminates to next to next hop router.
One to One uses the far MP approach and the facility implements near MP approach.
Point of Local Repair
When FRR is configured all the routers along the path assumes the role of the PLR
The label used by the PLR when there is a failure ie for the detour path depends upon the type of FRR which is being used. In the case of one to one the label used for the detour path is the label which is being assigned by the immediate downstream router on the detour path.
In the case of facility backup the data from the protected LSP is tunneled across a bypass tunnel, hence the outer label is the label which is assigned by the immediate downstream router of the detour path the PLR also has to know the label which is being expected by the Merge point, the record label option makes this possible for the RRO. Hence the PLR adds two labels one which is being received from the immediate downstream router of the detour path, the second label is the label which the Merge point expects.
Two messages are sent by PLR towards the HE router notifying the failure
Path Error message:- RSVP notify error and the value is tunnel locally repaired
It also sends the FRR in use flag set in the RRO object of the RESV message.
The label used by the PLR when there is a failure ie for the detour path depends upon the type of FRR which is being used. In the case of one to one the label used for the detour path is the label which is being assigned by the immediate downstream router on the detour path.
In the case of facility backup the data from the protected LSP is tunneled across a bypass tunnel, hence the outer label is the label which is assigned by the immediate downstream router of the detour path the PLR also has to know the label which is being expected by the Merge point, the record label option makes this possible for the RRO. Hence the PLR adds two labels one which is being received from the immediate downstream router of the detour path, the second label is the label which the Merge point expects.
Two messages are sent by PLR towards the HE router notifying the failure
Path Error message:- RSVP notify error and the value is tunnel locally repaired
It also sends the FRR in use flag set in the RRO object of the RESV message.
Monday, December 6, 2010
Head End Router
This is the origination point of the LSP. The head end router informs if one to one or facility is desired in the path message session attribute object. After each router along the lsp path receives the path message it acts as a PLR and tries to set up the detour, each PLR informs the HE router if the detour is available or not.
PLR informs the HE router of a failure in 2 ways:-
1> It sends the RESV message to the HE router where the local protection in use flag is set.
2> PathErr message with an ERROR object. The error0x19) — RSVP Notify Error. The error value is0x03) — tunnel locally repaired.
Once a path error is receivd by the HE router it switches the traffic to a secondary standby LSP, if a standby LSP is not available it tries to initiate a LSP in an Make Before Break (MBB) manner.
When the HE router comes to know that a FRR is in use it starts the MBB process immediately however it initiates the process of establishing the LSP after some time ie after the retry timer expires.
After the MBB process is successful traffic is switched immediately to the standby LSP.
PLR informs the HE router of a failure in 2 ways:-
1> It sends the RESV message to the HE router where the local protection in use flag is set.
2> PathErr message with an ERROR object. The error0x19) — RSVP Notify Error. The error value is0x03) — tunnel locally repaired.
The PLR sends a
code is 25 (
3 (Once a path error is receivd by the HE router it switches the traffic to a secondary standby LSP, if a standby LSP is not available it tries to initiate a LSP in an Make Before Break (MBB) manner.
When the HE router comes to know that a FRR is in use it starts the MBB process immediately however it initiates the process of establishing the LSP after some time ie after the retry timer expires.
After the MBB process is successful traffic is switched immediately to the standby LSP.
Subscribe to:
Posts (Atom)