39-15
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 39 Configuring HSRP and Enhanced Object Tracking
Configuring Enhanced Object Tracking
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
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.
Beginning in privileged EXEC mode, follow these steps to configure a tracked list of objects by using a
weight threshold and to configure a weight for each object:
Step 4
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 5
end
Return to privileged EXEC mode.
Step 6
show track
object-number
Verify that the specified objects are being tracked.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
track
track-number
list threshold
weight
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.
•
weight
—Specify that the threshold is based on weight.
Step 3
object
object-number
[
weight
weight-number
]
Specify the object to be tracked. The range is from 1 to 500. The optional
weight
weight-number
specifies a threshold weight for the object. The range
is from 1 to 255.
Note
An object must exist before you can add it to a tracked list.
Step 4
threshold weight
{
up
number |
[
down
number
]}
Specify the threshold weight.
•
up
number
—The valid range is from 1 to 255.
•
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.
Содержание 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 ...