JUNOSe 11.1.x System Basics Configuration Guide
copy running-configuration startup-configuration
copy startup-configuration
278
Saving the Current Configuration
Use to save the current configuration to a system configuration (*.cnf) file.
Use the include-text-config keyword to add the text configuration to the system
configuration file in compressed format.
Although this command is available in either Automatic Commit mode or Manual
Commit mode, use this command only in Manual Commit mode. Issuing this
command in Automatic Commit mode has no effect.
The destination filename must have a .cnf extension.
The destination file can be either a local or a network file.
If you want to restore a previously saved configuration, use the boot config
cnfFileName command.
Example 1 Saves the current configuration on the router to the system 2.cnf
file
host1#copy running-configuration system2.cnf
Example 2 Saves the current configuration on the router to the system 2.cnf
file and adds the text configuration to the system 2.cnf file in compressed format
host1#copy running-configuration system2.cnf include-text-config
There is no no version.
See copy running-configuration.
Use to save all outstanding (unsaved) configuration changes to NVS.
This command is an exact alias of the write memory command.
This command is available if the system is in either Automatic Commit mode
or Manual Commit mode. If issued while in Automatic Commit mode, the CLI
notifies you that the command is not necessary, but allows you to proceed.
If automatic synchronization between the primary and standby SRP modules is
enabled (the default system behavior) and the system is in Manual Commit mode
(the nondefault system behavior), issuing this command triggers file system
synchronization immediately after the system writes, or commits, all outstanding
configuration changes to NVS.
This command is prevented during the high availability initialization state. If
issued during this state, the CLI notifies you of the state and requests that you
try again later.
Example
host1#copy running-configuration startup-configuration
There is no no version.
See copy running-configuration startup-configuration.
Need help?
Do you have a question about the SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?