Managing Configuration Sessions
Committing Changes to the Running Configuration
The changes in the target configuration do not become part of the running configuration until you enter
the commit command. When you commit a target configuration, you can use the commit command to
do either of the following:
•
•
Note
If you try to end a configuration session without saving your changes to the running configuration with
the commit command, you are prompted to save the changes. For more information, see the
Configuration Session" section on page
To commit target configuration changes to the running configuration, enter the commit command by
itself or with one or more of the options described in
Table 6
Command
commit
commit best-effort
commit comment line
commit confirmed
seconds
commit label line
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
60
Merge the target configuration with the running configuration to create a new running configuration.
Replace the running configuration with the target configuration.
Commit Command Options
Description
(Default) Merges the target configuration with the running configuration
and commits changes only if all changes in the target configuration pass
the semantic verification process. If any semantic errors are found, none
of the configuration changes takes effect.
Merges the target configuration with the running configuration and
commits only valid changes (best effort). Some configuration changes
might fail due to semantic errors.
(Optional) Assigns a comment to a commit.
•
•
•
(Optional) Commits the configuration in global configuration mode on a
trial basis for a minimum of 30 seconds and a maximum of 300 seconds
(5 minutes).
•
•
(Optional) Assigns a meaningful label. This label appears in the output
for the show configuration commit list [detail] command instead of the
numeric label.
•
84.
Table
This text comment appears in the commit entry displayed with the
show configuration commit list [detail] command.
The line argument is the text for the optional comment or label.
The comment option must appear at the end of the command line. If
multiple options are entered, all text after the comment option is
treated as a comment.
During the trial configuration, enter commit to confirm the
configuration. If you do not enter the commit command, the router
reverts to the previous configuration when the trial time period
expires.
The confirmed option is not available in administration
configuration mode.
The line argument is the text for the optional comment or label.
Chapter
Configuring General Router Features
6.
"Ending a
OL-28417-02