Displaying The System Clock - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

Follow these steps to configure the system clock:
To do...
Set time and date
Enter system view
Set the time zone
Set a
daylight
saving
time
scheme

Displaying the system clock

The system clock 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
clock. If you combine these three commands in different ways, the system clock is displayed in the ways
as shown in 0. The following describes the meanings of the parameters in the configuration column:
1 indicates date-time has been configured with the clock datetime command.
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 12 System clock configuration
Configuration
1
2
Use the command...
clock datetime time date
system-view
clock timezone zone-name { add |
minus } zone-offset
Adopt daylight
saving time from the
start-time on the
start-date to the
clock summer-time zone-name
end-time on the
one-off start-time start-date
end-date. Daylight
end-time end-date add-time
saving time adds the
add-time to the
standard time of the
device.
Adopt daylight
clock summer-time zone-name
saving time
repeating start-time start-date
repeatedly
end-time end-date add-time
System clock configured
date-time
The original system clock ±
"zone-offset"
Example
Configure: clock datetime 1:00
2007/1/1
System clock configured: 01:00:00 UTC
Mon 01/01/2007
Configure: clock timezone zone-time
add 1
System clock configured:: 02:00:00
zone-time Sat 01/01/2005
135
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
not configured on the device, and
the UTC time zone is applied.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents