Pcornel
Networking · Routing › First Hop Redundancy › HSRP

Tracking

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

Back to the Topic

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 state
  • show standby <interface> <group> — Track object <n> state and decrement
  • show 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 … reachability
show standby brief
show 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

ItemMeaning
Track objectExternal state input
DecrementReduces effective HSRP priority
Role effectDepends on peer priority/preemption
Design riskBad 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

Confirmation

Confirm action

Continue?