60
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-28417-02
Chapter Configuring General Router Features
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:
• Merge the target configuration with the running configuration to create a new running configuration.
• Replace the running configuration with the target configuration.
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
“Ending a
Configuration Session” section on page 84.
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.
Ta b l e 6 Commit Command Options
Command Description
commit (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.
commit best-effort Merges the target configuration with the running configuration and
commits only valid changes (best effort). Some configuration changes
might fail due to semantic errors.
commit comment line (Optional) Assigns a comment to a commit.
• 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.
commit confirmed
seconds
(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).
• 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.
commit label line (Optional) Assigns a meaningful label. This label appears in the output
for the show configuration commit list [detail] command instead of the
numeric label.
• The line argument is the text for the optional comment or label.