summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorcurrite <sll@disroot.org>2019-09-18 17:11:59 +0200
committercurrite <sll@disroot.org>2019-09-18 17:11:59 +0200
commitc0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff (patch)
treec1db77f2c40656bd2865f7cf33ece1993002e22f /docs
parent8a9b0b66cce423835674674daf44f2d00f4abe00 (diff)
downloadvyos-documentation-c0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff.tar.gz
vyos-documentation-c0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff.zip
wipe config
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 1ed0938f..67bc6316 100644
--- a/docs/configuration-overview.rst
+++ b/docs/configuration-overview.rst
@@ -400,3 +400,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.
+