Hot standby (HSB) is supported by E2E SR-MPLS TE tunnels. With HSB enabled, a device creates an HSB LSP once creating a primary LSP. The HSB LSP remains in the hot standby state. The HSB LSP protects an entire LSP and provides an E2E traffic protection measure.
In Figure 1, HSB is configured on the ingress CGS1. After CSG1 creates the primary LSP, it immediately creates an HSB LSP. An SR-MPLS TE tunnel contains two LSPs. If the ingress detects a primary LSP fault, the ingress switches traffic to the HSB LSP. After the primary LSP recovers, the ingress switches traffic back to the primary LSP. During the process, the SR-MPLS TE tunnel remains Up.
In Figure 1, the controller calculates a path CSG1->AGG1->ASBR1->ASBR3->P1->PE1 for the primary LSP of an E2E SR-MPLS TE tunnel. The path is mapped to a label stack {6000, 3040, 8000}, where 6000 and 8000 are binding SID labels, and 3040 is a BGP peer SID. The HSB LSP of the E2E SR-MPLS TE tunnel is established over the path CSG1->CSG2->AGG2->ASBR2->ASBR4->P2->PE2->PE1. This path is mapped to a label stack {7000, 3140, 9000}, where 7000 and 9000 are binding SID labels, and 3140 is a BGP peer SID.