Time-triggered re-optimizing

The user can set a timer to optimize a specific LSP path on a periodic basis.

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.
  1. Configure the device.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Configure the signaled label switched path (LSP).
    device(config-router-mpls)# lsp to20
    In this example, the selected LSP name is to20 .
  4. Configure the re-optimize timer.
    device(config-router-mpls-lsp-to20)# reoptimize-timer 1000
    in this 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.

Example

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 1000
Configuring a re-optimization timer does not interfere with running the manual reoptimize command.
Note

Note

When upgrading software, the configured adaptive LSPs are initialized with the no re-optimization timer.
Note

Note

Time-triggered re-optimizing does not apply to LSPs within a FRR network.