Setting the reoptimizer-timer

When the user configures the re-optimization value to a non-zero value, in seconds, the reoptimizer-timer command enables the dynamic bypass LSP re-optimization.

The re-optimization timer value is configurable on all MPLS interface modes. The global set value is applicable to all dynamic bypass LSPs for which the corresponding interface level re-optimization timer value is not set.

To configure the reoptimizer-timer, complete the following steps.

  1. Enable the device for configuration.
    device>configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable dynamic bypass for configuration.
    device(config-router-mpls)# dynamic-bypass
  4. Configure the reoptimizer-timer. In this example, the reoptimizer-timer is configured to 300 seconds.
    device(config-router-mpls-dynamic-bypass)# reoptimize-timer 300

The following example combines the steps above to configure the reoptimizer-timer to 300 seconds.

device>configure
device(config)# router mpls
device(config-router-mpls)# dynamic-bypass
device(config-router-mpls-dynamic-bypass)# reoptimize-timer 300