CR-LSP backup provides end-to-end protection for an MPLS TE tunnel. If the ingress node detects a failure of the primary CR-LSP, it switches traffic to a backup CR-LSP. After the primary CR-LSP recovers, traffic switches back to the primary CR-LSP.
CR-LSP backup functions include hot standby, ordinary backup, and the best-effort path:
Hot standby: A hot-standby CR-LSP is set up immediately after the primary CR-LSP is set up. When the primary CR-LSP fails, traffic switches to the hot-standby CR-LSP.
Ordinary backup: An ordinary backup CR-LSP can be set up only after a primary CR-LSP fails. The ordinary backup CR-LSP takes over traffic when the primary CR-LSP fails.
Best-effort path: If both the primary and backup CR-LSPs fail, a best-effort path is set up and takes over traffic.
In Figure 1, the primary CR-LSP is set up over the path PE1 -> P1 -> P2 -> PE2, and the backup CR-LSP is set up over the path PE1 -> P3 -> PE2. When both CR-LSPs fail, PE1 sets up a best-effort path PE1 -> P4 -> PE2 to take over traffic.
A best-effort path has no bandwidth reserved for traffic, but has an affinity and a hop limit configured to control the nodes it passes.
CR-LSP backup deployment
Item | Hot Standby |
Ordinary Backup |
Best-Effort Path |
---|---|---|---|
Path | Determine whether the paths of primary and hot-standby CR-LSPs partially overlap. A hot-standby CR-LSP can be established over an explicit path. A hot-standby CR-LSP supports the following attributes:
|
The path of an ordinary CR-LSP can partially overlap the path of the primary CR-LSP, no matter whether the ordinary CR-LSP is set up along an explicit or implicit path. An ordinary backup
CR-LSP supports the following attributes:
|
A best-effort path is automatically calculated by the ingress node. A best-effort path supports the following attributes:
|
Bandwidth | A hot-standby CR-LSP has the same bandwidth as a primary CR-LSP by default. Dynamic bandwidth protection can ensure that a hot-standby CR-LSP does not use additional bandwidth when it is not transmitting traffic. |
An ordinary backup CR-LSP has the same bandwidth as a primary CR-LSP. |
A best-effort path is only a protection path that does not have reserved bandwidth. |
Deployment mode | Can be established without attribute templates. |
Can be established without attribute templates. |
Can be established without attribute templates. |
Can be established using attribute templates. |
Can be established using attribute templates. |
Automatically established and does not support attribute templates. |
|
Configuration combination |
|
|
- |
Backup Mode |
Description |
Advantage |
Shortcoming |
---|---|---|---|
Hot standby | A hot-standby CR-LSP is set up over a separate path immediately after a primary CR-LSP is set up. | A rapid traffic switchover can be performed. | If dynamic bandwidth adjustment is disabled, additional bandwidth needs to be reserved for a hot-standby CR-LSP. |
Ordinary backup | The system attempts to set up an ordinary backup CR-LSP if a primary CR-LSP fails. | No additional bandwidth is needed. | Ordinary backup performs a traffic switchover slower than hot standby. |
Best-effort path | The system establishes a best-effort path over an available path if both the primary and backup CR-LSPs fail. | Establishing a best-effort path is easy and a few constraints are needed. | Some quality of service (QoS) requirements cannot be met. |
Backup CR-LSP setup
Multiple CR-LSP backup methods may be supported for a tunnel. The ingress node uses these methods in turn until a CR-LSP is successfully established.
If a stable CR-LSP has been established using any of the attribute templates, you can lock the used attribute template. After the attribute template is locked, the ingress node will not use a higher-priority attribute template to establish a CR-LSP. This locking function prevents unnecessary traffic switchovers and lowers system costs.
Hot standby (manually configured)
Hot standby (manually configured) and best-effort path
Hot standby (configured using a TE attribute template)
Hot standby (configured using a TE attribute template) and ordinary backup (configured using a TE attribute template)
Hot standby (configured using a TE attribute template) and best-effort path
Hot standby (configured using a TE attribute template), ordinary backup (configured using a TE attribute template), and best-effort path
Ordinary backup (manually configured)
Ordinary backup (configured using a TE attribute template)
Ordinary backup (configured using a TE attribute template) and best-effort path
Best-effort path
Backup CR-LSP attribute modification
If attributes of a backup CR-LSP are modified, the ingress node uses the make-before-break mechanism to reestablish the backup CR-LSP with the updated attributes. After that backup CR-LSP has been successfully reestablished, traffic on the original backup CR-LSP (if it is transmitting traffic) switches to this new backup CR-LSP, and then the original backup CR-LSP is torn down.
Fault detection
Traffic switchover
After the primary CR-LSP fails, the ingress node attempts to switch traffic from the primary CR-LSP to a hot-standby CR-LSP. If the hot-standby CR-LSP is unavailable, the ingress node attempts to switch traffic to an ordinary backup CR-LSP. If the ordinary backup CR-LSP is unavailable, the ingress attempts to switch traffic to a best-effort path.
Traffic switchback
Traffic switches back to a path based on priorities of the available CR-LSPs. Traffic will first switch to the primary CR-LSP. If the primary CR-LSP is unavailable, traffic will switch to the hot-standby CR-LSP. The ordinary CR-LSP has the lowest priority.
Hot-standby CR-LSPs support dynamic bandwidth protection. The dynamic bandwidth protection function allows a hot-standby CR-LSP to obtain bandwidth resources only after the hot-standby CR-LSP takes over traffic from a faulty primary CR-LSP. This function improves bandwidth efficiency and reduces network costs.