summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@poessinger.com>2023-01-15 07:59:21 +0100
committerGitHub <noreply@github.com>2023-01-15 07:59:21 +0100
commit191e73e1d69bc844be8e06531f23f1af6666d36f (patch)
treeed45267be1bc83b74f08931850c7dcff2cdb7abc
parentb2a2b3bc35e124d4fb5e5b778cfd9de2b806e29e (diff)
parenta499724dbb82dbe7eae50b2c96f4460490ed93bb (diff)
downloadvyos-documentation-191e73e1d69bc844be8e06531f23f1af6666d36f.tar.gz
vyos-documentation-191e73e1d69bc844be8e06531f23f1af6666d36f.zip
Merge pull request #923 from vyos/t3008-chrony
ntp: T3008: migrate from ntpd to chrony
-rw-r--r--docs/configuration/service/index.rst1
-rw-r--r--docs/configuration/service/ntp.rst (renamed from docs/configuration/system/ntp.rst)20
-rw-r--r--docs/configuration/system/index.rst1
3 files changed, 13 insertions, 9 deletions
diff --git a/docs/configuration/service/index.rst b/docs/configuration/service/index.rst
index 8607490d..1195348f 100644
--- a/docs/configuration/service/index.rst
+++ b/docs/configuration/service/index.rst
@@ -18,6 +18,7 @@ Service
lldp
mdns
monitoring
+ ntp
pppoe-server
router-advert
salt-minion
diff --git a/docs/configuration/system/ntp.rst b/docs/configuration/service/ntp.rst
index 223447f5..5b718c4f 100644
--- a/docs/configuration/system/ntp.rst
+++ b/docs/configuration/service/ntp.rst
@@ -30,10 +30,16 @@ The current protocol is version 4 (NTPv4), which is a proposed standard as
documented in :rfc:`5905`. It is backward compatible with version 3, specified
in :rfc:`1305`.
+.. note:: VyOS 1.4 uses chrony instead of ntpd (see :vytask:`T3008`) which will
+ no longer accept anonymous NTP requests as in VyOS 1.3. All configurations
+ will be migrated to keep the anonymous functionality. For new setups if you
+ have clients using your VyOS installation as NTP server, you must specify
+ the `allow-client` directive.
+
Configuration
=============
-.. cfgcmd:: set system ntp server <address>
+.. cfgcmd:: set service ntp server <address>
Configure one or more servers for synchronisation. Server name can be either
an IP address or :abbr:`FQDN (Fully Qualified Domain Name)`.
@@ -44,7 +50,7 @@ Configuration
* ``1.pool.ntp.org``
* ``2.pool.ntp.org``
-.. cfgcmd:: set system ntp server <address> <noselect | pool | preempt | prefer>
+.. cfgcmd:: set service ntp server <address> <noselect | pool | prefer>
Configure one or more attributes to the given NTP server.
@@ -54,24 +60,22 @@ Configuration
* ``pool`` mobilizes persistent client mode association with a number of
remote servers.
- * ``preempt`` a preemptable association is expendable.
-
* ``prefer`` marks the server as preferred. All other things being equal,
this host will be chosen for synchronization among a set of correctly
operating hosts.
-.. cfgcmd:: set system ntp listen-address <address>
+.. cfgcmd:: set service ntp listen-address <address>
NTP process will only listen on the specified IP address. You must specify
the `<address>` and optionally the permitted clients. Multiple listen
addresses can be configured.
-.. cfgcmd:: set system ntp allow-clients address <address>
+.. cfgcmd:: set service ntp allow-client address <address>
List of networks or client addresses permitted to contact this NTP server.
- Multiple networks can be configured.
+ Multiple networks/client IP addresses can be configured.
-.. cfgcmd:: set system ntp vrf <name>
+.. cfgcmd:: set service ntp vrf <name>
Specify name of the :abbr:`VRF (Virtual Routing and Forwarding)` instance.
diff --git a/docs/configuration/system/index.rst b/docs/configuration/system/index.rst
index 5bf781af..363c6141 100644
--- a/docs/configuration/system/index.rst
+++ b/docs/configuration/system/index.rst
@@ -17,7 +17,6 @@ System
lcd
login
name-server
- ntp
option
proxy
syslog