Enable Fast Reroute
To enable fast reroute on an LSP, include the
fast-reroutestatement on the ingress router:fast-reroute {bandwidthbps;(excludegroup-names| no-exclude);hop-limitnumber;(includegroup-names| no-include);}You can configure this statement at the following hierarchy levels:
[edit logical-routerslogical-router-nameprotocols mpls label-switched-pathlsp-path-name][edit protocols mpls label-switched-pathlsp-path-name]You do not need to configure fast reroute on the LSP's transit and egress routers. Once fast reroute is enabled, the ingress router signals all the downstream routers that fast reroute is enabled on the LSP, and each downstream router does its best to set up detours for the LSP. If a downstream router does not support fast reroute, it ignores the request to set up detours and continues to support the LSP. A router that does not support fast reroute will cause some of the detours to fail, but otherwise has no impact on the LSP.
By default, no bandwidth is reserved for the rerouted path. To allocate bandwidth for the rerouted path, include the
bandwidthstatement. The bandwidth does not need to be identical to that allocated for the LSP.Hop-limit constraints define how many more routers a detour is allowed to traverse compared with the LSP itself. By default, the hop limit is set to 6. For example, if an LSP traverses 4 routers, any detour for the LSP can be up to 10 (that is, 4 + 6) router hops, including the ingress and egress routers.
By default, a detour inherits the same administrative (coloring) group constraints as its parent LSP when CSPF is determining the alternate path. Administrative groups, also known as link coloring or resource class, are manually assigned attributes that describe the "color" of links, such that links with the same color conceptually belong to the same class. If you specify the
includestatement when configuring the parent LSP, all links traversed by the alternate session must have at least one color found in the list of groups. If you specify theexcludestatement when configuring the parent LSP, none of the links must have a color found in the list of groups. For more information about administrative group constraints, see Configure Administrative Groups.