31.3. SNTP diagnostics and statistics

31.3.1. SNTP diagnostics

The following commands are used to display the diagnostics of the SNTP resource:

d d sntp / d de sntp

It shows the status of the client and server, the IP address of the SNTP server and the date and time of the last synchronization.

[11:42:10] ABILIS_CPX:d d sntp

RES:Sntp ----------------------------------------------------------------------
       Simple_Network_Time_Protocol                                            
       ------------------------------------------------------------------------
       Server-STATE:INACTIVE
       Client-STATE:READY
       ------------------------------------------------------------------------
       Clock Reference           : External
       Clock Reference state     : Working
       Clock last synchronized   : 05/06/2015 at 13:10:12 Delta:0 sec.
                                   Host-IP:193.204.114.233
       - Hosts diagnostics ----------------------------------------------------
       HOST    RemAdd-RemPort            State         Last try
       ----+---------------------+--------------------+------------------------
       1    193.204.114.105-123   Working              05/06/2015 at 13:11:09
       2    193.204.114.233-123   Working used         05/06/2015 at 13:10:12

31.3.2. SNTP statistics

The following command are used to display the statistics of the SNTP resource:

d s sntp / d se sntp

It shows the statistic information, such as the number of packets sent/received by the SNTP Server/Client, the number of invalid packets received by the SNTP Server/Client, the number of packets received by the SNTP Server from a disabled SNTP Client, the number of packets received with a IP address not valid, the number of successful synchronizations or number of failed synchronizations.

[11:42:10] ABILIS_CPX:d s sntp

RES:Sntp ----------------------------------------------------------------------
       Simple_Network_Time_Protocol                                            
       --- Cleared 0 days 00:47:31 ago, on 05/06/2015 at 13:10:06 -------------
       Server:
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SER-PCK    |          0|          0|SER-BADPCK |          0|           |
       SER-BADSRC |          0|           |
       ------------------------------------------------------------------------
       Client:
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CLI-PCK    |          2|         11|CLI-BADPCK |          0|           |
       CLI-BADSRC |          0|           |CLI-TOUT   |          9|           |
       SUCC-SYNC  |          2|           |FAIL-SYNC  |          2|           |
       ------------------------------------------------------------------------