Specifications
timers spf
16-18 IPv4 Routing Protocol Configuration
Usage
Thepriorityvalueiscommunicatedbetweenroutersbymeansofhellomessagesandinfluences
theelectionofadesignatedrouter.
Example
ThisexampleshowshowtosettheOSPFpriorityto20fortheVLAN1interface:
C3(su)->router(Config)#interface vlan 1
C3(su)->router(Config-if(Vlan 1))#ip ospf priority 20
timers spf
UsethiscommandtochangeOSPFtimervaluestofine‐tunetheOSPFnetwork.Thenoformof
thiscommandrestoresthedefaulttimervalues(5secondsfordelayand10secondsforholdtime).
Syntax
timers spf spf-delay spf-hold
no timers spf
Parameters
Defaults
None.
Mode
Routerconfiguration:C3(su)‐>router(Config‐router)#
Example
ThisexampleshowshowtosetSPFdelaytimeto7secondsandholdtimeto3:
C3(su)->router(Config)#router ospf 1
C3(su)->router(Config-router)#timers spf 7 3
spf‐delay Specifiesthedelay,inseconds,betweenthereceiptofanupdateandtheSPF
execution.Validvaluesare0to4294967295.
spf‐hold Specifiestheminimumamountoftime,inseconds,betweentwo
consecutiveOSPFcalculations.Validvaluesare0to4294967295. Avalueof
0meansthattwo
consecutiveOSPFcalculationsareperformedone
immediatelyaftertheother.