show ntp associations

Syntax

show ntp associations [vsx-peer]

Description

Shows the status of the connection to each NTP server. The following information is displayed for each server:

  • Tally code : The first character is the Tally code:
    • (blank): No state information available (e.g. non-responding server)

    • x : Out of tolerance (discarded by intersection algorithm)

    • . : Discarded by table overflow (not used)

    • - : Out of tolerance (discarded by the cluster algorithm)

    • + : Good and a preferred remote peer or server (included by the combine algorithm)

    • # : Good remote peer or server, but not utilized (ready as a backup source)

    • * : Remote peer or server presently used as a primary reference

    • o : PPS peer (when the prefer peer is valid)

  • ID: Server number.
  • NAME: NTP server FQDN/IP address (Only the first 24 characters of the name are displayed).
  • REMOTE: Remote server IP address.
  • REF_ID: Reference ID for the remote server (Can be an IP address).
  • ST: (Stratum) Number of hops between the NTP client and the reference clock.
  • LAST: Time since the last packet was received in seconds unless another unit is indicated.
  • POLL: Interval (in seconds) between NTP poll packets. Maximum (1024) reached as server and client sync.
  • REACH: 8-bit octal number that displays status of the last eight NTP messages (377 = all messages received).

Command context

Manager (#)

Parameters

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Example

switch# show ntp associations
----------------------------------------------------------------------
 ID            NAME          REMOTE          REF-ID ST LAST POLL REACH
----------------------------------------------------------------------
  1       192.0.1.1       192.0.1.1          .INIT. 16    -   64     0
* 2  time.apple.com    17.253.2.253          .GPSs.  2   70  128   377
----------------------------------------------------------------------