User guide
Appendix A
Privileged Exec Mode Commands
SCE 1000 2xGBE Release 2.0.10 User Guide
A-66 OL-7117-02
clock read-calendar
Synchronizes clocks by setting the system clock from the calendar.
Authorization admin
Mode Privileged EXEC
E
XAMPLE:
The following example updates the system clock from the calendar.
SCE 1000#clock read-calendar
SCE 1000#
clock set hh:mm:ss day month year
Manually sets the system clock.
Authorization admin
Mode Privileged EXEC
P
ARAMETERS
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.
U
SAGE GUIDELINES
• Always coordinate between the calendar and clock by using the clock update-
calendar command after setting the clock.
E
XAMPLE:
The following example sets the clock to 20 minutes past 10 PM, October 13, 2001.
SCE 1000#clock set 22:20:00 13 oct 2001
SCE 1000#clock update-calendar
SCE 1000#show clock
22:21:10 UTC THU October 13 2001
SCE 1000#show calendar
22:21:18 UTC THU October 13 2001
SCE 1000#
clock update-calendar
Synchronizes clocks by setting the calendar from the system clock.
Authorization admin
Mode Privileged EXEC
E
XAMPLE:
The following example updates the calendar according to the clock.
SCE 1000#clock update-calendar
SCE 1000#