Use it when the design or fault is specifically about the HSRP policy that allows a higher-priority router to take the Active role from a currently healthy lower-priority Active peer. Stay on that boundary until configuration intent, live control/security state and the adjacent dependency agree.
Preemption · HSRP
HSRP preemption (standby <group> preempt) lets a router with higher priority take over as Active when it comes back online. Without it, the current Active router stays Active even if a better router returns.
1. Preempt lets a higher-priority router take back the Active role.
2. Without it, the first router up stays Active.
3. Use preempt delay so routing converges before takeover.
4. Preempt is needed for tracking to move the role.
5. Configure it on both peers for predictable behaviour.
higher priority router comes up → preempt enabled → delay expires → takes Active
Verify design intent and upstream readiness, then enable/test preemption only if deterministic failback is required.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show running-config interface <interface>Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
show standby brief
show standby vlan 10 | include Preempt
A P after the priority in the brief view means preemption is configured on that router. The full view prints Preemption enabled, with the delay when one is set, or Preemption disabled.
Known-good: preemption is enabled where a router is expected to take the role back or to take over after a tracking decrement, and a delay gives routing time to converge after a reload.
Step 2 Verification and output interpretation Verify boundary
Verify whether preemption is enabled on the intended group and what the current/effective priorities are. During a controlled recovery, observe whether the higher-priority router waits for the configured delay and then becomes Active. Correlate the role change with tracked-object recovery and routing/CEF readiness. If the expected router does not preempt, check actual effective priority and preemption state rather than assuming a protocol fault. If it preempts too early, compare the configured delay to the real convergence time of upstream dependencies.
Step 3 Verification & troubleshooting Narrow the fault
1. Compare priorities and current roles.
2. Verify standby <group> preempt on devices that should take over when preferable.
3. Confirm the recovered device's upstream path is stable.
4. Observe role transition using show standby.
5. Verify user traffic and STP/upstream path after failback.
Step 4 Failure signatures and troubleshooting branches Narrow the fault
- The preferred router stays Standby after it comes back. Preemption is not enabled on it.
- Traffic is lost for a while just after the preferred router reloads. It took the role before its routing had converged; add
standby <group> preempt delay minimum 60 reload 120. - The role moves back and forth. Preemption combined with an unstable uplink or tracked object.
- Tracking lowered the Active router's priority but the role did not move. Preemption is missing on the other router — the one that should take over.
Step 5 When the problem is really fixed Narrow the fault
- Preemption is enabled on the routers that should be able to take the role.
- After a reload the preferred router waits for the configured delay before becoming Active.
- A failover and a failback were both tested without traffic loss beyond the expected moment.
- The state-change counter is stable afterwards.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Do not infer service health from one command. For Preemption, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.
show standby <interface> <group>— Preemption enabled/disabled and delayshow running-config interface <interface>— standby <grp> preempt [delay minimum <s>]
ReferenceWhat it is1 section · depth on demand
ReferenceWhy it matters1 section · depth on demand
Why it matters
Use preemption when the design requires deterministic return to a preferred Active gateway after recovery or when priority tracking must cause a higher-priority peer to take over.
ReferenceImportant terms & boundaries6 sections · depth on demand
Key points
- Preemption is a policy choice, not just an election detail
- A higher-priority recovered device does not necessarily retake Active without preempt
- Tracking-driven priority changes generally need appropriate preemption on the peer to force the intended role change
- Aggressive failback can create churn if the recovered path is not truly stable
- Verify the complete traffic path before making 'preferred Active' synonymous with 'healthy'.
In depth
Preemption lets a higher-priority router take back the active role
Cisco's preempt-and-track document explains that standby preempt lets a router with a higher priority than the current active router take over, after HSRP election processing and any configured preempt delay. The preempting router sends a coup message and the lower-priority active router steps down. Without preempt, a higher-priority router doesn't take over; the current active router stays active until it fails, resigns, or a new election happens.
C9300-A(config)# interface Vlan20
C9300-A(config-if)# standby 20 preempt delay minimum 60 reload 180
C9300-A# show standby Vlan20 | include Preemption|state change
6 state changes, last state change 00:02:14
Preemption enabled, delay min 60 secs, reload 180 secs
Why use a preempt delay
| Situation | Problem without a delay |
|---|---|
| Switch reloads and HSRP comes up before routing protocols converge | The router becomes active but can't yet forward upstream: black hole |
| Uplinks still negotiating (LACP, STP) | Same |
| Flapping link | Repeated changes of the active role |
delay minimum waits after HSRP starts on the interface; reload waits after a device reload. A typical value is long enough for OSPF/BGP adjacencies and STP to settle (often 60–180 s).
Where to enable preempt
| Router | Preempt |
|---|---|
| Intended primary | Yes, so it regains the role after recovery |
| Backup used with tracking | Yes, so it can take over when the primary's priority drops |
| Both | Common practice; priorities and delays then decide behaviour |
Side effects
Every preemption is a short failover. Hosts keep the same gateway IP and MAC, but traffic in flight can be lost and stateful devices upstream may see flows move. Preempting on every recovery is usually acceptable. If not, leave preempt off on the primary and fail back manually in a maintenance window.
Documented example, not captured output.
Quick reference
HSRP preemption allows a router with higher priority to take back the Active role when it recovers. It is disabled by default, so without it the current Active router keeps the role.
standby 20 preempt
standby 20 preempt delay minimum 60 reload 120
Documented example, not captured output.
Without preemption, tracking that lowers priority still does not move the role back automatically — enable preempt on both routers when using tracking.
Mechanics and state ownership
HSRP preemption controls recovery behavior. Without preemption, a router that becomes Active can normally remain Active even when a peer with a higher priority later returns; with preemption, the higher-priority eligible router can take over. This distinction prevents confusion between initial election and post-failure recovery. Preempt delay options can intentionally postpone takeover so routing protocols, interfaces or services have time to converge before the preferred router resumes gateway ownership. Aggressive preemption without stable dependencies can create role flapping, while absent preemption can leave traffic on a less-preferred path indefinitely.
State model and technical mechanics
Without preemption, HSRP is intentionally stable: once a router becomes Active, a later-arriving router with a higher priority does not necessarily replace it. Enabling preemption changes that behavior so the better-priority member can reclaim the Active role. Effective priority can also change because of tracking, which means preemption may react to recovered interfaces/objects as well as router reloads. Preemption delay features can postpone takeover to let interfaces, routing protocols and services converge before the virtual gateway moves. This makes preemption a convergence-policy choice rather than a simple “make primary active” switch.
Limits and common misconceptions
Preemption is not required for HSRP redundancy and does not make failover faster in every scenario. It governs takeover by a better-priority available router, not the detection of Active failure itself. A preempting router can still take ownership before its upstream path is useful if tracking/delay design is incomplete. Conversely, leaving preemption disabled can be a deliberate stability choice. Treat it as role-recovery policy, not as a universal best practice.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Enable preemption when deterministic primary ownership has a real operational benefit, and pair it with realistic tracking and, where needed, a convergence delay. Avoid aggressive reclaim behavior that causes repeated gateway moves during flapping upstream conditions. If both routers are equally suitable, stability may be more valuable than forcing a preferred chassis back into Active state. Document expected priority after tracking decrements so preemption behavior is predictable. Consider how MAC movement, ARP/CAM convergence and stateful middleboxes react to a role change.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → First Hop Redundancy → HSRP → Preemption. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Preemption · technical reference
Compact OSPF/FHRP mechanics, design and evidence boundaries for fast lookup.
| Item | Meaning |
|---|---|
| Disabled | Stable current Active can remain owner |
| Enabled | Higher effective priority may reclaim Active |
| Delay | Allows dependencies to converge before takeover |
| Tracking | Can change effective priority and trigger policy |
Preemption operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for Preemption | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches the HSRP policy that allows a higher-priority router to take the Active role from a currently healthy lower-priority Active peer design | Configuration differs from design/peer | Compare effective configuration |
| Control/security state | Stable expected neighbor/database/binding/election state | preferred router returns but never regains Active because preempt is absent, immediate takeover before upstream routing converges, repeated Active changes from unstable priority/tracking, or assuming higher priority always preempts by itself | Inspect protocol/security detail and adjacent state |
| Forwarding | Expected Layer-2 or RIB/FIB/gateway path | Control state exists but traffic path disagrees | MAC/ARP/RIB/FIB/CEF proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or protection disabled | Regression test |
Deep reference
Additional depth
Preemption and recovery
Preemption is especially important when the design expects a preferred gateway to return to Active after recovery or expects a Standby peer to take over after the Active router's tracked priority falls. Validate both failure and failback so the configuration expresses the operational intent.