46-9
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 46 Configuring Enhanced Object Tracking Configuring Enhanced Object Tracking Features
Object tracking of IP SLAs operations allows clients to track the output from IP SLAs objects and use
this information to trigger an action. Every IP SLAs operation maintains an SNMP operation return-code
value, such as OK or OverThreshold, that can be interpreted by the tracking process. You can track two
aspects of IP SLAs operation: state and reachability. For state, if the return code is OK, the track state is
up; if the return code is not OK, the track state is down. For reachability, if the return code is OK or
OverThreshold, reachability is up; if not OK, reachability is down.
Beginning in privileged EXEC mode, follow these steps to track the state of an IP SLAs operation or the
reachability of an IP SLAs IP host:
This example shows how to configure and display IP SLAs state tracking:
Switch(config)# track 2 200 state
Switch(config)# end
Switch# show track 2
Track 2
Response Time Reporter 1 state
State is Down
1 change, last change 00:00:47
Latest operation return code: over threshold
Latest RTT (millisecs) 4
Tracked by:
HSRP Ethernet0/1 3
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 track object-number rtr
operation-number state
Enter tracking configuration mode to track the state of an IP SLAs operation.
The object-number range is from 1 to 500.
The operation-number range is from 1 to 2147483647.
Step 3 delay {up seconds [down seconds] |
[up seconds] down seconds}
(Optional) Specify a period of time in seconds to delay communicating state
changes of a tracked object. The range is from 1 to 180 seconds.
Step 4 exit Return to global configuration mode.
Step 5 track object-number rtr
operation-number reachability
Enter tracking configuration mode to track the reachability of an IP SLAs IP
host.
The object-number range is from 1 to 500.
The operation-number range is from 1 to 2147483647.
Step 6 delay {up seconds [down seconds] |
[up seconds] down seconds}
(Optional) Specify a period of time in seconds to delay communicating state
changes of a tracked object. The range is from 1 to 180 seconds.
Step 7 end Return to privileged EXEC mode.
Step 8 show track object-number Display tracking information to verify the configuration.
Step 9 copy running-config startup-config (Optional) Save your entries in the configuration file.