diff options
author | currite <sll@disroot.org> | 2019-09-18 17:11:59 +0200 |
---|---|---|
committer | currite <sll@disroot.org> | 2019-09-18 17:11:59 +0200 |
commit | c0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff (patch) | |
tree | c1db77f2c40656bd2865f7cf33ece1993002e22f | |
parent | 8a9b0b66cce423835674674daf44f2d00f4abe00 (diff) | |
download | vyos-documentation-c0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff.tar.gz vyos-documentation-c0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff.zip |
wipe config
-rw-r--r-- | docs/configuration-overview.rst | 13 |
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. + |