Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Priority · HSRP

Direct answer

HSRP priority (0–255, default 100) decides which router becomes Active; the highest wins, and the highest interface IP breaks ties. Tracking can lower the priority dynamically when an uplink fails.

When to use this

Use it when the design or fault is specifically about the HSRP election value used to prefer one eligible group member, including effective priority changes from tracking. Stay on that boundary until configuration intent, live control/security state and the adjacent dependency agree.

First 30 seconds

1. Priority 0–255, default 100; highest becomes Active.

2. Equal priorities fall back to the highest interface IP.

3. Tracking lowers current priority.

4. Priority only takes effect on takeover with preempt.

5. Keep a clear gap between Active and Standby priorities.

Operational verification

configured priority → tracking decrement → compared in hellos → Active/Standby

Evidence · next step

Inspect track-object state and compare the peer priority/preempt policy before changing values.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandshow standby brief
Scope / prerequisiteUse it when the design or fault is specifically about the HSRP election value used to prefer one eligible group member,…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 Priority

The brief view has a Pri column with the current priority. The full view prints Priority 110 (configured 110); when a tracked object is down the first number is lower than the configured one, which is how you see that tracking has acted.

Known-good: the intended primary has the higher priority, the values are deliberate on both routers, and current equals configured in normal operation.

Step 2 Verification and output interpretation Verify boundary

Verify configured priority and the effective priority after tracking, then compare both peers in the same group. Check Active/Standby state and preemption to understand whether the election outcome should change immediately. During a tracking event, observe the decrement and any resulting role transition. Do not use HSRP priority to explain route choice beyond the first-hop role—verify routing protocols and CEF independently. If priorities appear equal, inspect the protocol’s tie-break information rather than assuming nondeterminism.

Step 3 Verification & troubleshooting Narrow the fault

1. Compare displayed priority on both peers.

2. Check whether tracking has changed the effective priority.

3. Verify the intended primary has a higher healthy-state value.

4. Verify preempt is present where takeover/recovery is required.

5. Test the tracked failure and confirm the peer becomes preferred.

Step 4 Failure signatures and troubleshooting branches Narrow the fault
  • The router with the higher priority is not Active. It joined after the other was already Active and preemption is not enabled.
  • Equal priorities. The router with the higher interface IP address wins — rarely what was intended; set the values explicitly.
  • Current priority is lower than configured. A tracked object is down.
  • The priority was changed and nothing happened. Without preemption a change does not move the role.
  • The priority seems ignored. It was configured under a different group number.
Step 5 When the problem is really fixed Narrow the fault
  • Priorities are set explicitly on both routers, with the intended primary higher.
  • Current priority equals configured priority while everything is up.
  • The Active role sits on the higher-priority router.
  • The value after a tracking decrement is below the other router's priority.
Evidence references

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.

command output · 1
Command lookup Jump straight to Cisco syntax
Key points

Do not infer service health from one command. For Priority, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.

Key checks
  • show standby brief — Pri column
  • show standby <interface> <group> — configured and current (tracked) priority
ReferenceWhat it is1 section · depth on demand

What it is

HSRP priority influences which router is preferred for the Active role. Cisco HSRP uses a default priority of 100; a larger configured value is preferred, with interface IP address used as a tie-breaker when priorities are equal.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Use priority to express which gateway should normally be Active and to let tracking lower that preference when an important dependency fails.

ReferenceImportant terms & boundaries6 sections · depth on demand

Key points

  • Higher numeric priority is preferred

- Default priority is 100

- Equal priorities use the higher HSRP interface IP address as the tie-breaker

- Changing priority does not automatically displace an already Active router unless preemption behavior allows it

- Tracking changes effective priority and should be sized so the desired peer actually becomes preferable.

In depth

Priority decides which router becomes active

Cisco's preempt-and-track document states that HSRP compares the configured priority first and the interface IP address on a tie; higher wins. Cisco's HSRP FAQ gives 100 as the default.

C9300-A(config)# interface Vlan20
C9300-A(config-if)# standby 20 priority 110
C9300-A(config-if)# standby 20 preempt
C9300-B(config)# interface Vlan20
C9300-B(config-if)# standby 20 priority 100
C9300-B(config-if)# standby 20 preempt
C9300-A# show standby Vlan20 | include Priority|Active router|Standby router
  Active router is local
  Standby router is 10.20.0.3, priority 100 (expires in 9.104 sec)
  Priority 110 (configured 110)

