timers spf
Methods for Calculating OSPF Interface Cost
The router uses the methods and precedence listed in Table 12 on page 287 to calculate
the OSPF interface cost.
Table 12: Methods and Precedence for Calculating OSPF Interface Cost
host1(config)#route-map dist1 permit 5
host1(config-route-map)#match community boston42
host1(config-route-map)#set distance 33
host1(config-route-map)#exit
host1(config)#router ospf 100
host1(config-router)#table-map dist1
host1(config-router)#exit
host1(config)#exit
host1#clear ip routes *
Use the no version to halt application of the route map.
See table-map
Use to configure the time between two consecutive SPF calculations.
Set the time (in seconds) in the range 1–5; the default value is 3 seconds.
If you set the hold time to 0, there is no delay between two consecutive SPF
calculations. They can be done one immediately after the other.
Example
host1(config-router)#timers spf 2
Use the no version to return to the default value, 3 seconds.
See timers spf
Cost Calculation Method
Issuing address cost command
Issuing ip ospf cost command
Using actual bandwidth configured on
OSPF interface
Chapter 5: Configuring OSPF
Precedence
Takes the highest precedence. The router uses the cost
configured on the OSPF interface for cost calculation.
Takes precedence if you do not use the address cost
command to configure the interface cost. The router
uses the cost configured on the OSPF interface for cost
calculation.
If you issue the ospf bandwidth command to enable
use of the configured bandwidth for OSPF interface cost
calculation, and do not use either the address cost
command or the ip ospf cost command to configure
the interface cost, the router uses the actual bandwidth
configured on the OSPF interface for cost calculation.
Configuring Additional Parameters
287
Need help?
Do you have a question about the IGP - CONFIGURATION GUIDE V11.1.X and is the answer not in the manual?