HP 4800G Series Configuration Manual page 1686

24/48 port
Table of Contents

Advertisement

To do...
Enter system view
Set the time zone
Set a daylight saving
time scheme
Displaying the system clock
The system clock is decided 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 clock. If you combine these three commands in different ways, the system clock is
displayed in the ways shown in
are as follows:
1 indicates date-time has been configured with the clock datetime.
2 indicates time-zone has been configured with the clock timezone command and the offset time
is zone-offset.
3 indicates daylight saving time has been configured with the clock summer-time command and
the offset time is summer-offset.
[1] indicates the clock datetime command is an optional configuration.
The default system clock is 2005/1/1 1:00:00 in the example.
Table 1-1 Relationship between the configuration and display of the system clock
Configuration
1
date-time
The original system clock ±
2
zone-offset
1 and 2
date-time ± zone-offset
[1], 2 and 1
date-time
If the original system clock is not in
the daylight saving time range, the
original system clock is displayed.
3
If the original system clock is in the
daylight saving time range, the
original system clock +
summer-offset is displayed.
Use the command...
system-view
clock timezone zone-name { add | minus }
zone-offset
clock summer-time zone-name one-off
start-time start-date end-time end-date add-time
clock summer-time zone-name repeating
start-time start-date end-time end-date add-time
Table
1-1. The meanings of the parameters in the configuration column
System clock displayed by the
display clock command
Configure: clock datetime 1:00 2007/1/1
Display: 01:00:00 UTC Mon 01/01/2007
Configure: clock timezone zone-time add
1
Display: 02:00:00 zone-time Sat
01/01/2005
Configure: clock datetime 2:00 2007/2/2
and clock timezone zone-time add 1
Display: 03:00:00 zone-time Fri
02/02/2007
Configure: clock timezone zone-time add
1 and clock datetime 3:00 2007/3/3
Display: 03:00:00 zone-time Sat
03/03/2007
Configure: clock summer-time ss one-off
1:00 2006/1/1 1:00 2006/8/8 2
Display: 01:00:00 UTC Sat 01/01/2005
Configure: clock summer-time ss one-off
00:30 2005/1/1 1:00 2005/8/8 2
Display: 03:00:00 ss Sat 01/01/2005
1-3
Remarks
Optional
Optional
Use either command
Example

Advertisement

Chapters

Table of Contents
loading

Table of Contents