Previous page Next page

show ntp

Displays information about all of the NTP servers currently peered with CNA.

Syntax
show ntp [ association | status ]
 
         [ | { include | exclude | begin } <exp> ] 
 
         [ > <url> ]
 
Arguments
Prerequisites

System operations mode, login-level privileges.

Description

Output from the show ntp command is generated by a call to the ntpq query utility. More information about this utility and its output is available at http://www.ntp.org.

Use the status keyword to display the current timing status with the synchronized peer. Output, which is generated by calling the ntpq utility with a -p option, will look similar to the following:

   remote     refid     st t when poll reach   delay   offset    disp
 
========================================================================
 
*LOCAL(1)  LOCAL(1)     10 l   49   64  377     0.00    0.000   10.01
 

 

Columns identify the following:

The association keyword displays the output of a call to the ntpq utility with the -c association option. This output will look similar to the following:

ind assID status  conf reach auth condition  last_event cnt
 
===========================================================
 
  1 33732  9614   yes   yes  none  sys.peer   reachable  1
 

 

Each line in the association table corresponds to a line in the status table, where each line represents an NTP server or peer.

Columns identify the following:

You can pipe the command through one of the following filters:

The vertical-line pipe character | is required when a filter is used.

You can send the output to a remote file location, by piping the display to a remote URL (leading > required). See the copy command for URL syntax.


Previous page Next page