10
CLOCK COMMANDS
clock set The clock set Privileged EXEC mode command manually sets the system
clock.
Syntax
clock set hh:mm:ss day month year
or
clock set hh:mm:ss month day year
Parameters
■ hh:mm:ss — Current time in hours (military format), minutes, and
seconds. (hh: 0-23, mm: 0-59, ss: 0-59)
■ day — Current day (by date) in the month. (Range: 1-31)
■ month — Current month using the first three letters by name. (Range:
Jan, …, Dec)
■ year — Current year. (Range: 2000-2097)
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.