Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


optimize-timer (Protocols MPLS)


Hierarchy Level


Enable periodic reoptimization of an LSP that is already set up. If topology changes occur, an existing path might become suboptimal, and a subsequent recomputation might be able to determine a better path.


This feature is useful only on LSPs for which constrained-path computation is enabled; that is, for which the no-cspf statement is not configured. Also, you only need to configure this statement on routers acting as the ingress for the affected LSPs (you do not need to configure this statement on transit or egress routers).

To avoid extensive resource consumption that might result because of frequent path recomputations, or to avoid destabilizing the network as a result of constantly changing LSPs, we recommend that you either leave the timer value sufficiently large or disable the timer value.


The optimize timer is disabled.


seconds—Length of the optimize timer, in seconds.

  • Range: 0 through 65,535 seconds

  • Default: 0 seconds (the optimize timer is disabled)

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.