The mpls te auto-frr reoptimization command enables auto bypass tunnel re-optimization.
The undo mpls te auto-frr reoptimization command disables auto bypass tunnel re-optimization.
By default, auto bypass tunnel re-optimization is disabled.
Parameter | Description | Value |
---|---|---|
frequency interval |
Indicates the re-optimization interval. Paths are recalculated at the interval based on auto bypass tunnel constraints. If an optimal path to the same destination is available, the system re-optimizes the auto bypass tunnel. |
The value is an integer ranging from 60 to 604800, in seconds. The default value is 3600s (one hour). |
Usage Scenario
Network changes often cause the changes in optimal paths. Run the mpls te auto-frr reoptimization to allow paths to be recalculated at certain intervals for an auto bypass tunnel. If an optimal path to the same destination is found due to some reasons, such as the changes in the cost, a new auto bypass tunnel will be set up over this optimal path. In this manner, network resources are optimized.
Automatic re-optimization: Auto bypass tunnels are re-optimized at intervals, requiring no manual intervention. The mpls te auto-frr reoptimization command can be used to implement the function, and this command takes effect on the auto bypass tunnels that have been already set up successfully.
Manual re-optimization: After the mpls te auto-frr reoptimization command is run, run the mpls te reoptimization (user view) command to re-optimize auto bypass tunnels manually.
Prerequisites
MPLS TE has been enabled using the mpls te command.