The user can set a timer to optimize a specific LSP path on a periodic basis.
The re-optimize timer is disabled, by default. Not configurable for a non-adaptive bypass LSP.
MPLS LSP configuration mode (config-router-mpls-lsp-lsp_name ).
MPLS router Bypass LSP configuration mode (config-router-mpls-bypass-lsp-bypass_name).
MPLS router dynamic bypass configuration mode (config-router-mpls-dynamic-bypass).
Until a commit is issued the re-optimize timer is disabled.
Configuring a re-optimization timer does not interfere with running the manual reoptimize command.
Time-triggered re-optimizing does not apply to LSPs within a FRR network.
When upgrading software, the configured adaptive LSPs are initialized with the no re-optimization timer.
Use the reoptimize-timer command to configure a re-optimization timer for dynamic bypasses.
Dynamic bypass LSP re-optimization is enabled when the re-optimization value is set to a non-zero value, and the timer is set for the specified amount of seconds.
The reoptimize-timer value can also be configurable on MPLS interface mode. The global set value is applicable to all dynamic bypass LSPs for which the corresponding interface level re-optimization timer value is not set.
Use the reoptimize-timer command to configure a re-optimization timer value for all the dynamic bypass LSPs that are being created corresponding to a protected interface. When configured, this value overrides the global mode reoptimize-timer configured value.
When a dynamic bypass is non-adaptive, the reoptimize-timer is not considered for the dynamic bypass LSP.
The no form of the command removes the reoptimize-timer and sets it to the value set in the dynamic bypass global mode.
MPLS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.
In the following example, the re-optimize time is configured to 1000 seconds, which specifies the number of seconds from the beginning of one re-optimization attempt to the beginning of the next attempt.
device# configure device(config)# router mpls device(config-router-mpls)# lsp to20 device(config-router-mpls-lsp-to20)# reoptimize-timer 1000 device(config-router-mpls-lsp-to20)# commit
The following example configures the reoptimize-timer to 300 seconds under the MPLS router dynamic bypass configuration mode.
device>configure device(config)# router-mpls device(config-router-mpls)# dynamic-bypass device(config-router-mpls-dynamic-bypass)# reoptimize-timer 360
The following example configures the reoptimize-timer to 360 seconds for dynamic bypass MPLS ethernet interface 2/8.
device>configure device(config)# router-mpls device(config-router-mpls)# mpls-interface ethernet 0/8 device(config-router-mpls-if-ethernet-0/8)# dynamic-bypass device(config-router-mpls-if-ethernet-0/8-dynamic-bypass)# reoptimize-timer 360