Enabling time synchronization using sntp – Amer Networks E5Web GUI User Manual
Page 232

Internet. The server sends back the time in seconds since midnight on January 1st, 1900.
Configuring Time Servers
Up to three time servers can be configured to query for time information. By using more than a
single server, situations where an unreachable server causes the time synchronization process to
fail can be prevented. cOS Core always queries all configured time servers and then computes an
average time based on all responses. Internet search engines can be used to find publicly
available time servers.
Important: DNS servers need to be configured in cOS Core
Make sure at least one external DNS server is correctly configured in cOS Core so that
time server URLs can be resolved (see Section 3.10, “DNS”). This is not needed if using IP
addresses for the servers.
Example 3.37. Enabling Time Synchronization using SNTP
In this example, time synchronization is set up to use the SNTP protocol to communicate with
the time servers at the Swedish National Laboratory for Time and Frequency. The time server URLs
are ntp1.sp.se and ntp2.sp.se.
Command-Line Interface
Device:/> set DateTime TimeSynchronization=custom
TimeSyncServer1=dns:ntp1.sp.se
TimeSyncServer2=dns:ntp2.sp.se
TimeSyncInterval=86400
InControl
Follow the same steps used for the Web Interface below.
Web Interface
1.
Go to: System > Device > Date and Time
2.
Check the Enable time synchronization
3.
Now enter:
•
Time Server Type: SNTP
•
Primary Time Server: dns:ntp1.sp.se
•
Secondary Time Server: dns:ntp2.sp.se
4.
Click OK
The time server URLs must have the prefix dns: to specify that they should be resolved with a
DNS server. cOS Core must therefore also have a DNS server defined so this resolution can be
performed.
Chapter 3: Fundamentals
232