Pcornel
Networking · Architecture › High Availability

FHRP

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

Back to the Topic

Answer

First-hop redundancy protocols (HSRP, VRRP, GLBP) give hosts a virtual default-gateway address shared by two or more routers, so the gateway survives the failure of one router.

Remember

  • Redundancy is not availability until failure detection, convergence and capacity are proven
  • Active/active and active/standby designs have different state and load assumptions
  • Stateful switchover preserves selected state, not necessarily every protocol/session
  • Shared fate (power, conduit, control plane, software, provider) can invalidate apparent duplication
  • Define RTO/RPO/SLO and test failure plus recovery.

First checks

  • show standby brief — HSRP
  • show vrrp brief — VRRP
  • show glbp brief — GLBP

Commands

show glbp brief
Shows one line per GLBP gateway and forwarder: state, priority, virtual IP or MAC, and the active and standby routers.

Verify in this order

hosts → virtual gateway → active router → failover to standby

Where it usually breaks

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

FHRP · operational reference

FHRP layerEvidence
RoleActive/standby state
Virtual identityIP/MAC ownership
ForwardingActive RIB/CEF
ServiceClient path test

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

Confirmation

Confirm action

Continue?