The mpls te reoptimization command enables periodic re-optimization for a tunnel.
The undo mpls te reoptimization command disables this function.
By default, re-optimization is disabled.
Parameter | Description | Value |
---|---|---|
frequency interval |
Specifies the re-optimization interval. A CR-LSP is recalculated at a specified interval based on constraints. If a better path is calculated, a CR-LSP is re-established over the new path. |
The value is an integer ranging from 60 to 604800, in seconds. By default, the interval is 3600 seconds, namely, 1 hour. |
Usage Scenario
The mpls te reoptimization command is run in the tunnel interface view to allow a TE tunnel to be automatically reestablished over a better path if the better path is calculated. After a better path to the same destination has been calculated for a certain reason, such as a cost change, a TE tunnel will be automatically reestablished, optimizing resources on a network.
Re-optimization for a TE tunnel is performed in either of the following modes:Prerequisites
CSPF has been enabled using the mpls te cspf command.