38.2. Examples of SNTP configuration

38.2.1. SNTP client configuration

Configure the SNTP resource to take the synchronisation form the NTP host 129.132.2.21.

[11:05:38] ABILIS_CPX:s p sntp cliact:yes host-1:129.132.2.21 pollp:1440

COMMAND EXECUTED

[11:06:17] ABILIS_CPX:d p sntp

RES:Sntp - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------
       ------------------------------------------------------------------------
Run    DESCR:Simple_Network_Time_Protocol
       LOG:NO
       - Client ---------------------------------------------------------------
       CLI-ACT:YES                    udp-remport:123
       HOST-1:129.132.002.021         HOST-2:#
       HOST-3:#                       HOST-4:#
       SRCADD:R-ID (192.168.000.201)
       POLLP:1440      NRTY:3         TBW:30        TBD:30
       - Server ---------------------------------------------------------------
       SRV-ACT:NO                     udp-locport:123
       IPSRC:*                        IPSRCLIST:#

With this configuration, Abilis will send a synchronisation request every 1440 minutes (POLLP parameter) to the host 129.132.2.21.

38.2.2. SNTP server configuration

Configure the SNTP resource as Server. Only the IP addresses of the LAN 192.168.1.0/24 will be enabled for the service (list: sntp_allowed).

[11:42:10] ABILIS_CPX:s p sntp servact:yes ipsrc:192.168.0.100 ipsrclist:sntp_allowed

COMMAND EXECUTED

[11:42:18] ABILIS_CPX:d p sntp

RES:Sntp - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------
       ------------------------------------------------------------------------
Run    DESCR:Simple_Network_Time_Protocol
       LOG:NO
       - Client ---------------------------------------------------------------
       CLI-ACT:YES                    udp-remport:123
       HOST-1:129.132.002.021         HOST-2:#
       HOST-3:#                       HOST-4:#
       SRCADD:R-ID (192.168.001.001)
       POLLP:1440                NRTY:3       TBW:30     TBD:30
       - Server ---------------------------------------------------------------
       SRV-ACT:NO                     udp-locport:123
       IPSRC:192.168.000.100     IPSRCLIST:SNTP_Allowed

With this configuration, Abilis works as Server and Client simultaneously.