Configuration Management Commands on Cisco IOS XR Software
commit
SMR-113
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
commit
To commit the target configuration to the active (running) configuration, use the
commit
command in
any configuration mode.
commit
[
replace
] [
best-effort
] [
force
] [
label
line
] [
comment
line
] [
confirmed
minutes
]
[
save-running filename
file_path
]
Syntax Description
Defaults
The default behavior is pseudo-atomic, meaning that all changes must succeed for the entire commit
operation to succeed. If any errors are found, none of the configuration changes take effect.
Command Modes
Any configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Changes made during a configuration session are inactive until the
commit
command is entered. By
default, the commit operation is pseudo-atomic, meaning that all changes must succeed for the entire
commit operation to succeed. If any errors are found, none of the configuration changes takes effect.
replace
(Optional) Replaces the entire running configuration with the contents
of the target configuration.
best-effort
(Optional) Merges the target configuration with the running
configuration and commits only valid changes (best effort). Some
configuration changes might fail due to semantic errors.
force
(Optional) Forces a commit operation in low-memory conditions.
label
line
(Optional) Assigns a meaningful label. This label is displayed (instead
of the autogenerated commit ID) in the output for the
comment
line
(Optional) Assigns a comment to a commit. This text comment is
displayed in the commit entry displayed in the output for the
command with the optional
detail
keyword.
confirmed
minutes
(Optional) Commits the configuration on a trial basis for a minimum
of 30 seconds and a maximum of 300 seconds (5 minutes).
Note
The
confirmed
option is not available in administration
configuration mode.
save-running filename
file_path
(Optional) Saves the running configuration to a specified file.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.