5
.5 Clock Commands
5.5.1 clock set
The clock set privileged EXEC command manually sets the system clock.
S
yntax
c
lock set h
h:mm:ss day month year
o
r
c
lock set hh:mm:ss month day year
hh:mm:ss — Current time in h
0 - 59).
day — Current day (by date) in the month
month — Current month using the first thr
year
— Current year (2000 - 2097).
D
efault Configurat
T
his command has no default configuration.
C
ommand Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example
sets the system time to 13:32:00 on the 7th March 2005.
console# clock set 13:32:00 7 Mar 2005
5.5.2 clock sou
The clock source Privileged EXEC c
Syntax
clock source {sn
tp}
no clock source
sntp — SNTP servers
ours (military format), minutes, and seconds (0 - 23, mm: 0 - 59, ss:
ee letters by name (Jan, ..., Dec).
ion
rce
ommand configures an external time source for the system clock.
(1 - 31).