show clock

To display the system clock, use the show clock EXEC command.

show clock [detail]
Syntax Description

detail

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

Command Modes

EXEC

Command History
Release Modification

10.0

This command was introduced.

Usage Guidelines

The system clock keeps an "authoritative" flag that indicates whether the time is authoritative (believed to be accurate). If the system clock has been set by a timing source (system calendar, NTP, VINES, and so forth), 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 system 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-20 minutes.
Examples

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