168
Command Reference for IE200 Series Industrial Managed PoE+ Switches
C613-50066-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
S
YSTEM
C
ONFIGURATION
AND
M
ONITORING
C
OMMANDS
CLOCK
SET
clock set
Overview
This command sets the time and date for the system clock.
Syntax
clock set
<hh:mm:ss> <day> <month> <year
>
Mode
Privileged Exec
Usage
Configure the timezone before setting the local time. Otherwise, when you change
the timezone, the device applies the new offset to the local time.
NOTE
:
If Network Time Protocol (NTP) is enabled, then you cannot change the time or
date using this command. NTP maintains the clock automatically using an external
time source. If you wish to manually alter the time or date, you must first disable NTP.
Example
To set the time and date on your system to 2pm on the 2nd of April 2007, use the
command:
awplus#
clock set 14:00:00 2 apr 2007
Related
Commands
clock timezone
Parameter
Description
<hh:mm:ss>
Local time in 24-hour format
<day>
Day of the current month <1-31>
<month>
The first three letters of the current month.
<year>
Current year <2000-2035>