69-3
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 69 Configuring Enhanced Object Tracking
Configuring Enhanced Object Tracking Features
To track the line-protocol state or IP routing state of an interface, perform the following task:
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 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.
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
track
object-number
interface
interface-id
line-protocol
(Optional) Creates a tracking list to track the line-protocol state of an interface
and enter tracking configuration mode.
•
The
object-number
identifies the tracked object and can be from 1 to 500.
•
The
interface
interface-id
is the interface being tracked.
Step 3
delay
{
up
seconds
[
down
seconds
] | [
up
seconds
]
down
seconds
}
(Optional) Specifies a period of time in seconds to delay communicating state
changes of a tracked object. The range is from 1 to 180 seconds.
Step 4
exit
Returns to global configuration mode.
Step 5
track
object-number
interface
interface-id
ip routing
(Optional) Creates a tracking list to track the IP routing state of an interface,
and enter tracking configuration mode. IP-route tracking tracks an IP route in
the routing table and the ability of an interface to route IP packets.
•
The
object-number
identifies the tracked object and can be from 1 to 500.
•
The
interface
interface-id
is the interface being tracked.
Step 6
delay
{
up
seconds
[
down
seconds
] | [
up
seconds
]
down
seconds
}
(Optional) Specifies a period of time in seconds to delay communicating state
changes of a tracked object. The range is from 1 to 180 seconds.
Step 7
end
Returns to privileged EXEC mode.
Step 8
show track
object-number
Verifies that the specified objects are being tracked.
Step 9
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...