Merge pull request #110 from currite/restore_default_config

Information on the default config location.
This commit is contained in:
Daniil Baturin 2019-09-20 03:37:28 +07:00 committed by GitHub
commit 7e83b386fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -399,3 +399,16 @@ Remote archive
VyOS can copy the config to a remote location after each commit. TFTP, FTP, and SFTP servers are supported.
You can specify the location with `set system config-management commit-archive location URL` command, e.g. `set system config-management commit-archive location tftp://10.0.0.1/vyos`.
Wipe config and restore default
-------------------------------
In the case you want to completely delete your configuration and restore the default one, you can enter the following command in configuration mode:
.. code-block:: sh
load /opt/vyatta/etc/config.boot.default
.. note:: If you are remotely connected, you will lose your connection. You may want to copy first the config, edit it to ensure connectivity, and load the edited config.