SUMMARY STEPS
1.
configure
2.
track track-name
3.
type list boolean
{
and
|
or
}
4.
object object-name
[
not
]
5.
exit
6.
(Optional)
delay
{
up seconds
|
down seconds
}
7.
Use one of the following commands:
•
end
•
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Enters track configuration mode.
track track-name
Step 2
Example:
RP/0/RP0/CPU0:router(config)# track track1
•
track-name
—
Specifies a name for the object to be tracked.
Configures a Boolean list object and enters track list configuration
mode.
type list boolean
{
and
|
or
}
Example:
RP/0/RP0/CPU0:router(config-track-list)# type
list boolean and
Step 3
•
boolean
—
Specifies that the state of the tracked list is based
on a Boolean calculation.
•
and
—
Specifies that the list is up if all objects are up, or down
if one or more objects are down. For example when tracking
two interfaces, up means that both interfaces are up, and down
means that either interface is down.
•
or
—
Specifies that the list is up if at least one object is up.
For example, when tracking two interfaces, up means that
either interface is up, and down means that both interfaces
are down.
Specifies the object to be tracked by the list
object object-name
[
not
]
Step 4
Example:
RP/0/RP0/CPU0:router(config-track-list)#
object 3 not
•
obect-name
—
Name of the object to track.
•
not
—
Negates the state of the object.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
50
Implementing Object Tracking
Building a Track Based on a List of Objects