R3721-F3210-F3171-HP High-End Firewalls Getting Started Guide-6PW101

69
Figure 48 Configuring Device A as the NTP server of Device B
Verifying the configuration
After the configuration, you can see that the current system time displayed on the System Time page is the
same for Device A and Device B.
Configuring the system time at the CLI
You must synchronize your device with a trusted time source by using NTP or manually configuring a
correct system time before you run it on the network. Network management depends on an accurate
system time setting, because the timestamps of system messages and logs use the system time.
In a small-sized network, you can manually set the system time of each device.
Configuration guidelines
You can change the system time by configuring the relative time, time zone, and daylight saving time. The
configuration result depends on their configuration order (see Table 13)
. In the first column of this table,
1 represents the clock datetime command, 2 represents the clock timezone command, and 3 represents
the clock summer-time command. To verify the system time setting, use the display clock command. This
table assumes that the original system time is 2005/1/1 1:00:00.
Table 13 System time configuration results
Command Effective s
y
stem time
Confi
g
uration exam
p
le
S
y
stem time
1 date-time
clock datetime 1:00
2007/1/1
01:00:00 UTC Mon
01/01/2007
2
Original system time ±
zone-offset
clock timezone
zone-time add 1
02:00:00 zone-time Sat
01/01/2005
1, 2 date-time ± zone-offset
clock datetime 2:00
2007/2/2
clock timezone
zone-time add 1
03:00:00 zone-time Fri
02/02/2007