Upon expiration of this timer, the LSP is optimized for a new path when the new path has a lower cost than the existing path. This timer can be configured when the LSP is in a disabled state, and the timer value can be adaptively changed when the LSP is in an enabled state by issuing a commit to take effect. Until a commit is issued the re-opt timer is disabled.
To set the LSP re-optimization timer, complete the following steps.device# configure
device(config)# router mpls
device(config-router-mpls)# lsp to20
device(config-router-mpls-lsp-to20)# reoptimize-timer 1000
In the following example, the LSP re-optimize timer is configured to 1000 seconds.
device# configure device(config)# router mpls device(config-router-mpls)# lsp to20 device(config-router-mpls-lsp-to20)# reoptimize-timer 1000Configuring a re-optimization timer does not interfere with running the manual reoptimize command.
Note
When upgrading software, the configured adaptive LSPs are initialized with the no re-optimization timer.Note
Time-triggered re-optimizing does not apply to LSPs within a FRR network.