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 17). 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 17 System time configuration results

Command

Effective system time

Configuration example System time

1

2

1, 2

2, 1

3

date-time

clock datetime 1:00

01:00:00 UTC Mon

 

2007/1/1

01/01/2007.

Original system time ±

clock timezone

02:00:00 zone-time Sat

zone-offset

zone-time add 1

01/01/2005.

 

clock datetime 2:00

 

date-time ± zone-offset

2007/2/2

03:00:00 zone-time Fri

clock timezone

02/02/2007.

 

 

zone-time add 1

 

 

clock timezone

 

date-time

zone-time add 1

03:00:00 zone-time Sat

clock datetime 3:00

03/03/2007.

 

 

2007/3/3

 

The original system time

 

 

outside the daylight

 

 

saving time range:

clock summer-time ss

01:00:00 UTC Sat

The system time does not

one-off 1:00

2006/1/1 1:00

01/01/2005.

change until it falls into

2006/8/8 2

 

the daylight saving time

 

 

range.

 

 

 

 

 

 

 

03:00:00 ss Sat

 

 

01/01/2005.

 

 

If the original system time

The original system time

 

plus summer-offset is

in the daylight saving time

clock summer-time ss

beyond the daylight saving

range:

one-off 00:30

time range, the original

The system time increases

2005/1/1 1:00

system time does not

2005/8/8 2

change. After you disable

by summer-offset.

 

the daylight saving setting,

 

 

 

 

the system time

 

 

automatically decreases by

 

 

summer-offset.

91