Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Show Page Sections

Save configuration changes — save

How to save changes in the running configuration to a file. You must do this is you want the running configuration to persist after a system restart.

The save command writes only committed changes. If you try to save uncommitted changes, the system warns you that it will save only the committed changes. In other words, you can save only the the running configuration to a file, not the candidate configuration.

By default, you will save the configuration to the config.boot file in the /config directory. But you can specify a custom file name and/or directory.

Note: When the system restarts, it loads the configuration from the default config.boot file. You must save your configuration changes to this file if you want them to persist.
Use the save command to save the configuration.
user@system# save

Save the configuration to the default file

How to use the save command to save the running configuration to the default configuration file.

Save the configuration to the config.boot file in the default directory.
user@system# save
Done
[edit]
user@system#

Save the configuration to a custom file

How to use the save command to save the running configuration to a custom file.

You can save the running configuration to a custom file. You might want to do this so that you can have different configuration files for different situations — such as for test, or for production.

Save the configuration to a file name that you specify.
Note: You'll save to the standard /config directory by default. But you can specify a path to save to a different directory if you wish. This may even be on an internal hard drive, or a portable storage device — just mount the device and then specify the appropriate path.
user@system# save testconfig
Saving configuration to '/config/testconfig'...
Done
[edit]
user@system#