150
Command
Effective system time
Configuration example System time
date-time
in the daylight
saving time range, but
date-time – summer-offset
outside the summer-time
range:
date-time – summer-offset
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
23:30:00 zone-time Mon
12/31/2007
Both
date-time
and
date-time – summer-offset
in the daylight saving time
range:
date-time
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
03:00:00 ss Tue
01/01/2008
Configuration procedure
Follow these steps to change the system time:
To do…
Use the command…
Remarks
Set the system time and date
clock datetime
time date
Optional
Available in user view.
Enter system view
system-view
—
Set the time zone
clock timezone
zone-name
{
add
|
minus
}
zone-offset
Optional
Universal time coordinated (UTC)
time zone by default.
Set a daylight saving time scheme
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
Optional
Use either command
By default, daylight saving time is
disabled, and the UTC time zone
applies.
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: