First Hop Redundancy
Cheat sheet · https://pcornel.dk/topic.php?topic=641
Answer
A first-hop redundancy protocol lets two or more routers share one virtual gateway address. Hosts use the virtual IP as their default gateway; if the active router fails, another takes over the same address and virtual MAC. HSRP and GLBP are Cisco's; VRRP is the standard.
Remember
Group number, virtual IP and version must match on all routers in the group. The highest priority becomes active; pre-emption decides whether it takes the role back after recovering (off by default in HSRP, on in VRRP). Track the uplink so the router lowers its priority when its uplink fails.
First checks
show standby brief— HSRP groups: state, priority, active and standby router, virtual IP.show vrrp brief— VRRP groups: state, priority, master address.show standby/show vrrp— timers, pre-emption, tracking, virtual MAC.show track— tracked objects and their state.show ip arp <virtual ip>on a host-side device — the virtual MAC.
Commands
show standby briefshow standbyshow ip arp <virtual-ip>show standby vlan <id>show vrrp briefshow vrrp interface vlan <id>show glbp briefshow glbp vlan <id>show trackshow track <id>
Verify in this order
same group, virtual IP and version on all routers → hellos received → highest priority active → standby ready → tracking lowers priority on uplink failure → pre-emption restores the intended active router
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
First-hop redundancy boundary map
| Boundary | Healthy evidence | Failure clue | Next question |
|---|---|---|---|
| VLAN / SVI | Interface and VLAN operational | Gateway interface down/wrong VLAN | Is the local segment intact? |
| Virtual gateway | Expected VIP and role | VIP/group mismatch or no owner | Do both peers agree? |
| Peer redundancy | Active + Standby present | Standby unknown/absent | Can HSRP control traffic cross the segment? |
| Election policy | Priority/preempt/tracking match intent | Wrong Active or no failback | Is preference changing as designed? |
| Layer 2 path | STP/CAM leads to Active | Hairpin or stale virtual-MAC path | Is STP/FHRP aligned? |
| Upstream | Active has usable route/path | Gateway alive but remote traffic fails | What is the next Layer 3 boundary? |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=641