158
Ste
Command
Remarks
Adopt daylight saving
time repeatedly.
clock summer-time
zone-name repeating
start-time start-date
end-time end-date
add-time
Displaying the system clock
The system clock is determined by clock datetime, clock timezone and clock summer-time. If these three
commands are not configured, display clock displays the original system clock. If you combine these three
commands in different ways, the system clock is displayed in the ways as shown in Table 2. T
he following
de
scribes the meanings of the parameters in the configuration column:
• 1 indicates date-time has been configured with clock datetime.
• 2 indicates time-zone has been configured with clock timezone and the offset time is zone-offset.
• 3 indicates daylight saving time has been configured with clock summer-time and the offset time is
summer-offset.
• [1] indicates clock datetime is an optional configuration.
• The default system clock is 2005/1/1 1:00:00 in the example.
Table 2 System clock configuration
Confi
uration S
stem clock confi
ured
Exam
le
1 date-time
Configure: clock datetime 1:00
2007/1/1
System clock configured: 01:00:00
UTC Mon 01/01/2007
2 The original system clock ± “zone-offset”
Configure: clock timezone zone-time
add 1
System clock configured:: 02:00:00
zone-time Sat 01/01/2005
1 and 2 date-time ± zone-offset
Configure: clock datetime 2:00
2007/2/2 and clock timezone
zone-time add 1
System clock configured:: 03:00:00
zone-time Fri 02/02/2007
[1], 2 and 1 date-time
Configure: clock timezone zone-time
add 1 and clock datetime 3:00
2007/3/3
System clock configured:: 03:00:00
zone-time Sat 03/03/2007
3
If the original system clock is not in the daylight
saving time range, the system clock configured is
the original system clock.
Configure: clock summer-time ss one-off
1:00 2006/1/1 1:00 2006/8/8 2
System clock configured:: 01:00:00
UTC Sat 01/01/2005