Clock set – Allied Telesis AT-DC2552XS User Manual
Page 93

AT-DC2552SX Switch Command Line Interface User’s Guide
93
CLOCK SET
Syntax
clock set
hh:mm:ss
dd mmm yyyy
Parameters
hh:mm:ss
Specifies the hour, minute, and second for the switch’s time in a
24-hour format. Each value can be in one or two digits. For
example, 11:08 PM can be entered either 23:08:00 or 23:8:0.
dd
Specifies the day of the month. The day can be in one or two digits.
For example, the fourth day of the month can be entered either 4 or
04.
mmm
Specifies the month. The month must be specified by its first three
letters. This value is not case-sensitive. For example, July is jul and
November is nov.
yyyy
Specifies the year. The year must be specified in four digits, for
example, 2012 and 2013.
Mode
Privileged Exec mode
Confirmation Command
Description
Use this command to manually set the date and time on the switch. The
command must include both the date and the time.
The date and time are set directly in the real-time clock embedded in the
switch so that you do not need to save the clock setting using the WRITE
or COPY commands. The date and time setting is retained when the
switch is reset or powered off.
When the NTP client on the switch is enabled, the NTP server overwrites
the date and time set by the CLOCK SET command and you cannot issue
the CLOCK SET command on the command line.