Pcornel
Networking · Network & Protocols › Routing, VRF & Redundancy

HSRP & VRRP Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=218

Back to the Topic

Answer

HSRP and VRRP let two or more routers share one virtual gateway address. One router answers for it; if that router fails, another takes over and the hosts notice nothing.

Remember

Highest priority wins. HSRP does not preempt unless configured; VRRP does by default. Without tracking, a router that loses its uplink stays gateway with nowhere to send traffic. Both routers active means they do not hear each other's hellos.

First checks

  • show standby brief — HSRP: group, priority, preempt, state, active and standby router, virtual IP.
  • show vrrp brief — the VRRP equivalent.
  • show standby / show vrrp — timers, tracking and state changes.
  • show track — tracked objects.

Verify in this order

same group, version and virtual IP on both routers → hellos exchanged → highest priority active → standby listening → tracking lowers priority on uplink loss → peer preempts → hosts keep the same gateway address

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=218

Confirmation

Confirm action

Continue?