Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Active · HSRP

Direct answer

The HSRP Active router forwards traffic sent to the group's virtual IP and answers ARP with the virtual MAC. It is the router with the highest priority (default 100), or highest IP on a tie; a higher-priority router only takes over if preemption is enabled.

When to use this

Use it when the design or fault is specifically about the HSRP router currently owning the virtual forwarding role for a group and answering for the shared default-gateway identity. Stay on that boundary until configuration intent, live control/security state and the adjacent dependency agree.

First 30 seconds

1. Only one router per HSRP group is Active and answers for the virtual IP and MAC.

2. Highest priority wins (default 100); ties go to the highest interface IP.

3. Without preempt, a higher-priority router does not take over from a working Active.

4. Hellos every 3 s, hold 10 s by default.

5. Two Actives means hellos are not seen (VLAN, ACL, group mismatch).

Operational verification

hellos exchanged → priority/IP compared → Active elected → Active answers for virtual IP/MAC

Evidence · next step

Verify VLAN/trunk/STP path and HSRP UDP 1985 packets between peers before changing priorities.

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 · IOS/IOS XE
Key commandshow standby brief
Scope / prerequisiteUse it when the design or fault is specifically about the HSRP router currently owning the virtual forwarding role for …
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show standby brief

Look first: interface/group, state, active/standby peers, virtual IP, priority

Healthy: Exactly the intended Active/Standby roles and VIP are present.

Warning: Both active, unknown peer, unexpected role/priority or missing VIP.

Does not prove: FHRP state does not prove upstream routing or host ARP behavior.

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
show mac address-table address 0000.0c9f.f00a

show standby brief gives one line per group: priority, a P when preemption is configured, the state, and the addresses of the Active and Standby routers (local for this router). The full show standby adds the number of state changes and the time of the last one. On the access switches, the MAC table entry for the virtual MAC should point toward the Active router.

Known-good: exactly one router is Active for the group, it is the intended one, the Standby router is known by address, and the state-change counter is not increasing.

Step 2 Verification and output interpretation Verify boundary

Verify HSRP group state, Active/Standby peer identities, local priority, preemption and tracked-object effects. Confirm that clients resolve the virtual IP to the expected virtual MAC and that the switching table points that MAC toward the current Active path. Then verify the Active router’s upstream RIB/CEF and a representative routed path; HSRP Active shows first-hop role ownership, not upstream reachability. During failover, observe role transition, virtual MAC movement and resulting ARP/CAM convergence rather than only checking the final HSRP state. For Active, correlate HSRP output with client ARP, switch CAM learning and the current Active router's RIB/CEF when proving service. Preserve the group number, VLAN/interface, effective priority, track state and timestamp so a later role transition can be distinguished from stale Layer-2 or routing evidence.

Step 3 Verification & troubleshooting Narrow the fault

1. Check show standby brief on both peers.

2. Confirm exactly the intended device is Active for the group.

3. Compare its priority, preempt and tracking state with the peer.

4. Verify the Active device has a healthy upstream path.

5. If both sides appear Active, verify Layer 2 connectivity and HSRP control-packet reachability immediately.

Step 4 Failure signatures and troubleshooting branches Narrow the fault
  • Both routers are Active and each shows the Standby router as unknown. Hellos are not exchanged: the VLAN is not carried between them, an ACL blocks the hellos (UDP 1985 to the HSRP multicast address), or group number, version or authentication differ.
  • The wrong router is Active. Priority or preemption; a router that came up first keeps the role unless the other preempts.
  • The Active role moves back and forth. Hello loss from a flapping link or a busy CPU; the state-change counter and its timestamp show when.
  • The Active router is up but traffic is lost. Its upstream path is down and nothing lowers its priority; see Tracking.
  • %HSRP-4-DIFFVIP1 in the log. The routers are configured with different virtual IP addresses for the same group.
Step 5 When the problem is really fixed Narrow the fault
  • One Active router per group, and it is the intended one.
  • The Standby router is listed by address on the Active router.
  • The state-change counter is stable.
  • Hosts resolve their gateway to the HSRP virtual MAC.
  • A failover test moves the role and traffic continues.
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 Active, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.

Key checks
  • show standby brief — state and active router
  • show standby <interface> <group> — timers, priority, active/standby addresses
  • debug standby events — state changes (lab only)
ReferenceWhat it is1 section · depth on demand

What it is

The HSRP Active router currently owns the virtual gateway forwarding role for the group. It answers for the virtual gateway identity and forwards traffic sent by hosts to that default gateway.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Use the Active state to verify which gateway device is actually carrying first-hop forwarding for a VLAN and whether that placement matches the intended campus topology.

ReferenceImportant terms & boundaries6 sections · depth on demand

Key points

  • Normally one Active router exists per HSRP group on the local segment

- Active is an operational role, not merely the device with the highest configured priority

- A newly recovered higher-priority router does not necessarily replace the current Active router unless preemption is enabled

- Active placement should be considered together with STP and upstream routing.

In depth

The active router answers for the virtual IP and forwards the traffic

In an HSRP group, one router is active: it owns the virtual IP and virtual MAC, answers ARP for the gateway address and forwards hosts' traffic. Cisco's HSRP FAQ gives the election rule: the highest priority wins (default 100), and on a tie the highest interface IP address wins.

C9300-A(config)# interface Vlan20
C9300-A(config-if)# ip address 10.20.0.2 255.255.255.0
C9300-A(config-if)# standby version 2
C9300-A(config-if)# standby 20 ip 10.20.0.1
C9300-A(config-if)# standby 20 priority 110
C9300-A(config-if)# standby 20 preempt
C9300-A# show standby brief
                     P indicates configured to preempt.
