summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-09-20 03:37:28 +0700
committerGitHub <noreply@github.com>2019-09-20 03:37:28 +0700
commit7e83b386fd8f36b7c99690a3fff26cd154462f34 (patch)
treed81c20226155c645770a78fa91c7a59a195a447c /docs
parentbf0a3006078255676abd109cb4b12f40fe35635a (diff)
parentc0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff (diff)
downloadvyos-documentation-7e83b386fd8f36b7c99690a3fff26cd154462f34.tar.gz
vyos-documentation-7e83b386fd8f36b7c99690a3fff26cd154462f34.zip
Merge pull request #110 from currite/restore_default_config
Information on the default config location.
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration-overview.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/configuration-overview.rst b/docs/configuration-overview.rst
index bd1ab8d8..fcaefa5e 100644
--- a/docs/configuration-overview.rst
+++ b/docs/configuration-overview.rst
@@ -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.
+