Clock Commands
107
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\Clock.fm
D E L L CO N F I D E N T I A L – P R E L I MI N A RY 5/ 1 5 /1 2 - F O R PR O O F O N LY
5
Clock Commands
clock set
The
clock set
Privileged EXEC mode command manually sets the system
clock.
Syntax
clock set
hh
:
mm
:
ss
{[
day
month
] | [
month
day
]}
year
Parameters
•
hh:mm:ss
—Specifies the current time in hours (military format), minutes,
and seconds. (Range: hh: 0-23, mm: 0-59, ss: 0-59)
•
day
—Specifies the current day of the month. (Range: 1-31)
•
month
—Specifies the current month using the first three letters of the
month name. (Range: Jan–Dec)
•
year
—Specifies the current year. (Range: 2000–2037)
Command Mode
Privileged EXEC mode
User Guidelines
The user should enter the local clock time and date.
Example
The following example sets the system time to 13:32:00 on March 7th, 2005.
Console#
clock set
13:32:00 7 Mar 2005