29.3. SNTP diagnostics and statistics

29.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
       Local Clock Synchronized: External Clock Reference 129.132.002.021
       Clock last synchronized on 29/12/2007 at 18:40:58 Delta:1 sec.
       Server-STATE:INACTIVE
       Client-STATE:READY

29.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 05:05:19 ago, on 29/12/2007 at 13:39:56 -------------
       Server:
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       SER-PCK    |          0|          0|SER-BADPCK |          0|           |
       SER-BADSRC |          0|           |
       ------------------------------------------------------------------------
       Client:
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CLI-PCK    |          6|          7|CLI-BADPCK |          0|           |
       CLI-BADSRC |          0|           |CLI-TOUT   |          1|           |
       SUCC-SYNC  |          6|           |FAIL-SYNC  |          0|           |
       ------------------------------------------------------------------------