42-10
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 42 Configuring Enhanced Object Tracking
Configuring Enhanced Object Tracking Features
Latest operation return code: over threshold
Latest RTT (millisecs) 4
Tracked by:
HSRP Ethernet0/1 3
This example output shows whether a route is reachable:
Switch(config)# track 3 500 reachability
Switch(config)# end
Switch# show track 3
Track 3
Response Time Reporter 1 reachability
Reachability is Up
1 change, last change 00:00:47
Latest operation return code: over threshold
Latest RTT (millisecs) 4
Tracked by:
HSRP Ethernet0/1 3
Configuring Static Routing Support
Switches that are running the IP services image with Cisco IOS release 12.2(46)SE or later support
enhanced object tracking static routing. Static routing support using enhanced object tracking provides
the ability for the switch to use ICMP pings to identify when a preconfigured static route or a DHCP
route goes down. When tracking is enabled, the system tracks the state of the route and informs the client
when that state changes. Static route object tracking uses Cisco IP SLAs to generate ICMP pings to
monitor the state of the connection to the primary gateway.
For more information about Cisco IP SLAs support on the switch, see Chapter 41, “Configuring
Cisco IOS IP SLAs Operations.”
For more information about static route object tracking, see this URL:
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html
You use this process to configure static route object tracking:
Step 1 Configure a primary interface for static routing or for DHCP.
Step 2 Configure an IP SLAs agent to ping an IP address using a primary interface and a track object to monitor
the state of the agent.
Step 3 Configure a default static default route using a secondary interface. This route is used only if the primary
route is removed.

Configuring a Primary Interface

Beginning in privileged EXEC mode, follow these steps to configure a primary interface for static
routing:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Select a primary or secondary interface and enter interface
configuration mode.