The Abilis CPX SNTP resource can work as:
SNTP clientIt loads time data from a remote SNTP server and sets the Abilis internal clock accordingly.
SNTP serverIt provides the time data to other SNTP clients.
If the Client process isn't active, the server process operates as a primary reference source of synchronisation; if the client process is active, the server process operates as a secondary reference source of synchronisation.
Add the resource to the Abilis system with the following command:
[09:58:31] ABILIS_CPX:a res:sntpRES:SNTP ALREADY EXISTS
The SNTP resource may already exist in the system, but may not yet be active: set it active with the command:
[09:58:35] ABILIS_CPX:s act res:sntpCOMMAND EXECUTED
![]() | Caution |
|---|---|
After adding or setting the SNTP active, you must restart the Abilis to make the resource running (use the command warm start to reboot the Abilis). |
The following command displays the parameters of the resource; the d p sntp ? command shows the meaning of parameters.
[09:58:41] ABILIS_CPX:d p sntpRES:Sntp ---------------------------------------------------------------------- Run DESCR:Simple_Network_Time_Protocol LOG:NO - Client --------------------------------------------------------------- CLI-ACT:YES udp-remport:123 HOST-1:# HOST-2:# HOST-3:# HOST-4:# SRCADD:R-ID (192.168.000.201) POLLP:60 NRTY:3 TBW:30 TBD:30 - Server --------------------------------------------------------------- SRV-ACT:NO udp-locport:123 IPSRC:* IPSRCLIST:#
Meaning of the most important parameters:
LOGLogging functionalities activation/deactivation.
CLI-ACTClient activation [NO, YES].
udpportRemote UDP port for the client [123]. Read Only.
HOST-xSets the IP address of the SNTP Server host number x to which the Client process of the Abilis will send its synchronisation requests [#, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
SRCADDSource IP address for client requests [R-ID, OUT-IP, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
POLLPClient synchronisation polling period [1..65535 min.]. Sets the time interval (in minutes) after which to start the synchronisation procedure of the SNTP Client of Abilis.
NRTYClient synchronisation retries number [0..255]. Sets the maximum number of repetitions for each synchronisation attempt.
TBWClient time to wait before retry [1..65535 sec.]. Sets the time interval (in seconds) after which the request sent by the SNTP Client of the Abilis will be considered failed, if no answer from the SNTP Server is received.
TBDClient retry delay [1..65535 sec.]. Sets the time interval (in seconds) between a failed synchronisation request and its successive one.
SRV-ACTServer activation [NO, YES].
udpportLocal UDP port for the server [1..65535].
IPSRCIncoming requests: accepted source IP address [*, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
IPSRCLISTIncoming requests: list of further accepted source IP addresses [#, IP/IR/RU/MR listname].
The command which allows the configuration of the resource to be modified has the following syntax:
s p sntp par:val...
![]() | Caution |
|---|---|
To activate the changes made on the upper case parameters, execute the initialization command init res:sntp; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command). |