The mpls te reoptimization command enables automatic re-optimization for a TE tunnel.
The undo mpls te reoptimization command restores the default setting.
By default, automatic re-optimization for a TE tunnel is disabled.
Parameter | Description | Value |
---|---|---|
frequency interval | Specifies the interval for re-optimization. The system calculates the path for a TE tunnel based on constraints at the intervals of interval. If a better path to the same destination is calculated, the TE tunnel will be re-established over the better path. | The value is an integer that ranges from 60 to 604800, in seconds. By default, the interval is 3600 seconds. |
Usage Scenario
If a better path is calculated, to allow a TE tunnel to be automatically re-established over the better path, the mpls te reoptimization command needs to be run in the tunnel interface view. In this manner, after a better path to the same destination has been calculated for a certain reason such as the change of the cost, the TE tunnel can be automatically re-established, optimizing the resources on the network.
Automatic re-optimization: means that the TE tunnel is periodically optimized, saving manpower. To enable automatic re-optimization, run the mpls te reoptimization command in the tunnel interface view. In addition, this command takes effect only on an established TE tunnel.
Manual re-optimization: means that the TE tunnel is immediately optimized. To immediately optimize the TE tunnel, run the mpls te reoptimization command in the user view.
Prerequisites
CSPF has been enabled by running the mpls te cspf command.
Precautions
If the re-optimization function is configured after an explicit path is configured and a new path fails to meet the explicit path constraints, the re-optimization function will not take effect.
After a TE tunnel is configured with the re-optimization function, the tie-breaking in most-fill mode will not be supported.
The mpls te reoptimization command cannot be run together with the following commands: