F3215-HP Load Balancing Module System Management Command Reference-6PW101

49
Device management commands
clock datetime
Use clock datetime to set the system time and date.
Syntax
clock datetime time date
Views
User view
Default command level
3: Manage level
Parameters
time: Specifies a time, in the hh:mm:ss format. The hh value ranges from 00 to 23, the mm value ranges
from 00 to 59, and the ss value ranges from 00 to 59. Zeros can be omitted, unless you specify
00:00:00.
date: Specifies a date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value ranges from
2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31.
Usage guidelines
You can leave the ss field blank when you specify the time parameters.
Examples
# Set the current system time to 14:10:20 08/01/2012.
<Sysname> clock datetime 14:10:20 8/1/2012
# Set the current system time to 00:06:00 01/01/2012.
<Sysname> clock datetime 0:6 2012/1/1
Related commands
clock summer-time one-off
clock summer-time repeating
clock timezone
display clock
clock summer-time one-off
Use clock summer-time one-off to adopt daylight saving time from the start-time of the start-date to the
end-time of the end-date. Daylight saving time adds the add-time to the standard time of the device.
Use undo clock summer-time to cancel the configuration of the daylight saving time.
Syntax
clock summer-time zone-name one-off start-time start-date end-time end-date add-time
undo clock summer-time