24-13
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter24 Configuring OSPF
Customizing OSPF
Configuring Route Calculation Timers
You can configure the delay time between when OSPF receives a topology change and when it starts an
SPF calculation. You also can configure the hold time between two consecutive SPF calculations.
To configure route calculation timers, perform the following steps:
Detailed Steps
Logging Neighbors Going Up or Down
By default, a syslog message is generated when an OSPF neighbor goes up or down.
Configure log-adj-changes router configuration command if you want to know about OSPF neighbors
going up or down without turning on the debug ospf adjacency command. The log-adj-changes router
configuration command provides a higher level view of the peer relationship with less output. Configure
the log-adj-changes detail command if you want to see messages for each state change.
Command Purpose
Step1 router ospf process_id
Example:
hostname(config)# router ospf 2
Creates an OSPF routing process and enters router configuration
mode for this OSPF process.
The process_id argument is an internally used identifier for this
routing process and can be any positive integer. This ID does not
have to match the ID on any other device; it is for internal use
only. You can use a maximum of two processes.
Step2 timers spf spf-delay spf-holdtime
Example:
hostname(config-router)# timers spf 10 120
Configures the route calculation times.
The spf-delay argument is the delay time (in seconds) between
when OSPF receives a topology change and when it starts an SPF
calculation. It can be an integer from 0 to 65535. The default time
is 5 seconds. A value of 0 means that there is no delay; that is, the
SPF calculation is started immediately.
The spf-holdtime argument is the minimum time (in seconds)
between two consecutive SPF calculations. It can be an integer
from 0 to 65535. The default time is 10 seconds. A value of 0
means that there is no delay; that is, two SPF calculations can be
performed, one immediately after the other.