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.
Configures a a track of type, threshold weighted list.type list threshold weight
Example:
RP/0/RSP0/CPU0:router(config-track-list)# type list
threshold weight
Step 3
Configures object 1, object 2 and object 3 as members of
track t1 and with weights 10, 5 and 3 respectively.
object object-name weight weight
Example:
RP/0/RSP0/CPU0:router(config-track-list-threshold)#
Step 4
object 1 weight 10
RP/0/RSP0/CPU0:router(config-track-list-threshold)#
object 2 weight 5
RP/0/RSP0/CPU0:router(config-track-list-threshold)#
object 3 weight 3
Configures the range of weights for the objects that need to
be UP or DOWN for the list to be considered UP or DOWN
threshold weight up weight down weight
Example:
RP/0/RSP0/CPU0:router(config-track-list-threshold)#
Step 5
respectively. In this example, the list is considered to be in
the DOWN state because objects 1 and 2 are in the UP state
and the cumulative weight is 15 (not in the 10-5 range).
threshold weight
up 10 down 5
Saves configuration changes.Use one of the following commands:
Step 6
•
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
â—¦
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.
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
338
Implementing Object Tracking
Building a Track Based on a List of Objects - Threshold Weight