DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Enters track configuration mode.
track track-name
Step 2
Example:
RP/0/RSP0/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/RSP0/CPU0:router(config-track)# type
line-protocol state
Step 3
Specifies the interface to track the protocol state.
interface type interface-path-id
Step 4
Example:
RP/0/RSP0/CPU0:router(config-track-line-prot)#
interface atm 0/2/0/0.1
• 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.
Note
The loopback and null interfaces are always in the up
state and, therefore, cannot be tracked.
Note
Exits the track line protocol configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-track-line-prot)#
exit
Step 5
(Optional)
Schedules the delay that can occur between tracking whether the
object is up or down.
delay {up seconds|down seconds}
Example:
RP/0/RSP0/CPU0:router(config-track)# delay up
10
Step 6
Saves configuration changes.Use one of the following commands:
Step 7
•
end
•
When you issue the end command, the system prompts you
to commit changes:
Uncommitted changes found, commit them
•
commit
Example:
RP/0/RSP0/CPU0:router(config-track)# end
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.
or
RP/0/RSP0/CPU0:router(config-track)# commit
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
331
Implementing Object Tracking
Tracking the Line Protocol State of an Interface