1-16
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring OSPF
Customizing OSPFv2
Configuring Route Calculation Timers
You can configure the delay time between when OSPFv2 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 OSPFv2 neighbor goes up or down.
Configure the log-adj-changes command if you want to know about OSPFv2 neighbors going up or
down without turning on the debug ospf adjacency command. The log-adj-changes 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
Step 1
router ospf process_id
Example:
hostname(config)# router ospf 2
Creates an OSPFv2 routing process and enters router
configuration mode for this OSPFv2 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.
Step 2
timers spf spf-delay spf-holdtime
Example:
hostname(config-rtr)# 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.
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.