Verifying the configuration, Configuring the system time at the cli, Configuration guidelines – H3C Technologies H3C SecPath F1000-E User Manual

Page 78

Advertising
background image

70

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

system time

Configuration example System 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

2, 1

date-time

clock timezone
zone-time add 1
clock datetime 3:00

2007/3/3

03:00:00 zone-time Sat
03/03/2007

3

The original system time
outside the daylight

saving time range:
The system time does not
change until it falls into

the daylight saving time

range.

clock summer-time ss

one-off 1:00

2006/1/1 1:00
2006/8/8 2

01:00:00 UTC Sat
01/01/2005

Advertising