Interface   Grp  Pri P State   Active          Standby         Virtual IP
Vl20        20   110 P Active  local           10.20.0.3       10.20.0.1

What the active router does

TaskDetail
Answers ARP for the virtual IPReplies with the virtual MAC
Forwards traffic sent to the virtual MACLike a normal gateway
Sends hellosDefault hello 3 s, hold 10 s (FAQ)
Sends gratuitous ARP when it becomes activeSwitches update their MAC tables

Becoming active

SituationResult
Highest priority at electionActive
Higher priority joins later, without preemptStays standby (FAQ: preempt is needed to take over)
Active router's hellos stop for the hold timeStandby becomes active
Tracked object goes down on the active routerIts priority drops; another router with preempt takes over

Design

  • Make the active router the same switch that is the STP root for that VLAN. Otherwise traffic crosses the inter-switch link twice.
  • Split VLANs between the two distribution switches (VLAN 20 active on A, VLAN 30 active on B) to use both.
  • Use HSRP version 2 for millisecond timers and group numbers above 255.

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

The HSRP Active router owns the group's virtual IP and virtual MAC and forwards traffic sent to the default gateway. It sends Hellos (every 3 s by default); if the Standby stops hearing them for the hold time (10 s), the Standby takes over.

interface Vlan20
 ip address 10.20.0.2 255.255.255.0
 standby version 2
 standby 20 ip 10.20.0.1
 standby 20 priority 110
 standby 20 preempt
show standby brief

Documented example, not captured output.

Align the Active router with the VLAN's STP root to keep traffic paths short.

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

In HSRP, the Active router is the member currently responsible for forwarding traffic sent to the group virtual gateway and for maintaining the virtual MAC ownership expected by hosts. Active selection is group-specific and depends on HSRP state, priority, preemption policy and availability; it is not the same as whichever router has the best upstream route. A device can remain HSRP Active while its useful upstream path is broken unless interface/object tracking reduces priority or another design signal causes failover. Troubleshooting must therefore separate HSRP election state from the active router's own RIB/FIB, upstream reachability and return path.

State model and technical mechanics

HSRP presents hosts with a stable virtual default-gateway identity while multiple routers participate in an election. The Active router is the member currently responsible for the virtual forwarding role: it answers ARP/ND behavior as supported for the virtual address, uses the virtual MAC where applicable and sends HSRP control messages so peers know the role is alive. Only one router should be Active for a group on the same Layer-2 domain under normal operation. The Active role is group-specific; a router can be Active for one HSRP group and Standby or Listen for another, enabling intentional load distribution across VLANs. For Active, keep HSRP group identity, local role, peer role, effective priority and the virtual IP/MAC state together. The group state machine is only the first-hop redundancy layer; route availability, CEF programming and upstream service remain independent operational objects even when the HSRP role itself is stable.

Limits and common misconceptions

Active does not mean “best router” in a global sense and does not guarantee that upstream routing, DNS or applications work. HSRP does not synchronize routing tables or firewall/NAT state by itself. A router can remain Active while a tracked condition is missing or misdesigned, and a successful role election can coexist with asymmetric policy. Treat HSRP as first-hop gateway redundancy: group role → virtual IP/MAC ownership → local forwarding → upstream route/CEF → actual service. For Active, HSRP shows first-hop role coordination, not end-to-end service health. Give live errors, packet symptoms and current outputs to ChatGPT for diagnosis; keep Pcornel as the canonical reference for what the role, virtual identity and election state actually show and what must still be verified elsewhere.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Choose the intended Active router with priority and, where required, preemption. Keep the virtual IP aligned with the client subnet and ensure both redundant routers have equivalent upstream reachability and policy if either must carry production traffic. Tracking should lower priority only for failures that meaningfully reduce the router’s suitability as gateway. Avoid designs where Active/Standby routers have materially different ACL/NAT/routing behavior unless that difference is intentional and documented. If load sharing across groups is used, keep group-to-VLAN ownership clear. For Active, document the intended Active/Standby ownership, priority/preemption policy, tracked dependencies and client-facing VIP before tuning behavior. Both peers should be capable of the same required forwarding policy so an HSRP transition changes gateway ownership without silently changing the network service contract.

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 → Active. 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

Active · technical reference

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

ItemMeaning
ActiveCurrent virtual-gateway owner
Virtual IP/MACStable client-facing identity
Priority/preemptInfluence role selection
Not proof ofUpstream or application health

Active operational reference

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

BoundaryKnown-good for ActiveSuspicious signatureNext proof
IntentMatches the HSRP router currently owning the virtual forwarding role for a group and answering for the shared default-gateway identity designConfiguration differs from design/peerCompare effective configuration
Control/security stateStable expected neighbor/database/binding/election statethe wrong router becoming Active, both peers not agreeing on active/standby roles, an Active router retaining the VIP while upstream forwarding is broken, or failover occurring without the virtual gateway becoming usableInspect 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

Healthy vs suspicious evidence

Output interpretation

Treat administratively down, down/down, notconnect, blocking/discarding, Init/ExStart, Idle/Active, unresolved, incomplete, stale, suppressed, denied, inactive, partial and unknown as distinct states. Do not flatten them into healthy/unhealthy.

Additional depth

Active role responsibilities

The Active router forwards packets sent to the HSRP virtual gateway and advertises its Active role to peers. During planned validation, confirm that traffic actually follows the Active device and that the Active device owns a usable upstream route, rather than checking only the label in HSRP output.

Confirmation

Confirm action

Continue?