Specifications

Table Of Contents
2-63
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
clock set
clock set
Manually sets the system clock.
clock set hh:mm:ss day month year
Syntax Description
Command Default This command has no default settings.
Command Modes Privileged EXEC
Command History This table includes the following release-specific history entries:
Usage Guidelines Always coordinate between the calendar and clock by using the clock update-calendar command after
setting the clock.
Authorization: admin
Examples The following example sets the clock to 20 minutes past 10 PM, January 13, 2006.
SCE>enable 10
Password:<cisco>
SCE#clock set 22:20:00 13 jan 2006
SCE#clock update-calendar
SCE#show clock
22:21:10 UTC THU January 13 2006
SCE#show calendar
22:21:18 UTC THU January 13 2006
SCE#
Related Commands
hh:mm:ss Current local time in hours in 24-hour format, minutes and seconds
(HH:MM:SS).
day Current day (date) in the month.
month Current month (by three-letter abbreviated name).
year Current year using a 4-digit number.
Release Modification
2.5.7 This command was introduced.
Command Description
clock update-calendar Synchronizes clocks by setting the calendar from the system clock.
show calendar Displays the time maintained by the real-time system calendar clock.
show clock Displays the time maintained by the system clock.