Command
Configuration procedure
Follow these steps to change the system time:
To do...
Set the system time and date
Enter system view
Set the time zone
Set a daylight saving time scheme
Enabling displaying the copyright statement
The device by default displays the copyright statement when a Telnet or SSH user logs in, or when a
console user quits user view. You can disable or enable the function as needed. The following is a sample
copyright statement:
******************************************************************************
* Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
Follow these steps to enable displaying the copyright statement:
Effective system time
date-time in the daylight
saving time range, but
date-time – summer-offset
outside the summer-time
range:
date-time – summer-offset
Both date-time and
date-time – summer-offset
in the daylight saving time
range:
date-time
Use the command...
clock datetime time date
system-view
clock timezone zone-name { add |
minus } zone-offset
Set a non-recurring scheme:
clock summer-time zone-name
one-off start-time start-date
end-time end-date add-time
Set a recurring scheme:
clock summer-time zone-name
repeating start-time start-date
end-time end-date add-time
150
Configuration example
clock
timezone
zone-time add 1
clock summer-time ss
one-off
1:00
2008/1/1
1:00
2008/8/8 2
clock datetime 1:30
2008/1/1
clock
timezone
zone-time add 1
clock summer-time ss
one-off
1:00
2008/1/1
1:00
2008/8/8 2
clock datetime 3:00
2008/1/1
Remarks
Optional
Available in user view.
—
Optional
Universal time coordinated (UTC)
time zone by default.
Optional
Use either command
By default, daylight saving time is
disabled, and the UTC time zone
applies.
System time
23:30:00 zone-time Mon
12/31/2007
03:00:00 ss Tue
01/01/2008
*
*
*