07-15-2011 11:40 AM - edited 03-04-2019 01:00 PM
Hi all,
By default, ospf will send 4 hello packet for every ten seconds, if there is no reply within 40 seconds, this ospf will be declared as down. If I want shorten the ospf time. Let's say, I want to declare the ospf neighbor is alive or not within 8 seconds. Then, which method below I need to choose?
(Method 1)
int gi1/0/1
ip ospf hello-interval 2
(Method 2)
int gi1/0/1
ip ospf dead-interval 8
(Method 3)
int gi1/0/1
ip ospf hello-interval 2
ip ospf dead-interval 8
07-15-2011 01:38 PM
Hi,
By default, ospf will send 4 hello packet for every ten seconds, if there is no reply within 40 seconds, this ospf will be declared as down.
Wrong. It depends on OSPF network types. OSPF sends a hello every 10 seconds on Point-To-Point network type by default.
You just change the hello-interval then the device will adjust dead-interval for you autometically. Just check by using a "show ip ospf interface" command.
HTH,
Toshi
07-15-2011 05:50 PM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Method 1 unless you also desire to change the number of missed hellos.
PS:
BTW, later IOSs support subsecond and/or OSPF with BFD which allows you to detect down neighbors in under a seconds.
PPS:
Toshi is correct about default time varies.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: