mpls te auto-frr reoptimization [ frequencyinterval ]
undo mpls te auto-frr reoptimization
Parameters
Parameter
Description
Value
frequencyinterval
Specifies 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).
Views
MPLS view
Default Level
2: Configuration level
Task Name and Operations
Task Name
Operations
mpls-te
write
Usage Guidelines
Usage Scenario
Network changes often cause the changes in optimal paths. Run the mpls te auto-frr reoptimization to allow the system to re-optimize 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. In this manner, network resources are optimized.
Auto bypass tunnel re-optimization can be classified into the following modes:
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.
Example
# Configure auto bypass tunnel re-optimization at 432-second intervals.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te auto-frr reoptimization frequency 432