Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

show ntp

Shows the status of connections to a configured Network Time Protocol (NTP) server.

show ntp { host | ipv4 | 0.vyatta.pool.ntp.org }
host
The host name of an NTP server.
ipv4
The IPv4 address of an NTP server.
0.vyatta.pool.ntp.org
Specifies the default NTP server.

Operational mode

Use this command to view the status of connections to a configured NTP server.

A line entry is given for each configured NTP server, showing the IP address of the server and how often the system is polling and updating to the NTP clock. An asterisk (*) next to the IP address indicates successful synchronization with the NTP server.

NTP server connections are configured by using system ntp server <server-name>.

The following example shows how to display the status of connections to all configured NTP servers (in this case, the 69.59.150.135 IP address).

vyatta@R1:~$ show ntp
remote                local      st poll reach  delay   offset    disp
=======================================================================
=69.59.150.135   192.168.1.92     3   64    1 0.04057 -0.281460 0.96825
vyatta@R1:~$

                

The following example shows how to display the status of connections to the configured NTP server at the 69.59.150.135 IP address.

vyatta@R1:~$ show ntp 69.59.150.135
server 69.59.150.135, stratum 3, offset 46.614524, delay 0.03207
22 Jan 12:20:36 ntpdate[10192]: step time server 69.59.150.135 offset 46.614524 sec
vyatta@R1:~$