Due to network and router resource constraints, it is typically inadvisable to configure a short interval for the optimize timer. However, under certain circumstances, it might be desirable to reoptimize a path sooner than would normally be provided by the optimize timer.
For example, an LSP is traversing a preferred path which subsequently fails. The LSP is then switched to a less desirable path to reach the same destination. Even if the original path is quickly restored, it could take an excessively long period of time for the LSP to use it again, because it has to wait for the optimize timer to reoptimize the network paths. For situations such as this, you might want to configure the smart optimize timer.
By enabling the smart optimize timer, an LSP is switched back to its original path so long as the original path has been restored within 3 minutes of going down. Also, if the original path goes down again within 60 minutes, the smart optimize timer is disabled and path optimization behaves as it normally does when the optimize timer alone is enabled. This prevents the router from using a flapping link.
To configure smart optimize timer, include the smart-optimize-timer statement:
-
smart-optimize-timer seconds;
You can include this statement at the following hierarchy levels: