Vyatta NOS documentation

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

Loading a saved configuration

How to load a previously saved configuration.

To load a previously saved configuration, use the load command in configuration mode. By default, the system reads the file from the /config configuration directory.

vyatta@R1# load testconfig
Loading config file /config/testconfig...

Load complete.  Use 'commit' to make changes active.
[edit]
vyatta@R1#

A loaded configuration then needs to be committed to become the active configuration.

CAUTION: If your login user is not a member of the login user group "secrets" and you save a configuration either through the REST API or use the save command, the encrypted passwords in the configuration file are replaced with the ******** placeholder. If you load this configuration, the replaced password fields trigger validation errors because the placeholder does not match the format for an encrypted password. Do not commit this configuration. If you ignore the error message and perform a commit with this invalid configuration, the passwords are deleted.