9-17
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 9 Configuring IP Routing
Configuring 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:
Step 1
If you have not already done so, enter the router configuration mode for the OSPF process you want to
configure by entering the following command:
hostname(config)#
router ospf
process_id
Step 2
To configure the route calculation time, enter the following command:
hostname(config-router)#
timers spf
spf-delay spf-holdtime
The
spf-delay
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
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 done, one immediately after the other.
The following example shows how to configure route calculation timers:
hostname(config)#
router ospf 1
hostname(config-router)#
timers spf 10 120
Logging Neighbors Going Up or Down
By default, the system sends a system message when an OSPF neighbor goes up or down.
Configure this 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
log-adj-changes detail
if you
want to see messages for each state change.
To log neighbors going up or down, perform the following steps:
Step 1
If you have not already done so, enter the router configuration mode for the OSPF process you want to
configure by entering the following command:
hostname(config)#
router ospf
process_id
Step 2
To configure logging for neighbors going up or down, enter the following command:
hostname(config-router)#
log-adj-changes
[
detail
]
Note
Logging must be enabled for the the neighbor up/down messages to be sent.
The following example shows how to log neighbors up/down messages:
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......