NTP

Created by Yuriy Andamasov, Modified on Wed, 26 Apr 2023 at 11:33 AM by Aslan Hajiyev

NTP is a networking protocol for clock synchronization.

A manual, one-time synchronization with an NTP server can be carried out in operational mode like this:

vyos@vyos-rtr:~$ set date ntp

Automatic synchronization with NTP server

In order for the system to automatically synchronize its date and time, associations with one or more NTP servers must be created:

vyos@vyos-rtr# set system ntp server

Show the current status of connections to NTP servers, how often they are being polled and updating the systems clock, an Asterisk (*) next to a NTP server entry indicates a successful synchronization:

vyos@vyos-rtr:~$ show ntp
remote local st poll reach delay offset disp
=======================================================================
=193.219.28.147 192.168.0.1 2 1024 377 0.10153 0.010927 0.12732
*194.40.240.30 192.168.0.1 2 1024 377 0.03886 0.000217 0.12424
=213.199.225.30 192.168.0.1 2 1024 377 0.09447 0.004778 0.12447

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article