Configuring OSPF timers spf
21-26 Routing Protocol Configuration
timers spf
UsethiscommandtochangeOSPFtimervaluestofine‐tunetheOSPFnetwork.
Syntax
timers spf spf-delay spf-hold
no timers spf
Parameters
Defaults
None.
Mode
Routercommand,Routerconfiguration:Matrix>Router(config‐router)#
Usage
The“no”formofthiscommandrestoresthedefaulttimervalues.
Example
Thisexampleshowshowtosetspfdelaytimeto7secondsandholdtimeto3:
Matrix>Router(config)#ospf 1
Matrix>Router(config-router)#timers spf 7 3
ip ospf retransmit-interval
Usethiscommandtosettheamountoftimebetweenretransmissionsoflinkstateadvertisements
(LSAs)foradjacenciesthatbelongtoaninterface.
Syntax
ip ospf retransmit-interval seconds
no ip ospf retransmit-interval
Parameters
Defaults
None.
spf‐delay Specifiesthedelay,inseconds,betweenthereceiptofanupdateandthe
SPFexecution.Validvaluesare0to4294967295.Default5Seconds.
spf‐hold Specifiestheminimumamountoftime,inseconds,betweentwo
consecutiveOSPFcalculations.Avalueof0meansthattwoconsecutive
OSPFcalculations
areperformedoneimmediatelyaftertheother.Valid
valuesare0to4294967295.Default:10Seconds.
seconds Specifiestheretransmittimeinseconds.Validvaluesare1to65535.
Default:5Seconds.