summaryrefslogtreecommitdiff
path: root/docs/configuration-overview.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration-overview.rst')
-rw-r--r--docs/configuration-overview.rst14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/configuration-overview.rst b/docs/configuration-overview.rst
index 9031609f..1ed0938f 100644
--- a/docs/configuration-overview.rst
+++ b/docs/configuration-overview.rst
@@ -214,10 +214,10 @@ These commands are also relative to the level where they are executed and all re
.. code-block:: sh
[edit]
- vyos@vyos# set interface ethernet eth0 address 1.2.3.4/24
+ vyos@vyos# set interface ethernet eth0 address 203.0.113.6/24
[edit interfaces ethernet eth0]
- vyos@vyos# set address 1.2.3.4/24
+ vyos@vyos# set address 203.0.113.6/24
These two commands above are essentially the same, just executed from different levels in the hierarchy.
@@ -227,7 +227,7 @@ Deleting an entry could also mean to reset it back to its default value if the e
.. code-block:: sh
[edit interfaces ethernet eth0]
- vyos@vyos# delete address 1.2.3.4/24
+ vyos@vyos# delete address 203.0.113.6/24
Any change you do on the configuration, will not take effect until committed using the `commit` command in configuration mode.
@@ -352,7 +352,7 @@ VyOS has built-in config archiving and versioning that renders tools like rancid
This feature was available in Vyatta Core since 6.3
Local archive and revisions
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+---------------------------
Revisions are stored on disk, you can view them, compare them, and rollback to previous revisions if anything goes wrong.
To view existing revisions, use `show system commit` operational mode command.
@@ -390,11 +390,13 @@ You can compare revisions with `compare X Y` command, where X and Y are revision
You can rollback to a previous revision with `rollback X`, where X is a revision number. Your system will reboot and load the config from the archive.
Configuring the archive size
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+----------------------------
+
You can specify the number of revisions stored on disk with `set system config-management commit-revisions X`, where X is a number between 0 and 65535. When the number of revisions exceeds that number, the oldest revision is removed.
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`.