summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 19:35:03 +0200
committerGitHub <noreply@github.com>2019-09-24 19:35:03 +0200
commit8ead8165512f76ed32431cfc224f8e5d392c51c8 (patch)
tree6a130428b5d15a08b9d98190f1c8c8ddb773db5b /docs
parentfab0fff43b2ec633de21355865d2cb91e8c18086 (diff)
parenta96acf62c2977bbf7234363cbdf4f6b1d4b9362a (diff)
downloadvyos-documentation-8ead8165512f76ed32431cfc224f8e5d392c51c8.tar.gz
vyos-documentation-8ead8165512f76ed32431cfc224f8e5d392c51c8.zip
Merge pull request #117 from rebortg/add/ntp
add system NTP section
Diffstat (limited to 'docs')
-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