An LSP occasionally might need to reroute itself. Reasons include the following:
You can configure an LSP to be adaptive when it is attempting to reroute itself. When it is adaptive, the LSP holds onto existing resources until the new path is successfully established and traffic has been cut over to the new LSP. To retain its resources, an adaptive LSP does the following:
By default, adaptive behavior is disabled. You can include the adaptive statement in two different hierarchy levels.
If you specify the adaptive statement at the LSP hierarchy levels, the adaptive behavior is enabled on all primary/secondary paths of the LSP. This means both the primary and secondary paths share the same bandwidth on common links.
To configure adaptive behavior for all LSP paths, include the adaptive statement in the LSP configuration:
-
adaptive;
You can include this statement at the following hierarchy levels:
If you specify the adaptive statement at the [edit protocols mpls label-switched-path lsp-name (primary | secondary) path-name] hierarchy level, adaptive behavior is enabled only on the path on which it is specified. Bandwidth double-counting occurs between different paths. However, if you also have the adaptive statement configured at the [edit protocols mpls label-switched-path lsp-name] hierarchy level, it overrides the adaptive behavior of each individual path.
To configure adaptive behavior for either the primary or secondary level, include the adaptive statement:
-
adaptive;
You can include this statement at the following hierarchy levels: