42-4
Cisco Catalyst Blade Switch 3130 for Dell Software Configuration Guide
OL-13270-01
Chapter42 Configuring Enhanced Object Tracking
Configuring Enhanced Object Tracking Features
Beginning in privileged EXEC mode, follow these steps to configure a tracked list of objects with a
Boolean expression:
Use the no track track-number global configuration command to delete the tracked list.
This example configures track list 4 with a Boolean AND expression that contains two objects with one
object state negated. If the list is up, the list detects that object 2 is down:
Switch(config)# track 4 list boolean and
Switch(config-track)# object 1
Switch(config-track)# object 2 not
Switch(config-track)# exit
Configuring a Tracked List with a Weight Threshold
To track by weight threshold, configure a tracked list of objects, specify that weight is used as the
threshold, and configure a weight for each of its objects. The state of each object is determined by
comparing the total weight of all objects that are up against a threshold weight for each object.
You cannot use the Boolean “NOT” operator in a weight threshold list.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 track track-number list boolean
{and | or} Configure a tracked list object, and enter tracking configuration mode. The
track-number can be from 1 to 500.
boolean—Specify the state of the tracked li st ba sed on a Boo lea n
calculation.
and—Specify that the list is up if all objects are up or down if one or
more objects are down.
or—Specify that the list is up if one object is up or down if all objects
are down.
Step3 object object-number [not] Specify the object to be tracked. The range is from 1 to 50 0. Th e keyword
not negates the state of the object, which means that when the object is up,
the tracked list detects the object as down.
Note An object must exist before you can add it to a tracked list.
Step4 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.
Step5 end Return to privileged EXEC mode.
Step6 show track object-number Verify that the specified objects are being tracked.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.