Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show ntp status

Syntax

Description

Display the values of internal variables returned by Network Time Protocol (NTP) peers.

Options

none

Display the values of internal variables returned by NTP peers.

no-resolve

(Optional) Suppress symbolic addressing.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show ntp status command. Output fields are listed in the approximate order in which they appear.

Table 1: show ntp status Output Fields

Field Name

Field Description

status

System status word, a code representing the status items listed.

leap_none

Indicates a normal synchronized state with no leap seconds imminent. Other options could be leap_add_sec, leap_del_sec, or leap_alarm, indicating a leap second will be added, deleted, or a leap second requirement is upcoming.

sync_ntp

Indicates the current synchronization source, in this case, an NTP server. Other options include sync_alarm and sync_unspec, both indicating that the router has not been synched.

x events

Indicates the number of events that have occurred since that last code change. An event is often the receipt of an NTP polling message.

event_peer/strat_chg

Describes the most recent event, in this case, the stratum of the peer server changed.

version

A detailed description of the version of NTP being used.

processor

Indicates the current hardware platform and version of the processor.

system

Detailed description of the name and version of the operating system in use.

leap

The number of leap seconds in use.

stratum

The stratum of the peer server. Anything greater than 1 is a secondary reference source, and the number roughly represents the number of hops away from the stratum 1 server.. Stratum 1 is a primary reference, such as an atomic clock.

precision

The precision of the peer clock, how precisely the frequency and time can be maintained with this particular timekeeping system.

rootdelay

The total roundtrip delay to the primary reference source, in seconds.

rootdispersion

The maximum error relative to the primary reference source, in seconds.

peer

An identification number of the peer in use.

refid

Reference identifier of the remote peer. If the reference identifier is not known, this field shows a value of 0.0.0.0.

reftime

The local time, in timestamp format, when the local clock was last updated. If the local clock has never been synchronized, the value is zero.

poll

The NTP broadcast message polling interval, in seconds.

clock

The current time on the local router clock.

state

The current mode of NTP operation, where 1 is symmetric active, 2 is symmetric passive, 3 is client, 4 is server, and 5 is broadcast.

offset

Current estimated offset of the peer, in milliseconds. Indicates the time difference between the reference clock and the local clock.

frequency

The frequency of the clock.

jitter

Indicates the magnitude of jitter, in milliseconds, between several time queries.

stability

A measure of how well this clock can maintain a constant frequency.

Sample Output

show ntp status

Release Information

Command introduced before Junos OS Release 7.4.