show standby shows the effective priority and the configured priority. They differ when tracked objects are down.

Planning priorities with tracking

The document's example uses priority 105 on the primary, default 100 on the backup, and a decrement of 10 for a tracked interface. When the tracked interface fails, the primary drops to 95, below the backup, and the backup (with preempt) takes over. With two tracked objects decremented by 10 and 20, both down gives 105 − 30 = 75.

Primary priorityDecrement(s)Effective when tracked objects failBackup (100) takes over?
1051095Yes
12010110No: decrement too small
11010 + 1090 (both down)Yes; only one down gives 100, a tie decided by IP

Rules

  • The decrement must bring the primary below the backup's priority, not equal to it.
  • Each tracked object has its own decrement; they add up.
  • Use clear values per role, for example 110 for primary and 100 for backup, across all VLANs.
  • Record priorities per VLAN in the design. Mixed priorities are a common cause of active roles on the wrong switch.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

HSRP priority (default 100) selects the Active router; the highest priority wins and the highest interface IP breaks ties. Combined with preemption and tracking, priority makes failover follow your design.

interface Vlan20
 standby 20 priority 110
 standby 20 preempt delay minimum 60

Documented example, not captured output.

A preemption delay gives the recovered router time to learn routes before it starts forwarding as Active.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

HSRP priority is the primary administrative preference used to decide which eligible router should become Active for a group; higher priority is preferred, with tie-break rules applying when values are equal. The configured priority is not always the effective election value because object/interface tracking can decrement it. Priority alone also does not force a currently lower-priority Active router to relinquish the role after a higher-priority peer returns unless preemption policy allows that transition. Design verification must therefore read configured priority, tracked decrements, effective state and preempt behavior together rather than assuming one number determines steady-state ownership.

State model and technical mechanics

Each HSRP member has a priority value for the group, commonly with a default of 100 unless configured otherwise. Higher effective priority is preferred during election, with additional tie-breaking such as interface/address criteria depending on HSRP behavior. Tracking can decrement the configured value so a router becomes less preferred when a meaningful dependency fails. Priority only influences HSRP role selection; it does not alter OSPF/BGP metrics, administrative distance, CEF or switch forwarding. Because role changes can depend on preemption, a higher priority does not always mean the router will immediately become Active.

Limits and common misconceptions

Priority is not bandwidth, cost, administrative distance or business importance. A higher number does not make packet forwarding inherently better. It also does not by itself force takeover when preemption is disabled. Tracking can make effective priority differ from the static configuration, so reading only the config may produce a wrong conclusion. Interpret priority only inside the HSRP group-election state machine.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Assign priorities to express the intended gateway ownership and coordinate them with tracking. Leave enough numerical separation that expected tracking decrements produce the desired election outcome without accidental ties. If load sharing across VLANs/groups is desired, alternate higher priorities per group rather than relying on equal priorities. Keep priority design aligned with real upstream capacity and path quality; making a router preferred while it has an inferior or stateful asymmetric path can reduce resilience. Document configured and tracked effective values.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Routing → First Hop Redundancy → HSRP → Priority. 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%
Embedded reference data

Quick lookup tables

Priority · technical reference

Compact OSPF/FHRP mechanics, design and evidence boundaries for fast lookup.

ItemMeaning
Configured priorityBase HSRP election preference
Effective priorityAfter tracking adjustments
Higher valuePreferred during election
Not related toOSPF/BGP metric or CEF path

Priority operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for PrioritySuspicious signatureNext proof
IntentMatches the HSRP election value used to prefer one eligible group member, including effective priority changes from tracking designConfiguration differs from design/peerCompare effective configuration
Control/security stateStable expected neighbor/database/binding/election stateunexpected Active router because priorities tie or preempt is absent, tracking reducing priority below the intended threshold, different groups using unintended priorities, or operators changing priority without understanding current role stabilityInspect protocol/security detail and adjacent state
ForwardingExpected Layer-2 or RIB/FIB/gateway pathControl state exists but traffic path disagreesMAC/ARP/RIB/FIB/CEF proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or protection disabledRegression test
Depth when you need it

Deep reference

Additional depth

Election preference

Compare effective priority, not just the configured baseline. Tracking may reduce the displayed priority. When priorities tie, the higher HSRP interface IP address is used as the tie-breaker. Current Active role can still differ from current preference when preemption is not enabled.

Confirmation

Confirm action

Continue?