8
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
124
Clock Commands
clock set
To manually set the system clock, use the clock set Privileged EXEC mode
command.
Syntax
clock set
HH:MM:SS
month day
year
Parameters
•
HH:MM:SS
—The current time in hours (military format), minutes, and
seconds. (Range: HH: 0 to 23, MM: 0 to 59, SS: 0 to 59)
•
month
—The current month using the first three letters of the month name.
(Range: jan–dec)
•
day
—The current day of the month. (Range: 1 to 31)
•
year
—The current year. (Range: 2000 to 2037)
Command Mode
Privileged EXEC mode
Example
The following example sets the system time to 13:32:00 on August 7, 2014:
switchxxxxxx#
clock set 13:32:00 aug 7 2014
13:32:00 DFL(UTC+8) Aug 07 2014