Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Changing the default configuration file

To change the default configuration file to one that you have previously saved, use both the load and save commands.

Load a previously saved configuration and save it as the default configuration

Load the previously saved configuration file (testconfig) from the default directory by specifying only the file name and then save it to the default file (config.boot).


vyatta@vyatta# load testconfig
Loading configuration file /config/testconfig...
No configuration changes to commit
Done
[edit]
vyatta@vyatta# save
Saving configuration to '/config/config.boot'...
Done
[edit]
vyatta@vyatta#

            
            

At this point, the configurations in the testconfig and config.boot files are the same. The currently active configuration is the same as what is loaded when the system restarts.