Implementing Object Tracking
Command or Action
Step 4
interface type interface-path-id
Example:
RP/0/RP0/CPU0:router(config-track-line-prot)#
interface atm 0/2/0/0.1
Step 5
exit
Example:
RP/0/RP0/CPU0:router(config-track-line-prot)#
exit
Step 6
delay {up seconds|down seconds}
Example:
RP/0/RP0/CPU0:router(config-track)# delay up
10
Step 7
Use one of the following commands:
• end
• commit
Example:
RP/0/RP0/CPU0:router(config-track)# end
or
RP/0/RP0/CPU0:router(config-track)# commit
Specifies the interface to track the protocol state.
Note
Note
Exits the track line protocol configuration mode.
(Optional)
Schedules the delay that can occur between tracking whether the
object is up or down.
Saves configuration changes.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
Tracking the Line Protocol State of an Interface
Purpose
• type—Specifies the interface type. For more information,
use the question mark (?) online help function.
• interface-path-id—Identifies a physical interface or a virtual
interface.
Use the show interfaces command to see a list of all
possible interfaces currently configured on the router.
The loopback and null interfaces are always in the up
state and, therefore, cannot be tracked.
• When you issue the end command, the system prompts you
to commit changes:
Uncommitted changes found, commit them
before exiting(yes/no/cancel)?
[cancel]:
◦ Entering yes saves configuration changes to the running
configuration file, exits the configuration session, and
returns the router to EXEC mode.
◦ Entering no exits the configuration session and returns
the router to EXEC mode without committing the
configuration changes.
◦ Entering cancel leaves the router in the current
configuration session without exiting or committing
the configuration changes.
• Use the commit command to save the configuration changes
to the running configuration file and remain within the
configuration session.
47