TE FRR must be enabled on the ingress of a primary LSP before TE FRR is manually configured.
The system view is displayed.
The view of the primary tunnel interface is displayed.
TE FRR is enabled.
After TE FRR is enabled using the mpls te fast-reroute command, run the mpls te bypass-attributes command to set bypass LSP attributes.
The MPLS TE tunnel is enabled to mask the FRR function, preventing traffic from being switched to the primary LSP in the FRR-in-use state.
After TE FRR takes effect, traffic is switched to the bypass LSP when the primary LSP fails. If the bypass LSP is not the optimal path, traffic congestion easily occurs. To prevent traffic congestion, you can configure LDP to protect TE tunnels. To have the LDP protection function take effect, you also need to run the mpls te frr-switch degrade command to enable the MPLS TE tunnel to mask the FRR function. After the command is run:
If the primary LSP is in the FRR-in-use state (that is, traffic has been switched to the bypass LSP), traffic cannot be switched to the primary LSP.
If HSB is configured for the tunnel and an HSB LSP is available, traffic is switched to the HSB LSP.
If no HSB LSP is available for the tunnel, the tunnel is unavailable, and traffic is switched to LDP tunnels.
The configuration is committed.