Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    show ntp status

    Syntax

    show ntp status <no-resolve>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Command introduced in Junos OS Release 11.1 for the QFX Series.

    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

     

    Related Documentation

     

    List of Sample Output

    show ntp status

    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

    user@host> show ntp status
    assID=0 status=0544 leap_none, sync_local_proto, 4 events, event_peer/strat_chg,
    version="ntpd 4.2.2p1@1.1570-o Tue May 19 13:57:55 UTC 2009 (1)",
    processor="x86_64", system="Linux/2.6.18-164.el5", leap=00, stratum=4,
    precision=-10, rootdelay=0.000, rootdispersion=11.974, peer=59475,
    refid=LOCAL(0),
    reftime=d495c32c.0e71eaf2  Mon, Jan  7 2013 13:57:00.056, poll=10,
    clock=d495c32c.cebd43bd  Mon, Jan  7 2013 13:57:00.807, state=4,
    offset=0.000, frequency=0.000, jitter=0.977, noise=0.977,
    stability=0.000, tai=0

    Published: 2013-01-30