Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show ntp associations

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show ntp associations
<no-resolve>

Description

Display Network Time Protocol (NTP) peers and their state.

Options

none

Display NTP peers and their state.

no-resolve

(Optional) Suppress symbolic addressing.

Required Privilege Level

view

Output Fields

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

Table 1: show ntp associations Output Fields

Field Name

Field Description

remote

Address or name of the remote NTP peer. Status of the peer in the clock selection process:

  • space—Discarded because of a high stratum value or failed sanity checks.

  • x—Designated "falseticker" by the intersection algorithm.

  • .—Culled from the end of the candidate list.

  • – —Discarded by the clustering algorithm.

  • +—Included in the final selection set.

  • #—Selected for synchronization, but the distance exceeds the maximum.

  • *—Selected for synchronization.

  • o—Selected for synchronization, but the packets-per-second (pps) signal is 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.

auth Display the authentication method used for the peers.

st

Stratum of the remote peer.

t

Type of peer: b (broadcast), l (local), m (multicast), or u (unicast).

when

When the last packet from the peer was received.

poll

Polling interval, in seconds.

reach

Reachability register, in octal.

delay

Current estimated delay of the peer, in milliseconds.

offset

Current estimated offset of the peer, in milliseconds.

disp

Current estimated dispersion of the peer, in milliseconds.

rootdelay Unsigned fixed-point number indicating the total round-trip delay to the reference clock.
rootdisp Unsigned fixed-point number indicating the maximum error relative to the reference clock.

Sample Output

show ntp associations

content_copy zoom_out_map
root@R1> show ntp associations
     remote               refid           auth  st  t  when  poll reach  delay     offset   jitter rootdelay rootdisp
=====================================================================================================================
*anydns.jnpr.net        172.16.0.1           -   3  u    55    64  377  258.017    -2.852    0.909   23.010    5.112

show ntp associations | display xml (Starting in Junos OS and Junos OS Evolved Release 22.4R1)

content_copy zoom_out_map
<user@host> show ntp associations | display xml
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/22.4I0/junos">
    <ntp-associations>
        <association>
            <remote>*anyntp.juniper.net</remote>
            <refid>172.16.0.1</refid>
            <auth>-</auth>
            <st>3</st>
            <association-type>u</association-type>
            <when>55</when>
            <poll>64</poll>
            <reach>377</reach>
            <delay>258.017</delay>
            <offset>-2.852</offset>
            <jitter>0.909</jitter>
            <rootdelay>23.010</rootdelay>
            <rootdisp>5.112</rootdisp>
        </association>
    </ntp-associations>
    <cli>
        <banner></banner>
    </cli>
</rpc-reply>

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation