summaryrefslogtreecommitdiff
path: root/docs/configuration-overview.rst
diff options
context:
space:
mode:
authorcurrite <sll@disroot.org>2020-09-16 12:40:22 +0200
committercurrite <sll@disroot.org>2020-09-16 12:40:22 +0200
commite17f32e74345742d9920b055a351bea9005db49d (patch)
tree890e392226674a685206b6b0b0552a70be06bcb6 /docs/configuration-overview.rst
parent9f7cd4c79056da97b265184d1634d4ddd0254cc1 (diff)
downloadvyos-documentation-e17f32e74345742d9920b055a351bea9005db49d.tar.gz
vyos-documentation-e17f32e74345742d9920b055a351bea9005db49d.zip
configuration overview: create subsection for compare configurations
Diffstat (limited to 'docs/configuration-overview.rst')
-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..f8593c95 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 20 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
----------------