NTP PROTOCOL
NTP PROTOCOL CONFIGURATION
Using the NTP protocol it is possible to set and maintain the system clock in synchrony with the
configured time servers. The NTP protocol on Imola supports Simple Network Time Protocol version
4 (RFC 2030) and Network Time Protocol version 3 (RFC 1305).
In order to configure IP addresses of the NTP servers which will be used to align the system date,
the following command is used:
set ntp <server-IP>
In order to configure the NTP service the following command is used:
set ntp on
In order to specify the IP address with which messages must be sent to the remote server, the
command is:
set ntp source <local-ip>
In order to use the loopback address:
set ntp source loopback
To specify the NTP frequency request to the server:
set ntp interval N
Using the command:
set ntp listen-on <local-ip>
it becomes a NTP server for the specified subnet and distribute to the client the clock received from
the server. For example:
set ntp listen-on 10.10.113.1
the router becomes a NTP server and receives the clients‟ requests on the specified address while
using the command:
set ntp listen-on 0.0.0.0
the router answer to the NTP requests received by every local address.
In order to disable the NTP service the following command is used:
set ntp off
It is possibile to configure the router so that it will act as a NTP server.
Some further commands are also available for the service.
In order to force alignment of system date with the NTP server, the following command is used:
rdate –s <IP>
In order to display system date of NTP server, the following command is used:
rdate -p <IP>