Networking · Architecture › High Availability
FHRP
Cheat sheet · https://pcornel.dk/topic.php?topic=840
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— HSRPshow vrrp brief— VRRPshow 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 layer | Evidence |
|---|---|
| Role | Active/standby state |
| Virtual identity | IP/MAC ownership |
| Forwarding | Active RIB/CEF |
| Service | Client 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