Tracking
Cheat sheet · https://pcornel.dk/topic.php?topic=1155
Answer
HSRP tracking lowers a router's priority when something it depends on fails, such as an uplink or a route (standby 1 track 10 decrement 20). With preemption on the peer, this moves the Active role to a router that still has a working path.
Remember
Do not infer service health from one command. For Tracking, distinguish configured intent, protocol/security state, installed forwarding state and the original workload result.
First checks
show track— tracked object stateshow standby <interface> <group>— Track object <n> state and decrementshow ip sla statistics— if tracking an IP SLA
Commands
show ip sla statistics [id]- Inspect active probe results.
show track- Display tracked objects and their state.
ip route … reachabilityshow standby briefshow standby
Verify in this order
tracked object down → priority decremented → peer preempts → new Active
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Tracking · technical reference
| Item | Meaning |
|---|---|
| Track object | External state input |
| Decrement | Reduces effective HSRP priority |
| Role effect | Depends on peer priority/preemption |
| Design risk | Bad signal can cause unnecessary failover |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1155