PurposeCommand or Action
•
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them
•
end
•
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.
•
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Building a Track Based on a List of Objects - Threshold Weight
Perform this task in the global configuration mode to create a tracked list of objects (which, in this case, are
lists of interfaces or prefixes) using a threshold weight to determine the state of the list.
SUMMARY STEPS
1.
configure
2.
track track-name
3.
type list threshold weight
4.
object object-name weight weight
5.
threshold weight up weight down weight
6.
Use one of the following commands:
•
end
•
commit
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
337
Implementing Object Tracking
Building a Track Based on a List of Objects - Threshold Weight