Modifying the maximum adjustment value, Forcing time synchronization, Maximum time adjustment – D-Link DFL-2500 User Manual

Page 85: Synchronization intervals

Advertising
background image

CLI

gw-world:/> time -sync
Attempting to synchronize system time...

Server time: 2007-02-27 12:21:52 (UTC+00:00)
Local time:

2007-02-27 12:24:30 (UTC+00:00) (diff: 158)

Local time successfully changed to server time.

Maximum Time Adjustment

To avoid situations where a faulty Time Server causes the clock to be updated with a extremely
inaccurate time, a Maximum Adjustment value (in seconds) can be set. If the difference between the
current NetDefendOS time and the time received from a Time Server is greater than this Maximum
Adjustment value, then the Time Server response will be discarded. For example, assume that the
maximum adjustment value is set to 60 seconds and the current NetDefendOS time is 16:42:35. If a
Time Server responds with a time of 16:43:38 then the difference is 63 seconds. This is greater than
the Maximum Adjustment value so no update occurs for this response.

Example 3.25. Modifying the Maximum Adjustment Value

CLI

gw-world:/> set DateTime TimeSyncMaxAdjust=40000

Web Interface

1.

Go to System > Date and Time

2.

For the setting Maximum time drift that a server is allowed to adjust, enter the maximum time drift in
seconds that a server is allowed to adjust for

3.

Click OK

Sometimes it might be necessary to override the maximum adjustment, for instance, if time
synchronization has just been enabled and the inital time difference is greater than the maximum
adjust value. It is then possible to manually force a synchronization and disregard the maximum
adjustment parameter.

Example 3.26. Forcing Time Synchronization

This example demonstrates how to force time synchronization, overiding the maximum adjustment setting.

CLI

gw-world:/> time -sync -force

Synchronization Intervals

The interval between each synchronization attempt can be adjusted if needed. By default, this value
is 86,400 seconds (1 day), meaning that the time synchronization process is executed once in a 24
hour period.

3.8.2. Time Servers

Chapter 3. Fundamentals

85

Advertising