39-14
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 39 Configuring HSRP and Enhanced Object Tracking
Configuring Enhanced Object Tracking
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)#
end
Switch#
show track 33
Track 33
Interface GigabitEthernet0/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. For example, when tracking multiple interfaces using the “AND” operator,
up
means that
all interfaces are up and
down
means that at least one interface is down.
•
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.
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.
Beginning in privileged EXEC mode, follow these steps to configure a tracked list of objects with a
Boolean expression:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
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 list based on a Boolean
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.
Step 3
object
object-number
[
not
]
Specify the object to be tracked. The range is from 1 to 500. The 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.
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...