R3166-R3206-HP High-End Firewalls Getting Started Guide-6PW101

96
After the above configuration, you can see that the current system time displayed on the System Time
page is the same for Device A and Device B.
Configuration guidelines
A device can act as a server to synchronize the clock of other devices only after its clock has been
synchronized. If the clock of a server has a stratum level higher than or equal to that of a client’s
clock, the client will not synchronize its clock to the server’s.
The synchronization process takes a period of time. Therefore, the clock status may be
unsynchronized after your configuration. In this case, you can refresh the page to view the clock
status later on.
Configuring the system time in the CLI
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
System time configuration examples
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 Table 7. T
he 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.