36.2. TFTP diagnostic and statistics

36.2.1. TFTP diagnostic

The following command is used to display the diagnostics of the TFTP resource:

d d tftp

It shows the state of the resource (STATE), the number of currently used TFTP sessions (CUR-SESS), the peak of used TFTP sessions (PEAK-SESS), the number of maximum TFTP sessions (MAX-SESS). The command shows also the sessions and the clients IP addresses.

[11:37:57] ABILIS_CPX:d d tftp

RES:Tftp ----------------------------------------------------------------------
       Trivial_File_Transfer_protocol
       STATE:ACTIVE
       CUR-SESS:0      PEAK-SESS:0      MAX-SESS:10
       ------------------------------------------------------------------------
       SES  RemAdd-RemPort
       ------------------------------------------------------------------------
       0    000.000.000.000-0
       1    000.000.000.000-0
       2    000.000.000.000-0
       3    000.000.000.000-0
       4    000.000.000.000-0
       5    000.000.000.000-0
       6    000.000.000.000-0
       7    000.000.000.000-0
       8    000.000.000.000-0
       9    000.000.000.000-0

36.2.2. TFTP statistics

The following commands are used to display the statistics of the TFTP resource:

d s tftp

It shows the statistics of the TFTP resource, such as the total number of incoming/outgoing characters from UDP (CHR), the total number of incoming/outgoing packets from UDP (FRM), the total number of lost incoming packets with too long length (LONG), the total number of lost incoming packets: buffer is full (LOST), the total number of lost incoming packets with bad format (BAD-FMT), the total number of lost incoming packets with source IP addreess which not allowed (BAD-SRC), the total number of received packet with error opcode (ERRORS), the total number of timeouts (TOUT), the total number of retransmissions (RETRANS).

d se tftp

It shows the TFTP resource statitics shown by the previous command sorted by session.

[11:46:13] ABILIS_CPX:d s tftp

RES:Tftp ----------------------------------------------------------------------
       Trivial_File_Transfer_protocol                                          
       --- Cleared 0 days 00:51:58 ago, on 05/06/2015 at 14:03:54 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       LONG       |          0|          0|LOST       |          0|          0|
       BAD-FMT    |          0|          0|BAD-SRC    |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
[11:48:03] ABILIS_CPX:d se tftp

RES:Tftp ----------------------------------------------------------------------
       Trivial_File_Transfer_protocol                                          
       --- Cleared 0 days 00:52:19 ago, on 05/06/2015 at 14:03:55 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       LONG       |          0|          0|LOST       |          0|          0|
       BAD-FMT    |          0|          0|BAD-SRC    |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:1
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:2
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:3
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:4
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:5
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:6
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:7
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:8
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------
       SES:9
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |          0|          0|FRM        |          0|          0|
       ERRORS     |          0|           |TOUT       |          0|           |
       RETRANS    |           |          0|
       ------------------------------------------------------------------------