show ntp

Prev Next

Displays the current NTP runtime state and configuration.

Syntax

show ntp

Parameters

None

Output fields

The following table describes the output fields for this command.

Field

Description

Address

The IP address of the time source (NTP server or peer).

auth

The NTP authentication status:

ok—The authentication succeeded.

bad—An authentication key is configured, but the authentication failed.

none—No authentication key is mapped to the NTP server.

n/a—An authentication key is configured, but the server is not reachable yet.

Stratum

A value that denotes the relative distance from the reference clock, which is a stratum-0 device. A stratum-1 server receives its time from the reference clock, a stratum-2 server receives its time from a stratum-1 server, and so on.

Offset (msec)

The offset between the system clock and the time source, in milliseconds.

Ref Clock

The IP address of the reference clock of the time source.

Poll Interv (sec)

The number of seconds between NTP poll packets.

Last Resp (sec)

The number of seconds since the last response to a poll was received.

Example

The following example shows the current NTP runtime state and configuration.

hostname > show ntp
NTP is administratively enabled.
NTP Authentication is administratively enabled.
Clock is synchronizated. Reference: 10.255.34.6 Offset: 1.713 ms.
Active servers and peers:

                                                           Poll    Last
                                       Offset  Ref         Interv  Resp
Address      auth  Status     Stratum  (msec)  Clock       (sec)   (sec)
=======================================================================
192.168.1.1  none  candidat (+)  2     -0.233  10.2.3.4     64     60
10.2.3.4     none  outlyer  (-)  2     12.069  192.168.2.2  64     50
172.16.4.5   none  candidat (+)  2     -0.958  10.5.6.7     64     50
10.255.34.6  none  sys.peer (*)  2     1.713   172.16.3.4   64     45

User role

Admin, Operator, or Monitor

Command mode

Enable

Supported appliances

This command is supported on the following appliances running the specified releases or later:

  • Malware Analysis: Before release 6.4

  • Central Management System: Before release 6.4

  • Email Security — Server :Before release 6.4. The NTP Authentication output line was introduced in EX Series Release 7.8.0. The auth output column replaced the Conf Type column in Email Security — Server Release 7.8.0.

  • File Protect: Before release 6.4

  • Endpoint Security (HX): Release 2.5

  • Network Security: Before release 6.4