Purpose
Command 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/RP0/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/RP0/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
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
53
Implementing Object Tracking
Building a Track Based on a List of Objects - Threshold Weight