summaryrefslogtreecommitdiff
path: root/docs/system
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2019-09-23 22:14:37 +0200
committerRobert Göhler <github@ghlr.de>2019-09-23 22:14:37 +0200
commita96acf62c2977bbf7234363cbdf4f6b1d4b9362a (patch)
tree15d0cfe69f7acee4e3a92707bf8eedd88caa6f52 /docs/system
parentd66729b987219e46e2f5d7617e7573e5b9f23f54 (diff)
downloadvyos-documentation-a96acf62c2977bbf7234363cbdf4f6b1d4b9362a.tar.gz
vyos-documentation-a96acf62c2977bbf7234363cbdf4f6b1d4b9362a.zip
add system NTP section
Diffstat (limited to 'docs/system')
-rw-r--r--docs/system/index.rst1
-rw-r--r--docs/system/ntp.rst19
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/system/index.rst b/docs/system/index.rst
index cea729e3..f52ea3d8 100644
--- a/docs/system/index.rst
+++ b/docs/system/index.rst
@@ -14,6 +14,7 @@ should be ready for further configuration which is described in this chapter.
eventhandler
flowaccounting
host-information
+ ntp
serialconsole
system-users
syslog
diff --git a/docs/system/ntp.rst b/docs/system/ntp.rst
new file mode 100644
index 00000000..ed2a0ecb
--- /dev/null
+++ b/docs/system/ntp.rst
@@ -0,0 +1,19 @@
+.. _ntp:
+
+NTP
+===
+
+there are 3 default NTP server set. You are able to change them.
+
+.. code-block:: sh
+
+ set system ntp server 0.pool.ntp.org
+ set system ntp server 1.pool.ntp.org
+ set system ntp server 2.pool.ntp.org
+
+To set up VyOS as an NTP responder, you must specify the listen address and optionally the permitted clients.
+
+.. code-block:: sh
+
+ set system ntp listen-address 192.168.199.1
+ set system ntp allow-clients address 192.168.199.0/24