•
Boolean OR function
—
When the tracked list has been assigned a Boolean OR function, it means that
at least one object defined within a subset must also be in an up state, so that the tracked object can also
be in the up state.
How to Implement Object Tracking
This section describes the various object tracking procedures.
Tracking the Line Protocol State of an Interface
Perform this task in global configuration mode to track the line protocol state of an interface.
A tracked object is considered up when a line protocol of the interface is up.
After configuring the tracked object, you may associate the interface whose state should be tracked and specify
the number of seconds to wait before the tracking object polls the interface for its state.
SUMMARY STEPS
1.
configure
2.
track track-name
3.
type line-protocol state
4.
interface type interface-path-id
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.
Creates a track based on the line protocol of an interface.
type line-protocol state
Example:
RP/0/RP0/CPU0:router(config-track)# type
line-protocol state
Step 3
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
46
Implementing Object Tracking
How to Implement Object Tracking