Routing Holddown Timers Explained
Learn how routing holddown timers reduce distance-vector routing loops, how RIP timers work, and how to verify route failure behavior on Cisco IOS.
A holddown timer is a temporary period during which a router treats a recently failed route as unreliable. While the timer is active, the router limits acceptance of routing updates that might reintroduce stale information.
Holddown behavior is principally associated with distance-vector routing. In this approach, routers advertise network reachability and a distance metric to neighboring routers. RIP is the main CCNA example.
The purpose of a holddown is not to make a failed link recover faster. Its purpose is to reduce the chance that incorrect route information will be accepted while routers are converging after a topology change.
The Routing-Loop Problem
A routing loop occurs when packets circulate among routers instead of reaching their destination. Distance-vector protocols are vulnerable because each router normally learns reachability from neighbors rather than having a complete map of the topology.
Consider three routers:
- R1 reaches a remote LAN through R2.
- R2 normally reaches that LAN through R3.
- The LAN behind R3, or the R2-to-R3 path, fails.
R2 can detect the failure and mark the destination unreachable. However, before every router learns the new state, R1 may still have an older route in its table. If R1 advertises that old route to R2, R2 may temporarily believe R1 provides a path. R1 may then believe R2 provides a path. Traffic can be forwarded back and forth between them.
This stale-information problem can produce count to infinity. The routers repeatedly advertise the destination as reachable while increasing its metric. In RIP, the metric eventually reaches 16, which means unreachable, but a temporary loop can exist before that happens.
How a Holddown Timer Operates
- Failure detection: A router loses its current next hop, receives an unreachable metric, or otherwise determines that the route may no longer be usable.
- Suspect or inaccessible state: The router marks the route as invalid, unreachable, or suspect in its routing information. It may still retain related state while timers are processed.
- Holddown begins: For the timer interval, the router generally ignores worse, equal, or stale advertisements for that destination.
- Selective acceptance: Depending on the protocol and implementation, information from the original next hop or a clearly superior valid route may be treated differently. Do not assume every platform applies the same acceptance rules.
- Timer expiry: When holddown ends, the router can evaluate updates normally again. If no valid route exists, a separate flush process may remove the route.
In RIP, an unreachable route is represented by metric 16. A route advertisement with metric 16 tells neighbors that the destination cannot be reached through that path. The router may also send a poisoned update to spread the failure quickly.
Why suppress updates?
Suppose R2 has just learned that its path to a LAN through R3 failed. An old advertisement from R1 claiming that R1 can reach the LAN is not necessarily trustworthy: R1 might have learned the route from R2 earlier. Accepting that claim immediately could create a loop. Holddown gives the failure information time to propagate before stale claims are accepted.
Convergence: Stability Versus Speed
Convergence is the process through which routers update their routing information and reach a consistent state after a topology change.
Holddowns improve stability by limiting bad-route propagation during convergence. The trade-off is that they can delay adoption of a legitimate alternate route. A backup path may be valid, but the router may not install it immediately if the route is in holddown or if the update does not meet the protocol's acceptance rules.
Therefore, stability and speed are different goals. A short timer can allow faster recovery but may permit stale information to be accepted. A long timer can suppress more incorrect information but delay a real recovery. Timer behavior should be evaluated with the complete protocol design, not by changing one value in isolation.
Distance-Vector Loop-Prevention Mechanisms
Holddown is one part of a larger set of distance-vector techniques. These mechanisms are complementary, not interchangeable.
| Mechanism | What it does | When it acts | Primary benefit | Potential limitation |
|---|---|---|---|---|
| Split horizon | Prevents advertising a route out of the interface on which it was learned. | During normal route advertisement. | Stops many two-router loops before they form. | Does not solve every multi-router or stale-information scenario. |
| Route poisoning | Advertises a failed route with an unreachable metric. | When a route failure is detected. | Spreads failure information explicitly. | Updates still need time to reach all routers. |
| Poison reverse | Advertises a learned route back toward its source neighbor with an unreachable metric. | During updates sent toward the route's previous neighbor. | Makes the reverse path explicitly unusable. | Increases update information and may not address every topology. |
| Triggered update | Sends an update immediately after a topology change instead of waiting for the periodic update. | Immediately after a metric or reachability change. | Speeds failure propagation. | Does not itself prevent all stale updates or loops. |
| Holddown timer | Temporarily suppresses potentially unreliable route information. | After a route is declared failed or suspect. | Reduces acceptance of stale information during convergence. | Can delay a legitimate alternate route. |
RIP Timer Context
RIP uses hop count as its metric. A route with hop count 16 is unreachable. Conventional RIP timer values are commonly taught as follows:
| Timer | Typical default | Purpose | Failure-stage role |
|---|---|---|---|
| Update | 30 seconds | Interval between regular RIP updates. | Refreshes route information during normal operation. |
| Invalid | 180 seconds | Time without a valid refresh before a route is considered invalid. | Marks an unrefreshed route as unusable. |
| Holddown | 180 seconds | Period for limiting acceptance of suspect route information. | Helps prevent stale advertisements from being used during convergence. |
| Flush | 240 seconds | Time after which an invalid route is removed. | Clears the route from routing information if no valid replacement is learned. |
These are conventional default values for RIP timer discussions and Cisco IOS examples. Timer interactions, displayed states, and precise update-acceptance rules can vary by implementation and platform. Verify the behavior on the relevant device rather than assuming that every RIP implementation processes the timers identically.
RIP version differences
RIPv1 is classful and uses broadcast updates. RIPv2 supports classless prefixes, sends updates using multicast address 224.0.0.9, and supports features such as authentication. These differences affect how information is advertised, but they do not eliminate the general distance-vector problem of delayed or inconsistent information after a failure.
Route States During Failure Recovery
The following sequence shows the conceptual state of a RIP-learned route. Internal protocol state and the exact text displayed by Cisco IOS can differ from this simplified model.
| Event | Router view of the route | Expected advertisement or action | Holddown relevance |
|---|---|---|---|
| Healthy route learned | Valid route using a next hop, such as R2. | Periodic RIP updates advertise the destination with a usable hop count. | No holddown is active. |
| Route failure detected | The current next hop or path is no longer usable. | The router marks the route suspect and may generate a triggered update. | Failure processing can start holddown. |
| Unreachable update received | The route is treated as inaccessible. | RIP metric 16 is received or advertised. | The router limits acceptance of conflicting information. |
| Stale alternate claim received | An old or inferior path is considered unreliable. | The update is generally ignored while holddown is active. | This is the main protection against reintroducing a loop. |
| Valid recovery information received | A legitimate replacement path may be available. | The route may be accepted if it meets protocol and implementation-specific rules. | Holddown may delay or restrict installation. |
| Timer expiry or route flush | The route is reevaluated or removed. | A valid route can be selected, or the failed route is flushed. | Normal evaluation resumes after the relevant timer stage. |
Example: Three Routers and a Stale Update
Assume R1 learns 10.10.10.0/24 through R2. R2 reaches that network through R3. The R3-side LAN fails.
- R3 detects that its connected LAN is unavailable and advertises the destination as unreachable, using RIP metric 16 where applicable.
- R2 receives the failure, invalidates its path, and informs neighbors through a triggered or regular update.
- Before R1 receives the failure, R1 may still advertise its old route to R2.
- Without loop-prevention behavior, R2 could accept R1 as a next hop, while R1 continues to use R2. Packets could loop between them.
- Holddown causes R2 to treat the stale or inferior claim cautiously while the failure propagates.
- After valid information arrives or the timers expire, the route is either replaced or removed.
Example: An Alternate Path During Holddown
Now add R4 with a legitimate backup path to the same destination. When the primary path fails, R4 advertises a valid route.
This situation demonstrates the stability-versus-speed trade-off. A protocol might accept a clearly superior valid route during holddown, while another implementation might delay acceptance until a timer condition is satisfied. The decision can depend on the update source, metric, route state, and platform behavior.
To analyze the event, compare the alternate route with the stale claim:
- Confirm that the backup next hop is reachable.
- Compare the advertised metric and route preference.
- Check whether the update arrived from the expected neighbor.
- Determine whether split horizon, route poisoning, or poison reverse affected the advertisement.
- Use the platform's documented behavior rather than assuming that all routers handle holddown identically.
RIP Timer Timeline
A simplified timeline for a healthy RIP route and a failure is:
- Healthy operation: RIP sends periodic updates approximately every 30 seconds, refreshing the route.
- Failure: The interface or next hop fails, or an unreachable metric is received.
- Immediate notification: A triggered update may advertise metric 16 before the next periodic update.
- Invalid processing: If a route is not refreshed for the invalid interval, it is considered invalid.
- Holddown processing: Suspect or worse information is restricted while the holddown interval is active.
- Recovery or removal: A valid replacement may be installed according to protocol rules. If no valid replacement exists, the route is removed when the flush process completes.
Cisco IOS Verification
Inspect learned routes
Use the routing table to determine whether a route is currently installed and which next hop is being used:
show ip route
show ip route ripA RIP route is commonly identified by the code R. The route entry can show its metric, administrative distance, next hop, outgoing interface, and route age. A route that is absent from show ip route is not currently installed in the main IPv4 routing table, even if protocol processing still has related state.
Display RIP parameters and timers
show ip protocols
show running-config | section router ripshow ip protocols displays routing-protocol settings and commonly shows RIP timers, networks, version behavior, and route sources. The running configuration confirms the RIP process configuration and network statements.
Observe updates carefully
debug ip rip
undebug allUse debugging only in a low-impact lab. RIP debug output can be verbose and can affect device performance and terminal usability. Always stop debugging with undebug all when finished.
Create a controlled failure
interface <interface-id>
shutdown
no shutdownDisable the interface carrying the test path, observe the route and RIP updates, and then restore the interface. Use this only on a lab device or during an approved maintenance test.
Basic RIP Lab Configuration
A small Cisco IOS lab can enable RIPv2 with commands similar to these:
router rip
version 2
no auto-summary
network <connected-network>Use the actual connected network statements for each router. RIPv2 and disabling automatic summarization are common choices for classroom labs because they support classless prefixes. This configuration does not guarantee a particular holddown display or acceptance behavior; those details depend on the platform.
Troubleshooting Holddown Behavior
A failed route remains visible longer than expected
- The route may be moving through invalid, holddown, and flush stages.
- Another neighbor may still be refreshing or advertising the route.
- The route's displayed status may be mistaken for active reachability.
Check show ip route, review timers with show ip protocols, and inspect RIP updates with debug ip rip in a lab.
A backup route is not installed immediately
- The destination may still be in holddown.
- The alternate advertisement may be stale, less preferred, or unreachable.
- Protocol-specific acceptance rules may delay installation.
Confirm that the backup router advertises the destination, compare metrics and next hops, and check whether split horizon or route poisoning affects the update.
Routers advertise a destination back and forth
- Split horizon may be absent, disabled, or unsuitable for the topology.
- Triggered updates may not yet have reached every router.
- A stale route may be propagating during convergence.
Review each router's learned next hop and metric. In RIP, verify that unreachable advertisements use metric 16.
Timer tuning causes slow or inconsistent recovery
- Neighboring routers may have different timer settings.
- Overly long values can retain failed routes too long.
- Overly short values can cause premature invalidation or instability.
- The actual problem may be a physical or Layer 2 failure rather than a routing timer.
Compare timer settings across routers, restore defaults for a baseline, and verify interface status and IP connectivity independently of RIP.
Configuration and Design Considerations
Default timer changes are usually unnecessary in small CCNA labs. First learn the normal behavior, verify the topology, and identify the route state before tuning anything.
Timer tuning must be coordinated. Mismatched or overly aggressive timers can cause neighboring routers to disagree about route validity, produce unnecessary updates, or make recovery less predictable.
Holddowns are not universal behavior for every routing protocol. Modern network designs commonly use link-state protocols such as OSPF, or advanced distance-vector protocols such as EIGRP, when their convergence and design features are appropriate. These protocols use different mechanisms and should not be assumed to have RIP's exact timer behavior. For an introduction to Cisco OSPF configuration, see Configure OSPF.
Exam-Relevant Notes
- A holddown timer temporarily suppresses potentially unreliable route updates after a failure.
- Its main purpose is to reduce routing loops and count-to-infinity effects during distance-vector convergence.
- RIP's unreachable metric is 16.
- Common RIP timer defaults are update 30 seconds, invalid 180 seconds, holddown 180 seconds, and flush 240 seconds.
- Split horizon prevents an advertisement back out the learned interface; poison reverse advertises that route back with an unreachable metric.
- Route poisoning advertises a failed route as unreachable, while a triggered update sends the change immediately.
- Holddown improves stability but can delay a legitimate alternate route.
- Exact timer processing and update acceptance rules are implementation dependent.