Configuring and displaying the system time, Configuring the system time, Displaying the system time – H3C Technologies H3C SecBlade NetStream Cards User Manual
Page 189

174
Configuring and displaying the system time
Configuring the system time
The system time is determined by the configured relative time, time zone, and daylight saving time. To
view the system time, use the display clock command.
Follow these steps to configure the system time:
To do…
Use the command…
Remarks
Set the 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
Adopt daylight saving time
from the start-time on the
start-date to the end-time on
the end-date in this year.
Daylight saving time is the
standard time plus the
add-time.
clock summer-time zone-name
one-off start-time start-date
end-time end-date add-time
Optional
Use either command
By default, daylight saving
time is not configured on the
device, and the UTC time
zone is applied.
Adopt daylight saving time
every year
clock summer-time zone-name
repeating start-time start-date
end-time end-date add-time
Displaying the system time
The system time is determined by the commands clock datetime, clock timezone and clock summer-time.
If these three commands are not configured, the display clock command displays the original system time.
If you combine these three commands in different ways, the system time is displayed in the ways as
shown in
. The numbers in the configuration column are described below:
•
1 indicates that the date-time has been configured with the clock datetime command.
•
2 indicates that the time-zone has been configured with the clock timezone command and the offset
time is zone-offset.
•
3 indicates that the daylight saving time has been configured with the clock summer-time
command and the offset time is summer-offset.
•
[1] indicates that the clock datetime command is optional.
•
The default system time is 2005/1/1 1:00:00 in the example.
Table 13 System time configuration
Configuration System time configured
Example
1
date-time
Configure: clock datetime 1:00 2007/1/1
System time configured: 01:00:00 UTC Mon
01/01/2007