Pcornel
H3 · Practical network exams · Cisco IOS / IOS XE

Object Tracking · Finals

Configuration first, verification second, theory third. Reference templates require task-specific adaptation.

Content version 1.1-draft

Keyboard shortcuts

/ Finals search · Ctrl K global command palette · Alt E Exam Mode · Alt G Golden Scripts · Alt T Exam Topics · Alt V Verify · Esc close dialog.

Skills Exam · Supporting reference, not an additional exam objective

Quick explanation

Object tracking converts a monitored condition into an up/down state. Routing and HSRP can use the state to respond to failures.

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Configure and schedule IP SLA first when tracking SLA reachability.
  • Choose delays based on the requested failover behavior.
Track IP SLA reachability Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
track [TRACK-ID] ip sla [SLA-ID] reachability
 delay down [DOWN-SECONDS] up [UP-SECONDS]
 exit
end
Command parameters
[TRACK-ID]
Local tracking object identifier.
[SLA-ID]
Local IP SLA operation number.
[DOWN-SECONDS]
Tracking delay before reporting down.
[UP-SECONDS]
Tracking delay before reporting up.
Track interface line protocol Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
track [TRACK-ID] interface [INTERFACE] line-protocol
 exit
end
Command parameters
[TRACK-ID]
Local tracking object identifier.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
Tracked static IPv4 route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Create the tracked object before applying this route.
enable
configure terminal
ip route [NETWORK] [SUBNET-MASK] [NEXT-HOP] track [TRACK-ID]
end
Command parameters
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
[TRACK-ID]
Local tracking object identifier.

Show / Verify

Primary verification Section link
show track
Example output
Track 1
 IP SLA 1 reachability
 Reachability is Up

Check that the tracked condition reflects the real state.

Detailed verification Section link
show track [TRACK-ID]
Example output
Reachability is Down

Inspect the specified tracked object and dependencies.

Connectivity verification

HSRP failover (disruptive)

Only when requested, deliberately fail the intended path in a controlled lab, check transition and restore it. Do not include shutdown commands in Verify All.

show standby brief
show track
ping [DESTINATION-IP]

Common mistakes

  • Tracking wrong SLA ID.
  • Object is created before its dependency operates.
  • Failover policy uses an insufficient priority decrement.

Configuration comparison

IP SLA vs Object Tracking — SLA measures an operation; tracking exposes an up/down condition for consumers such as HSRP or static routing.

Remove configuration — separate, potentially disruptive actions

Remove tracked object

Remove or update consumers first; routing and HSRP behavior may change.

enable
configure terminal
no track [TRACK-ID]
end

Related reference

Networking technical reference · Interface types · Connectivity verification

Reset checklist?

Command block

Back to Top

Confirmation

Confirm action

Continue?