Command:

show clock


Mode:

Router#
Router>


Syntax:

show clock [detail]

 

Syntax Description:

detail

(Optional) Indicates the clock source (NTP, VINES, hardware clock, and so on) and the current summer-time setting (if any).

 

Command Description:

 

To display the time and date from the system software clock, use the show clock EXEC command.

The software clock keeps an "authoritative" flag that indicates whether the time is authoritative (believed to be accurate). If the software clock has been set by a timing source (for example, via NTP), the flag is set. If the time is not authoritative, it will be used only for display purposes. Until the clock is authoritative and the "authoritative" flag is set, the flag prevents peers from synchronizing to the software clock.

The symbol that precedes the show clock display indicates the following:

Symbol

Description

*

Time is not authoritative.

(blank)

Time is authoritative.

.

Time is authoritative, but NTP is not synchronized.


Note   In general, NTP synchronization takes approximately 15 to 20 minutes.



Example:

The following sample output shows that the current clock is authoritative and that the time source is NTP:

Router> show clock detail

15:29:03.158 PST Mon Mar 3 1999

Time source is NTP

The following example shows the current clock is authoritative, but NTP is not yet synchronized:

Router> show clock

.16:42:35.597 UTC Wed Nov 1 1999

 


Misconceptions:

           This command does not provide a high level of network security. If you use this command, you should also take additional network security measures.
Related Commands:

clock set
show calendar


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)