summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-09-16 18:41:19 +0700
committerGitHub <noreply@github.com>2020-09-16 18:41:19 +0700
commitdecc2dabaa1b8e2253e847edab83d1a3c2dcbee2 (patch)
treee8555719f42f75ac25b9408b800bf9e91221da0e
parent9f7cd4c79056da97b265184d1634d4ddd0254cc1 (diff)
parent64a4ac7b7935b9fa3dbd0bb54269be8f346b0a76 (diff)
downloadvyos-documentation-decc2dabaa1b8e2253e847edab83d1a3c2dcbee2.tar.gz
vyos-documentation-decc2dabaa1b8e2253e847edab83d1a3c2dcbee2.zip
Merge pull request #327 from currite/compare-configs
configuration overview: create subsection for compare configurations
-rw-r--r--docs/configuration-overview.rst23
1 files changed, 17 insertions, 6 deletions
diff --git a/docs/configuration-overview.rst b/docs/configuration-overview.rst
index 653c1b6e..06c86e9d 100644
--- a/docs/configuration-overview.rst
+++ b/docs/configuration-overview.rst
@@ -529,9 +529,24 @@ any previous revisions if something goes wrong.
6 2015-03-25 00:16:47 by vyos via cli
7 2015-03-24 23:43:45 by root via boot-config-loader
+
+.. cfgcmd:: set system config-management commit-revisions <N>
+
+ You can specify the number of revisions stored on disk. N can be in
+ the range of 0 - 65535. When the number of revisions exceeds the
+ configured value, the oldest revision is removed. The default setting
+ for this value is to store 100 revisions locally.
+
+
+Compare configurations
+----------------------
+
+VyOS lets you compare different configurations.
+
.. cfgcmd:: compare <saved | N> <M>
- Compare difference in configuration revisions.
+ Use this command to spot what the differences are between different
+ configurations.
.. code-block:: none
@@ -597,12 +612,8 @@ By default the difference with the running config is shown.
This means four commits ago we did ``set system ipv6 disable-forwarding``.
-.. cfgcmd:: set system config-management commit-revisions <N>
- You can specify the number of revisions stored on disk. N can be in
- the range of 0 - 65535. When the number of revisions exceeds the
- configured value, the oldest revision is removed. The default setting
- for this value is to store 20 revisions locally.
+
Rollback Changes
----------------