46-6
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 46 Configuring Enhanced Object Tracking
Configuring Enhanced Object Tracking Features
Configuring a Tracked List with a Percentage Threshold
To track by percentage threshold, configure a tracked list of objects, specify that a percentage will be
used as the threshold, and specify a percentage for all objects in the list. The state of the list is determined
by comparing the assigned percentage of each object to the list.
You cannot use the Boolean “NOT” operator in a percentage threshold list.
Beginning in privileged EXEC mode, follow these steps to configure a tracked list of objects by using a
percentage threshold:
Use the no track track-number global configuration command to delete the tracked list.
This example configures tracked list 4 with three objects and a specified percentages to measure the state
of the list:
Switch(config)# track 4 list threshold percentage
Switch(config-track)# object 1
Switch(config-track)# object 2
Switch(config-track)# object 3
Switch(config-track)# threshold percentage up 51 down 10
Switch(config-track)# exit
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 track track-number list threshold
percentage Configure a tracked list object and enter tracking configuration mode. The
track-number can be from 1 to 500.
threshold—Specify the state of the tracked list based on a threshold.
percentage—Specify that the threshold is based on percentage.
Step 3 object object-number Specify the object to be tracked. The range is from 1 to 500.
Note An object must exist before you can add it to a tracked list.
Step 4 threshold percentage {up number |
[down number]}
Specify the threshold percentage.
up number—The valid range is from 1 to 100.
down number]—(Optional) The range depends on the number selected
for the up number. If you configure the up number as 25, the range
shown for the down number is 0 to 24.
Step 5 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 6 end Return to privileged EXEC mode.
Step 7 show track object-number Verify that the specified objects are being tracked.
Step 8 copy running-config startup-config (Optional) Save your entries in the configuration file.