BuildTheNet

Opening your workspace

Your learning content and tools are loading.

HSRP (First-Hop Redundancy)

show standby brief

Shows one line per HSRP group: priority, preemption, state, the active and standby routers and the virtual IP.

Written by a working field network engineer · CCNA, Security+, CySA+

One line per HSRP group showing who is active, who is standby and the virtual IP. In this example R1 shares 192.168.10.254 with a second LAN router at 192.168.10.3, and hosts use .254 as their default gateway. That second router and the virtual IP are an extension of the example network for the two HSRP pages only; the other pages show the network without HSRP, which is why .3 and .254 do not appear in their tables.

Example output

R1#show standby brief
                     P indicates configured to preempt.
                     |
Interface   Grp  Pri P State   Active          Standby         Virtual IP
Gi0/0       10   110 P Active  local           192.168.10.3    192.168.10.254

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
GrpThe HSRP group number. It must match on both routers and determines the virtual MAC.
PriThis router’s priority (default 100). Highest priority becomes active, then highest interface IP.
PPreemption is on: this router takes back the active role when its priority is higher.
StateInit, Learn, Listen, Speak, Standby or Active. Learn means the router has not yet heard the virtual IP from the active router and has none configured; Listen means it knows the virtual IP but is neither active nor standby.
Active / StandbyWho holds each role. “local” means this router.
Virtual IPThe gateway address hosts should use.

When it doesn’t look right

Both routers show Active.

They cannot hear each other’s hellos: different group numbers, different HSRP versions, authentication mismatch, or the VLAN between them is broken.

The higher-priority router stays Standby after recovering.

Preemption is not configured on it. Add standby <group> preempt.

Failover works but hosts lose connectivity.

Hosts are pointed at a physical router address instead of the virtual IP. Hand out the virtual IP as the DHCP default-router.

Related commands

Try it yourself

Topic

HSRP (First-Hop Redundancy) — Give hosts a virtual default gateway shared by two routers, control which one is active with priority and preemption, and verify failover.

All 57 commands