What Does Dead timer Mean?
On This Page
Quick Definition
In OSPF, routers send regular Hello messages to stay in touch. The Dead timer is the amount of time a router will wait without receiving a Hello message before it decides the neighbor has failed. Once the Dead timer expires, the router removes the neighbor from its database and stops using it for routing traffic.
Common Commands & Configuration
show ip ospf interfaceshow ip ospf neighbor [interface] [neighbor-id]ip ospf dead-interval secondsip ospf hello-interval secondsdebug ip ospf adjMust Know for Exams
In the CCNA exam, the Dead timer is a core OSPF concept that appears in multiple question types. The exam objectives under Routing Technologies include 'Configure and verify OSPF neighbor relationships' and 'Describe OSPF process, timers, and metrics'. Understanding the Dead timer is essential for both configuration and troubleshooting scenarios.
Questions often test the default Hello and Dead timer values: Hello 10 seconds, Dead 40 seconds on Ethernet. The ratio of 4:1 is a common hook. Candidates must also know that on NBMA networks like Frame Relay, the default Hello is 30 seconds and Dead is 120 seconds, though this is less emphasized in the current CCNA.
Another frequent exam theme is the relationship between the Dead timer and neighbor state. When troubleshooting why OSPF routers are not becoming Full neighbors, one of the first steps is to check for mismatched timers. Simulated lab questions might show output from show ip ospf interface or show ip ospf neighbor and ask the candidate to identify why an adjacency is stuck in INIT or DOWN.
The Dead timer also appears in multiple-choice questions about OSPF operation: for example, 'What happens when the Dead timer expires on a router?' The correct answer is that the router removes the neighbor from the routing table and triggers an SPF recalculation. Some questions test the concept of 'fast hello' where the Dead timer is set to a value that forces immediate detection, but candidates must know this requires configuration.
CCNA exam blueprints include 'Troubleshoot OSPF neighbor issues', and timer mismatch is a classic cause. Candidates might be shown a scenario with missing routes and asked to deduce from show command output that the Dead timers differ. The exam also expects knowledge that modifying the Hello timer automatically adjusts the Dead timer if using the default multiplier, but manual configuration can decouple them.
CCNA candidates must memorize default values, understand the four-to-one ratio, know how to verify timers, and be able to diagnose timer-related adjacency problems. The Dead timer is not a trivial topic; it directly ties into the larger concepts of OSPF state machine, LSA flooding, and path selection, all of which are heavily tested.
Simple Meaning
Think of the OSPF Dead timer like a countdown clock in a team coordination exercise. Imagine you and a coworker are in different rooms and must check in every 10 seconds by shouting. If you don't hear from them for 40 seconds, you assume they left or are unable to continue, and you adjust your plan accordingly. That 40-second period is the Dead timer. In OSPF, routers act like team members. They send short messages called Hello packets at a regular interval, defined by the Hello timer. The Dead timer is typically four times the Hello timer, giving the router a reasonable chance to miss a few Hellos due to network delay or brief congestion before being declared dead. Once the Dead timer expires, the router updates its Link State Database, recalculates routes via Shortest Path First (SPF), and removes the dead neighbor from its routing table. This prevents the router from trying to send data through a failed path. The Dead timer ensures the network reacts quickly to failures without being too sensitive to occasional lost packets. It balances stability with fast convergence, which is critical in large enterprise networks where every second of downtime can affect thousands of users.
On broadcast networks like Ethernet, the default Dead timer is 40 seconds with a Hello interval of 10 seconds. On non-broadcast multi-access (NBMA) networks or point-to-point links, the defaults may differ, but the four-to-one ratio usually holds. Network engineers can adjust these timers, but they must be consistent across all routers on the same link. If one router has a different Dead timer, it might declare a neighbor dead prematurely or never declare them dead at all, causing routing loops or black holes. The Dead timer is part of the OSPF protocol defined in RFC 2328, and understanding it is crucial for designing reliable and fast-converging IP networks.
Full Technical Definition
The OSPF Dead timer is a configurable interval that defines how long a router will wait for a Hello packet from a neighboring router before considering the neighbor down. According to RFC 2328, the default Dead interval is four times the Hello interval, which is 40 seconds on broadcast and point-to-point networks where the default Hello interval is 10 seconds. This ratio provides a tolerance for occasional packet loss while still enabling relatively quick detection of link failures. The Dead timer operates at the OSPF interface level. Each OSPF-enabled interface maintains a neighbor state machine. When a router first discovers a neighbor via a received Hello, it starts a Dead timer for that neighbor. Every time a new Hello is received from that neighbor, the router resets the Dead timer. If the timer expires before a Hello arrives, the neighbor state transitions from a full adjacency (Full) to Down. The router then removes all Link State Advertisements (LSAs) originated by that neighbor from its Link State Database. This triggers a new SPF calculation, updating the routing table to exclude routes that depended on that neighbor.
The Dead timer must be identical on all routers sharing a link for OSPF to form a stable adjacency. This is verified during the Hello packet exchange. Each Hello includes the Router Dead Interval field. If two routers advertise different Dead intervals, they will not become neighbors. This ensures that no router assumes a neighbor is alive longer than the neighbor itself expects. Engineers can adjust the Hello and Dead timers using the ip ospf dead-interval command in Cisco IOS. On very fast networks, they might set a 1-second Hello with a 4-second Dead timer for sub-second convergence. However, this increases protocol overhead and can cause flapping on unstable links. On slow or congested links, longer timers prevent unnecessary adjacency resets. The Dead timer also interacts with OSPF network types. On NBMA networks like Frame Relay, where Hellos are unicast, the Dead timer might need to be longer to account for slower link propagation. The timer is also used in OSPF virtual links and sham links. Understanding the Dead timer is essential for troubleshooting adjacency issues. If routers are not forming adjacencies, mismatched Dead timers are one of the first things to check. Tools like debug ip ospf adj or show ip ospf neighbor detail reveal timer values and neighbor state. The Dead timer is a fundamental OSPF mechanism that balances fast failure detection with network stability, and its correct configuration is critical for robust routing.
Real-Life Example
Imagine you are coordinating a group hike with a friend using walkie-talkies. You both agree to check in every 10 minutes by saying the word 'Hello' over the radio. If you ever miss a check-in, you assume something might have happened, but you also know that sometimes radios fail due to interference or a dead battery.
So you decide that if you go 40 minutes without hearing from your friend, you will assume they are definitely lost or injured and you will change your route to search for them. The 10-minute interval is the Hello timer, and the 40-minute patience limit is the Dead timer. Now, during the hike, you get a check-in every 10 minutes, so you reset your countdown clock each time.
But one time, the radio crackles and you miss two check-ins in a row due to a ridge blocking the signal. You still wait until the full 40 minutes have passed because you know the rule. When the 40 minutes are up, you stop heading toward the planned meeting point.
Instead, you turn around and go back to the last known location, effectively updating your plan to account for the lost connection. In OSPF terms, your router also waits for the Dead timer to expire before reacting, not after just one missed Hello. This prevents unnecessary route changes due to a single dropped packet.
The Dead timer gives the network a buffer against brief glitches while still ensuring that a truly dead neighbor is detected in a reasonable time. Without this patience, every small radio hiccup would cause routing tables to recalculate, wasting CPU cycles and potentially causing packet loss. The Dead timer enforces discipline: it waits long enough to be sure, but not so long that traffic continues flowing into a dead link.
Why This Term Matters
The Dead timer matters because it directly impacts how quickly a network can recover from a failure. In a production network, every second of routing convergence delay can result in lost packets, dropped VoIP calls, or disrupted transactions. The Dead timer determines the detection phase of convergence.
Once a router declares a neighbor dead, it can recalculate routes and inform other routers via LSAs. Setting the Dead timer too high means that a link failure might go undetected for 40 seconds or more, causing traffic to be sent into a black hole. Setting it too low makes the network overly sensitive to transient issues like packet loss or CPU spikes, leading to unnecessary SPF calculations and route flaps.
Flapping can destabilize the entire OSPF domain, causing routers to constantly update their databases and potentially overwhelming CPU and memory resources. Network administrators must choose Dead timer values that match the characteristics of the link. For high-speed data center links with redundant paths, aggressive timers (like 1-second Hello and 4-second Dead) provide fast failover.
For satellite links with high latency, longer timers (like 60-second Dead) might be necessary to avoid false positives. The Dead timer also matters in multi-area OSPF designs because an Area Border Router (ABR) with a flapping interface can cause Type 3 LSAs to be withdrawn, affecting routes in other areas. The Dead timer is a key factor in OSPF neighbor state transitions.
A mismatch in Dead timer values between two routers on the same link will prevent them from forming an adjacency at all. This can result in incomplete routing tables and loss of connectivity. Therefore, when adding a new router to an existing network, verifying timer consistency is a standard part of the configuration checklist.
The Dead timer is a small but critical lever that engineers tune to balance detection speed against network stability, directly affecting the reliability and performance of the IP network.
How It Appears in Exam Questions
Exam questions about the Dead timer appear in three main formats: direct knowledge, scenario-based troubleshooting, and configuration verification. Direct knowledge questions are straightforward: 'What is the default OSPF Dead interval on an Ethernet network?' or 'A router has not received a Hello from its neighbor for 45 seconds.
What will happen?' The answer involves the Dead timer being set to 40 seconds, so the neighbor is declared down. Another variant: 'Which OSPF timer is used to detect a failed neighbor?'
This directly tests the definition. Scenario-based questions give a more complex setup. For example: 'Router A and Router B are OSPF neighbors on the same Ethernet segment. The network administrator configures ip ospf hello-interval 5 on Router A.
What else must be configured to ensure the adjacency forms?' The correct answer is that the Dead timer must also be modified, or Router B must match the Hello timer. A mismatch in Dead timers will prevent adjacency.
Troubleshooting questions often present show command output. For instance: 'R1# show ip ospf neighbor' shows R2 in the INIT state. The candidate is asked why. A possible reason is that R1 has a Dead timer of 40 seconds while R2 expects a Dead timer of 80 seconds.
Questions might also ask 'Which command would you use to verify the OSPF Dead timer on an interface?' The answer is show ip ospf interface. Configuration questions might say: 'Configure Router A to detect a neighbor failure within 4 seconds.'
The candidate must set the Hello timer to 1 second and the Dead timer to 4 seconds using ip ospf hello-interval 1 and ip ospf dead-interval 4. Some questions combine dead timer with other OSPF parameters like network type. For example: 'On a point-to-point link, the default Hello is 10 seconds.
If you change the Dead timer to 20 seconds, what is the effect?' The answer: the adjacency will still form as long as both routers have the same Dead timer, but the detection time is halved. Another tricky question: 'What is the result of setting the Dead timer to 0?'
This is invalid and OSPF will use default. Exam trap questions might also involve virtual links or non-broadcast networks where timers differ. Overall, the Dead timer is tested as a fundamental parameter that must be understood both theoretically and practically.
Candidates should practice reading interface configurations and neighbor outputs to spot timer mismatches.
Practise Dead timer Questions
Test your understanding with exam-style practice questions.
Example Scenario
A small company has three routers connected to the same Ethernet switch: Router A, Router B, and Router C. They run OSPF in area 0. The network administrator notices that Router A can ping Router B, but Router A cannot reach networks behind Router C.
After checking the routing table, Router A has no routes to Router C's LAN. The administrator runs show ip ospf neighbor on Router A and sees Router B is Full, but Router C is missing from the neighbor list. Using show ip ospf interface on Router A, the administrator sees the Hello timer is 10 seconds and the Dead timer is 40 seconds.
On Router C, the administrator checks and finds that the Hello timer is 10 seconds but the Dead timer is 80 seconds. Why did the adjacency fail? The Dead timer values are different.
During the Hello exchange, Router A included a Dead interval of 40 seconds in its Hello packet. Router C included a Dead interval of 80 seconds. According to OSPF, neighbors must agree on the Dead timer.
Since they don't match, Router A ignores Router C's Hello, and Router C ignores Router A's Hello. They remain in the DOWN state. The administrator corrects the issue by configuring ip ospf dead-interval 40 on Router C's interface.
After a few seconds, the show ip ospf neighbor command on Router A shows Router C in the Full state. Now Router A has routes to Router C's LAN. This scenario illustrates how a simple timer mismatch can prevent OSPF from forming an adjacency, leading to incomplete routing and connectivity problems.
It also emphasizes that timers must be consistent across all routers on the same link. The Dead timer is not just a theoretical concept; it has real operational consequences. In this example, the network was down for some users until the mismatch was discovered and corrected.
Understanding how to verify and configure the Dead timer is a practical skill that every network administrator needs.
Common Mistakes
Assuming the Dead timer is always 4 times the Hello timer by default.
While this is true for broadcast and point-to-point networks with default values, the Dead timer does not automatically scale if you change the Hello timer. It remains at the configured value unless manually changed or the default multiplier is used.
Always verify both timers after changing one. Use the ip ospf dead-interval command to explicitly set it if needed.
Thinking the Dead timer is the time between sending Hello packets.
The Dead timer is the waiting time for receiving a Hello, not the sending interval. The sending interval is the Hello timer. Confusing the two leads to misconfiguration and troubleshooting errors.
Remember: Hello timer = how often you say Hi. Dead timer = how long you wait before thinking your friend is gone.
Setting the Dead timer to a very low value without considering network stability.
A very low Dead timer causes OSPF neighbors to be declared dead due to transient packet loss, leading to route flaps and increased CPU usage. This can destabilize the entire network.
Match the Dead timer to the link's reliability and latency. For example, on a stable LAN, 4 seconds may be fine, but on a congested WAN, 40 seconds or more may be necessary.
Assuming the Dead timer must match across all OSPF routers globally.
The Dead timer only needs to be consistent between neighbors on the same link. Routers in different parts of the network can have different timers. The requirement is per interface adjacency.
Check timers on a per-link basis. Use show ip ospf interface to compare values on neighboring routers' connected interfaces.
Ignoring the Dead timer when troubleshooting asymmetric routing.
If the Dead timer expires prematurely on one side due to a mismatch, the neighbor is declared down, causing routes to be withdrawn. This can lead to asymmetric routing because the other router still has routes through the first router.
Always verify both sides of the adjacency. Use show ip ospf neighbor detail to see the dead time remaining on each side.
Exam Trap — Don't Get Fooled
{"trap":"A CCNA question states: 'By default, the OSPF Dead timer on a point-to-point serial link is 40 seconds.' This is a trap because on point-to-point links, the default Hello is 10 seconds and Dead is 40 seconds, but many candidates think point-to-point uses 30-second Hello timers.","why_learners_choose_it":"Learners often remember the NBMA default timers (30-second Hello, 120-second Dead) and mistakenly apply them to all non-Ethernet links.
They also confuse point-to-point with point-to-multipoint or NBMA network types.","how_to_avoid_it":"Memorize the defaults per network type: Ethernet and point-to-point: Hello 10s, Dead 40s. NBMA (Frame Relay): Hello 30s, Dead 120s.
Point-to-multipoint: Hello 30s, Dead 120s. Always read the question carefully to identify the network type."
Commonly Confused With
The Hello timer is the interval at which a router sends Hello packets. The Dead timer is the interval within which a router expects to receive a Hello from a neighbor. They work together but are different concepts. The Hello timer is the period for sending; the Dead timer is the period for receiving.
If Hello timer is 10 seconds, the router sends a Hello every 10 seconds. If the Dead timer is 40 seconds, the router waits up to 40 seconds without receiving a Hello before declaring the neighbor dead.
EIGRP's hold-down timer prevents premature route updates after a metric change, but it is not directly tied to a packet interval like the OSPF Dead timer. The OSPF Dead timer specifically detects neighbor liveness. EIGRP's hold timer serves a similar liveness function but also affects route advertisement rules.
In EIGRP, the hold timer is typically 3 times the Hello interval, similar to OSPF's 4 times, but EIGRP's hold timer also prevents route poisoning from invalid updates during convergence.
The Retransmit interval is the time OSPF waits before resending an unacknowledged LSA. It is used for reliability of link-state updates, not neighbor detection. The Dead timer is for neighbor liveness, not for retransmission of data.
If a router sends a Database Description packet and doesn't get an acknowledgment in 5 seconds (default), it retransmits. This has no effect on the Dead timer, which continues to count down regardless of retransmissions.
The LSA refresh interval (1800 seconds default) is how often a router re-originates its own LSAs to keep the database current. The Dead timer (40 seconds default) is much shorter and is used for immediate failure detection. They operate at completely different timescales.
A router sends a refreshed Hello every 10 seconds, but it only refreshes its LSAs every 30 minutes. The Dead timer detects if the neighbor stops sending Hellos within 40 seconds, far faster than the LSA refresh cycle.
Step-by-Step Breakdown
Hello Packet Exchange
Router A sends a Hello packet out its OSPF-enabled interface every Hello interval. The packet includes the Router Dead Interval field, set to the configured Dead timer value. Router B receives the Hello and notes the Dead timer. This initiates the neighbor discovery process.
Dead Timer Start
When Router A first receives a Hello from Router B, it starts a Dead timer for that neighbor. The timer is set to the Dead interval value (e.g., 40 seconds). Router A now expects to receive another Hello from Router B before this timer expires.
Timer Reset on Hello Reception
Each time Router A receives a new Hello from Router B, it resets the Dead timer back to its full value (e.g., 40 seconds). This resets the deadline for receiving the next Hello. This ensures that transient delays do not cause false failure detection.
Dead Timer Expiry
If the Dead timer reaches zero without receiving a Hello from Router B, Router A considers Router B to be dead. The neighbor state changes to Down. Router A removes all LSAs originated by Router B from its Link State Database.
SPF Recalculation and Route Update
The removal of Router B's LSAs triggers a new Shortest Path First (SPF) calculation. Router A recalculates its routing table, removing all routes that used Router B as a next hop. This causes traffic to be rerouted along other available paths, if any.
Flooding of New LSAs
Router A originates a new LSA (Router LSA) reflecting the loss of the neighbor. It floods this LSA to all other OSPF routers in the area. These routers also update their databases and run SPF, ensuring the entire OSPF domain converges on the topology change.
Practical Mini-Lesson
In practice, the OSPF Dead timer is one of the first parameters you will verify when building or troubleshooting an OSPF network. As a network professional, you need to know how to view, configure, and troubleshoot this timer. The command to view the dead timer on an interface is show ip ospf interface.
This output shows both the Hello and Dead timer values for that specific interface. For example: 'Dead timer due in 00:00:37' indicates that the router expects a Hello within 37 seconds on that interface. If you see 'Dead timer due in 00:00:01' repeatedly after a Hello, the timer is being reset correctly.
To configure the timers, you use interface configuration mode. The command ip ospf hello-interval seconds sets the Hello timer. The command ip ospf dead-interval seconds sets the Dead timer independently.
If you only change the Hello timer, the Dead timer does not automatically change, so you must adjust it manually to maintain the appropriate ratio for your design. Common practice is to set the Dead timer to 4 times the Hello interval for consistency, but you can use other values if needed, as long as they match on both ends. One professional tip: when migrating from a legacy routing protocol like EIGRP to OSPF, consider the impact of the Dead timer on convergence.
EIGRP has a default hold timer of 15 seconds (Hello 5 seconds), which is faster than OSPF's 40-second Dead. If you need sub-second convergence, you can configure OSPF with Hello 1 second and Dead 4 seconds using ip ospf hello-interval 1 and ip ospf dead-interval 4. However, be cautious because this increases protocol overhead and CPU usage.
On unstable links, you might experience flapping. A better approach is to use OSPF fast hello or BFD (Bidirectional Forwarding Detection) for sub-second detection without changing timers. BFD is a separate protocol that can detect failures in milliseconds and is integrated with OSPF.
Another common issue: if you change timers on a live network without coordinating with the other side, the adjacency will drop. Always plan timer changes during maintenance windows. Also, note that the Dead timer is reset only upon receiving a valid Hello.
If you have ACLs blocking OSPF packets or IP options, the timer will expire even if the neighbor is alive. Therefore, when troubleshooting 'Dead timer expired' syslog messages, check for connectivity issues, ACLs, or MTU mismatches. Finally, the Dead timer value is included in the OSPF Hello packet.
When capturing packets with Wireshark, you can see the 'Router Dead Interval' field in the Hello packet. This is useful for verifying that both sides agree. The Dead timer is a straightforward but powerful knob.
Know how to check it, set it, and troubleshoot it. It is a fundamental skill for any CCNA-level engineer.
Troubleshooting Clues
Symptom:
Symptom:
Symptom:
Memory Tip
Think of the Dead timer as the 'patience timer', it's how long a router waits before giving up on a neighbor. The default is 40 seconds because 10 seconds (Hello) times 4 = 40 seconds. If you remember 'Hello times four equals Dead', you won't forget.
Covered in These Exams
Current Exam Context
Current exam versions that test this topic — use these objectives when studying.
200-301Cisco CCNA →N10-009CompTIA Network+ →Related Glossary Terms
802.1Q is the networking standard that allows multiple virtual LANs (VLANs) to share a single physical network link by tagging Ethernet frames with VLAN identification information.
AAA (Authentication, Authorization, and Accounting) is a security framework that controls who can access a network, what they are allowed to do, and tracks what they did.
An A record is a type of DNS resource record that maps a domain name to an IPv4 address.
Quick Knowledge Check
1.What is the default OSPF Dead timer on an Ethernet network?
2.What happens when the OSPF Dead timer expires for a neighbor?
3.Which command is used to verify the OSPF Dead timer on an interface?
Frequently Asked Questions
What is the default OSPF Dead timer?
The default Dead timer on broadcast and point-to-point networks is 40 seconds, based on a Hello interval of 10 seconds. On NBMA networks, the default is 120 seconds.
Can I change the OSPF Dead timer without changing the Hello timer?
Yes, you can set them independently using the ip ospf dead-interval command. However, they must match on both routers on the same link for the adjacency to form.
What happens if the Dead timer is set too low?
A very low Dead timer can cause the router to declare neighbors dead due to transient network delays, leading to route flapping, higher CPU usage, and network instability.
How do I check the current Dead timer on my router?
Use the show ip ospf interface command in privileged EXEC mode. The output includes the Hello and Dead timer values for each interface.
Why is the Dead timer usually four times the Hello timer?
The 4:1 ratio allows a router to miss up to three Hellos before declaring a neighbor dead, providing tolerance for brief network issues while still detecting failures quickly.
Can two OSPF routers form an adjacency if they have different Dead timers?
No. The Dead timer is included in the Hello packet. If the values differ, the routers will not become neighbors. They must match on both sides of the link.
Summary
The OSPF Dead timer is a critical parameter that dictates how long a router will wait for a Hello message from a neighbor before considering that neighbor unreachable. On default Ethernet links, this timer is set to 40 seconds, with a 10-second Hello interval. The Dead timer plays a central role in the OSPF neighbor state machine, affecting how quickly a network detects failures and converges.
Understanding it is essential for CCNA candidates, as it appears in multiple exam objectives, including OSPF configuration, verification, and troubleshooting. Mismatched Dead timers are a common cause of adjacency failures, so knowing how to check and correct them is a practical skill. The timer must be consistent per link but can vary across the network.
Adjusting the Dead timer can tune network convergence speed, but doing so requires careful planning to avoid flapping or excessive overhead. The Dead timer is closely related to the Hello timer, but they are distinct concepts. In the CCNA exam, expect questions on default values, the 4:1 ratio, and how to diagnose timer mismatch.
Mastering the Dead timer helps ensure reliable and efficient OSPF operation. The Dead timer is not just a number stored in a router's memory; it is a safety net that balances the need for rapid failure detection against the reality that networks are not perfect. By understanding and correctly configuring this timer, network engineers can build resilient IP networks that respond appropriately to both expected and unexpected events.