44-3
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter44 Configuring Enhanced Object Tracking
Configuring Enhanced Object Tracking Features
This example configures the tracking of an interface line-protocol state and verifies the configuration:
Switch(config)# track 33 interface gigabitethernet 1/0/1 line-protocol
Switch(config)# track 33 interface gigabitethernet 1/1 line-protocol
Switch(config-track)# end
Switch# show track 33
Track 33
Interface GigabitEthernet1/0/1 line-protocol
Line protocol is Down (hw down)
1 change, last change 00:18:28
Configuring a Tracked List
You can configure a tracked list of objects with a Boolean expression, a weight threshold, or a percentage
threshold. A tracked list contains one or more objects. An object must exist before it can be added to the
tracked list.
You configure a Boolean expression to specify calculation by using either “AND” or “OR”
operators.
When you measure the tracked list state by a weight threshold, you assign a weight number to each
object in the tracked list. The state of the tracked list is determined by whether or not the threshold
was met. The state of each object is determined by comparing the total weight of all objects against
a threshold weight for each object.
When you measure the tracked list by a percentage threshold, you assign a percentage threshold to
all objects in the tracked list. The state of each object is determined by comparing the assigned
percentages of each object to the list.

Configuring a Tracked List with a Boolean Expression

Configuring a tracked list with a Boolean expression enables calculation by using either “AND” or “OR”
operators. For example, when tracking two interfaces using the “AND” operator, up means that both
interfaces are up, and down means that either interface is down.
Step6 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.
Step7 end Return to privileged EXEC mode.
Step8 show track object-number Verify that the specified objects are being tracked.
Step9 copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command Purpose