Back to Learning
CCNA · 200-301Intermediate

HSRP: Priority and Preempt

The backup gateway stayed active after the preferred router came back. Diagnose it and fix it yourself, live, right below.

Interactive simHSRPFHRPIP Services

Symptom

The backup gateway is active after recovery even though the preferred router is healthy. Read HSRP state, priorities, and preempt behavior.

Your mission

Prove the cause, then fix it

Format

Guided CLI investigation

HSRP: Priority and Preempt

Investigate before you configure.

Use the CLI evidence to isolate the fault, make the smallest safe correction, then verify the network state changed.

Observe the symptom and link state.

Diagnose by comparing the protocol evidence.

Verify the expected device state and confirm the original symptom is resolved.

Console access: R1 · R2

This workspace stacks for portrait phones. Rotate to landscape for the full split-screen console.

Need a hint?

Reveal the root cause when you're ready.

Try the investigation first, then use this as your escape hatch, not a dead end.

Locked

Sign up with your email to open HSRP: Priority and Preempt, free. You get the root cause and the full step-by-step fix.

No spam. The fix lands in your inbox too. Signing up includes 4 guided labs free, tracked against your email. After that, the Learning Pass unlocks every remaining lab.

Lab debrief

Turn the session into a repeatable troubleshooting pattern.

Use this reference after your attempt: first explain the symptom, then verify the evidence, then confirm the repair.

The problem

R1 was intended to be the active HSRP gateway. After a maintenance event R2 became active; when R1 returned with the higher priority, it stayed standby because preempt is not configured.

What you'll practice

  • Read HSRP active and standby state
  • Interpret priority
  • Explain preempt
  • Verify the virtual gateway remains reachable during role changes

The topology

Two routers connect to a common user VLAN and upstream network, sharing one HSRP virtual IPv4 address.

Commands to run yourself

The real diagnostic commands for this lab, copy-paste ready. Run these in the same order to reproduce the investigation on your own session.

Inspect HSRP state
show standby brief
Inspect detailed HSRP settings
show standby
Check gateway reachability
ping <virtual-ip>
HSRP: priority and preemptR1 has the higher priority but stays standby until preempt is enabled.R1Gi0/1 · 10.0.10.2/24Pri 150StandbyR2Gi0/1 · 10.0.10.3/24Pri 100Active10.0.10.0/24VIP 10.0.10.1 · Grp 10R1's preempt settingR1 has the higher priority. Check whether it can ever reclaim Active.

Frequently asked

Why doesn't the higher-priority router just take back Active automatically?

Priority alone only decides who wins an initial election. Once another router has already become active, HSRP requires the preferred router to have `preempt` configured before it will interrupt a working active router and reclaim the role.

Ready to run this lab yourself?

No setup, no image sourcing. Book a session or ask for a live demo.