From c0f31dbdf6f5dba2182dfcb26bf1ba904506f8ff Mon Sep 17 00:00:00 2001 From: currite Date: Wed, 18 Sep 2019 17:11:59 +0200 Subject: wipe config --- docs/configuration-overview.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs') 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. + -- cgit v1.2.3