49.4. AIPT2 diagnostics, statistics, logs and debug

49.4.1. AIPT2 diagnostics

This command reports the current situation of the AIPT2 resource:

[09:03:51] ABILIS_CPX:_d d ip-11

RES:Ip-11 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       To_Abilis_2                                                              
       STATE:UP              LINK-STATE:LINKREADY      
       CUR-IPADD:000.000.000.000    CUR-MASK:255.255.255.000  CAT:AUTO (VPN)
       OUTBUF:250   S-OUTBUF:1250   CUR-OUTSP:N/A      OUTSP-TOUT:N/A   
       INBUF:0      S-INBUF:0       CUR-INSP:N/A       INSP-TOUT:N/A   
       - IP Tunnel ------------------------------------------------------------
       ROLE:SERVER    TUNNEL:SOME-UP          LOCPORT:4027   CR:YES  COMP:NO
       REDMODE:AUTO                REDCOPY:0               CIPHER:AES256-CTR-HW
       FEC-IN:NO                   FEC-OUT:NO
       - IP Tunnel Paths ------------------------------------------------------
       x OS  ST  MP  OUTSP   OUT    LOCIP                 REMIP                 SPL-OVH
                            [GW]
       -+---+---+---+-------+------+---------------------+---------------------+-------
       1 UP  UP      300000  AUTO   080.080.080.001       088.088.088.088:4011 RAW-IP,ETH
       2 UP  UP      25000   AUTO   080.080.080.001       088.088.088.100:4011 RAW-IP,ETH
       3 UP  dn      5000    AUTO   -                     -

[09:03:58] ABILIS_CPX:_d de ip-11

RES:Ip-11 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       To_Abilis_2                                                             
       STATE:UP              LINK-STATE:LINKREADY      
       CUR-IPADD:000.000.000.000    CUR-MASK:255.255.255.000  CAT:AUTO (VPN)
       OUTBUF:250   S-OUTBUF:1250   CUR-OUTSP:N/A      OUTSP-TOUT:N/A   
       INBUF:0      S-INBUF:0       CUR-INSP:N/A       INSP-TOUT:N/A   
       - IP Tunnel ------------------------------------------------------------
       ROLE:SERVER    TUNNEL:SOME-UP          LOCPORT:4027   CR:YES  COMP:NO
       REDMODE:AUTO                REDCOPY:0               CIPHER:AES256-CTR-HW
       FEC-IN:NO                   FEC-OUT:NO
       - IP Tunnel Paths ------------------------------------------------------
       x OS  ST  MP  OUTSP   OUT    LOCIP                 REMIP                 SPL-OVH
                            [GW]
       -+---+---+---+-------+------+---------------------+---------------------+-------
       1 UP  UP      300000  Ip-2   080.080.080.001       088.088.088.088:4011  RAW-IP,ETH
       2 UP  UP      25000   Ip-2   080.080.080.001       088.088.088.100:4011  RAW-IP,ETH
       3 UP  dn      5000    AUTO   -                     -
       - Throughputs (bit/sec), Control pck RTT (ms) and missing ---------------
       x  | 5secIn 5secOut  5minIn 5minOut|Last |Min  |Max  |Avg  |LMiss%|RMiss%
       ---+-------+-------+-------+-------+-----+-----+-----+-----+------+------
       TUN| 15.1 K  273 K  27.0 K  1.07 M |    -     -     -     -      -      -
       1  | 9.46 K  144 K  16.9 K   576 K |    5     3     5     4    0.0    0.0
       2  | 8.82 K  141 K  16.3 K   534 K |    3     3     4     4    0.0    0.0
       3  |    0       0       0       0  |    -     -     -     -      -      -

IP resource section.

STATE

IP resource global state:

  • UP - the port is globally UP.

  • DOWN - the port is globally DOWN.

  • GOING-UP - the port was DOWN and is transitioning to UP.

  • GOING-DOWN - the port was UP and is transitioning to DOWN.

LINK-STATE

IP resource link state:

  • LINKREADY - the link is UP and READY;

  • LINKDOWN - the link is DOWN.

  • LINKNOTPRESENT - the link is not configured.

Tunnel section.

ROLE
  • SERVER - this side is server.

  • CLIENT - this side is client.

TUNNEL-STATE
  • ALL-DOWN - tunnel has all paths DOWN.

  • SOME-UP - tunnel has only some paths UP.

  • ALL-UP - tunnel has all paths UP.

LOCPORT

Local UDP port in use.

CR

Cryptography state:

  • NO - encryption not used.

  • YES - encryption in use in both directions.

COMP

Compression mode

  • NO - compression of user data (payload) is not used.

  • LZO1X , LZO1B , LZO1F - compression of user data (payload) and of the indicated type is used in both directions.

Paths section.

x

Path index.

STx

Path state:

  • DOWN - path is DOWN.

  • AUTH - path is AUTHENTICATING itself toward remote side.

  • WAIT - path is WAITING for remote side to complete the authentication.

  • UP - path is UP.

  • - - path is not functional, it's configuration is not complete.

MPx

Multipath bundle identifier.

When empty the path is not part of a multipath and is used alone in load balancing with the other paths and multipaths.

OUTSPx

Speedlimit, in kbit/sec applied to the path.

OUTx

Output IP resource for the path.

LOCIPx

Local IP address for the path.

REMIPx

Remote IP address and remote port for the path.

SPL-OVHx

Speedlimit overhead encapsulation and line type for the path. Used for speedlimit and bandwidth measures.

Throughputs/Bandwidths and Control packets section.

x

Path index [1..6, TUN]. Special TUN label is used to indicate whole tunnel instead of individual paths.

TUN

TUNNEL index.

[Important]Important

Tunnel measures the throughput of the tunnel payload, i.e. the IP flow transported by the tunnel.

1..6

PATH index.

[Important]Important

Paths measure the bandwidth consumed, including all transport overheads. Requires correct detection or manual setting of the SPL-OVHx value.

5secIn

Incoming throughput (tunnel) or bandwidth use (path) in last 5 second window.

5secOut

Outgoing throughput (tunnel) or bandwidth use (path) in last 5 second window.

5minIn

Incoming throughput (tunnel) or bandwidth use (path) in last 5 minute window.

5minOut

Outgoing throughput (tunnel) or bandwidth use (path) in last 5 minute window.

Last

Control packets round-trip delay - Last attempt.

Min

Control packets round-trip delay - Minimum delay in last 5 minutes window.

Avg

Control packets round-trip delay - Average delay in last 5 minutes window.

Max

Control packets round-trip delay - Max delay in last 5 minutes window.

LMiss%

Percentage of control packets loss in last 5 minutes window, detected in this (local) side.

RMiss%

Percentage of control packets loss in last 5 minutes window, detected at remote side.

49.4.2. AIPT2 statistics

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

d s ip

Shows the statistics of the AIPT2 resources.

d s ip-n path:m

Shows the statistics of the AIPT2 resource with id n about path number m.

d se ip

Shows the statistics of the AIPT2 resources in extended mode.

d se ip-n path:m

Shows the statistics of the AIPT2 resource with id n about path number m in extended mode.

Some examples follow.

[12:20:32] ABILIS_CPX:d s ip-11

RES:Ip-11 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       To_Abilis_2                                                      
       --- Cleared 3 days 02:39:29 ago, on 12/01/2024 at 09:41:06 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       DG         |     271603|     219951|CHAR       |  224874720|  117782070|
       TCP        |     196660|     176968|ESP        |          0|          0|
       UDP        |      74691|      41324|AH         |          0|          0|
       ICMP       |        252|       1659|DG-FRAG    |          0|          0|
       LOST-ACC   |          0|           |BAD-CHK    |          0|           |
       LOST-BUF   |          0|          0|BAD-HDR    |          0|           |
       LOST-LOOP  |           |          0|BAD-LEN    |          0|           |
       LOST-ADDR  |          0|          0|LONG       |          0|          0|
       LOST-OTHER |           |          0|SHORT      |          0|           |
       NO-ROUTE   |          0|           |SPL-OVFL   |          0|          0|
       TTL-EXP    |          0|          0|BAD-ENC-HDR|          0|           |
       IPP-DOWN   |          0|           |BAD-L-FRAG |          0|           |
       PING-MISSGW|           |          0|LOST-L-FRAG|          0|           |
       ------------------------------------------------------------------------
       - IP Tunnel ------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK        |     390675|     202516|CHAR       |  301466318|  142288389|
       MISSING    |       2746|           |NOBUF      |      47220|           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING%   |       0.69|       0.01|       0.25|       0.25|
       MISSING    |       2746|          1|      35479|         16|
       PCK        |     390672|       7911|   13695565|       6195|
       DOWN       |          0|          0|          2|          0|
       UP         |          1|          0|          3|          0|
       ------------------------------------------------------------

[12:20:35] ABILIS_CPX:d s ip-11 path:1

RES:Ip-11 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       To_Abilis_2                                                      
       --- Cleared 3 days 02:39:35 ago, on 12/01/2024 at 09:41:06 -------------
       - Path:1 ---------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK-D      |     187489|     159871|CHAR-D     |  143191120|  154626160|
       PCK-C      |       5059|       3077|CHAR-C     |    1008272|     927669|
       MISSING-D  |        266|           |DUPLICATED |      32588|           |
       MISSING-C  |          3|           |REST-BEFORE|         17|           |
       BAD-SRC    |          0|           |REORDERED  |      65622|           |
       BAD-AUTH   |          0|          0|OUTSEQ     |       4981|           |
       BAD-FORM   |          0|           |SEQ-ERR    |          0|           |
                  |           |           |SPL-OVFL   |           |          0|
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING-D% |       0.14|       0.00|       4.69|       0.00|
       MISSING-C% |       0.00|       0.00|       0.01|       0.00|
       MISSING-D  |        266|          0|     552333|          0|
       MISSING-C  |          0|          0|         90|          0|
       PCK-D      |     187448|       2695|   11199968|       3090|
       PCK-C      |       5059|        300|     719371|        181|
       DOWN       |          0|          0|          3|          0|
       UP         |          1|          0|          4|          0|
       ------------------------------------------------------------

[12:20:41] ABILIS_CPX:d se ip-11      

RES:Ip-11 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       To_Abilis_2                                                      
       --- Cleared 3 days 02:39:41 ago, on 12/01/2024 at 09:41:06 -------------
       - Path:1 ---------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK-D      |     187489|     159871|CHAR-D     |  143191120|  154626160|
       PCK-C      |       5059|       3077|CHAR-C     |    1008272|     927669|
       MISSING-D  |        266|           |DUPLICATED |      32588|           |
       MISSING-C  |          3|           |REST-BEFORE|         17|           |
       BAD-SRC    |          0|           |REORDERED  |      65622|           |
       BAD-AUTH   |          0|          0|OUTSEQ     |       4981|           |
       BAD-FORM   |          0|           |SEQ-ERR    |          0|           |
                  |           |           |SPL-OVFL   |           |          0|
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING-D% |       0.14|       0.00|       4.69|       0.00|
       MISSING-C% |       0.00|       0.00|       0.01|       0.00|
       MISSING-D  |        266|          0|     552333|          0|
       MISSING-C  |          0|          0|         90|          0|
       PCK-D      |     187448|       2695|   11199968|       3090|
       PCK-C      |       5059|        300|     719371|        181|
       DOWN       |          0|          0|          3|          0|
       UP         |          1|          0|          4|          0|
       ------------------------------------------------------------

[12:20:55] ABILIS_CPX:d se ip-11 path:2

RES:Ip-11 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       To_Abilis_2                                                      
       --- Cleared 3 days 02:40:05 ago, on 12/01/2024 at 09:41:06 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       DG         |     273438|     221304|CHAR       |  226230156|  117983595|
       TCP        |     198134|     177983|ESP        |          0|          0|
       UDP        |      75049|      41623|AH         |          0|          0|
       ICMP       |        255|       1698|DG-FRAG    |          0|          0|
       LOST-ACC   |          0|           |BAD-CHK    |          0|           |
       LOST-BUF   |          0|          0|BAD-HDR    |          0|           |
       LOST-LOOP  |           |          0|BAD-LEN    |          0|           |
       LOST-ADDR  |          0|          0|LONG       |          0|          0|
       LOST-OTHER |           |          0|SHORT      |          0|           |
       NO-ROUTE   |          0|           |SPL-OVFL   |          0|          0|
       TTL-EXP    |          0|          0|BAD-ENC-HDR|          0|           |
       IPP-DOWN   |          0|           |BAD-L-FRAG |          0|           |
       PING-MISSGW|           |          0|LOST-L-FRAG|          0|           |
       ------------------------------------------------------------------------
       - IP Tunnel ------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK        |     392440|     203428|CHAR       |  302896024|  142529100|
       MISSING    |       2748|           |DUPLICATED |      83801|      62819|
       NOBUF      |      47220|           |RESTORED   |       1621|           |
       DROP-FRAG  |       5658|           |REST-BEFORE|         56|           |
       BAD-CIPH   |          0|          0|REST-MISS  |       1565|           |
       BAD-COMP   |          0|           |REORDERED  |     112791|           |
       COMP-D%    |          0|          0|OUTSEQ     |      29806|           |
       OPT-D%     |          1|          2|SEQ-ERR    |          0|           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING%   |       0.69|       0.03|       0.25|       0.13|
       MISSING    |       2748|          3|      35479|          7|
       PCK        |     392435|       7745|   13696459|       5300|
       DOWN       |          0|          0|          2|          0|
       UP         |          1|          0|          3|          0|
       ------------------------------------------------------------
       - Path:2 ---------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK-D      |     255766|     148914|CHAR-D     |  204773988|  147098020|
       PCK-C      |       5090|       3105|CHAR-C     |    1011635|     937385|
       MISSING-D  |       3952|           |DUPLICATED |      37961|           |
       MISSING-C  |          4|           |REST-BEFORE|         37|           |
       BAD-SRC    |          0|           |REORDERED  |      33891|           |
       BAD-AUTH   |          0|          0|OUTSEQ     |      24498|           |
       BAD-FORM   |          0|           |SEQ-ERR    |          0|           |
                  |           |           |SPL-OVFL   |           |          0|
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING-D% |       1.52|       0.05|       3.47|       0.00|
       MISSING-C% |       0.00|       0.00|       0.06|       0.00|
       MISSING-D  |       3952|          2|     377917|          0|
       MISSING-C  |          0|          0|        434|          0|
       PCK-D      |     255763|       3758|   10499689|       1758|
       PCK-C      |       5090|        299|     721527|        180|
       DOWN       |          0|          0|          4|          0|
       UP         |          1|          0|          5|          0|
       ------------------------------------------------------------

With reference to the shown interval of time («Cleared 3 days 02:40:05 ago») these counters show the number of:

DGIP datagrams.
CHARIncoming/outgoing bytes.
TCPTCP datagrams.
ESPIPsec Encapsulating Security Payload packets.
UDPUDP datagrams.
AHIPsec Authentication Header (AH) packets
ICMPICMP datagrams.
DG-FRAGIP datagrams reassembled (in) or fragmented (out) at IP level.
LOST-ACCIP Datagrams discarded because they do not satisfy ACCESS LIST.
LOST-BUFDatagrams because the output buffer is full.
LOST-LOOPDatagrams discarded because the destination port is the same port they was received from.
LOST-ADDRNumber of discarded IP datagrams because of unacceptable address (e.g. loopback) in either source or destination, counted on incoming IPRES.
LOST-OTHERIP datagrams lost for other causes ( link down, command cancelled, bad port, …).
BAD-CHKNumber of incoming datagrams with bad IP header checksum.
BAD-HDRCounts both errors in header length fields (IHL and TOTAL_LENGTH) and IP version <> 4 (BAD-VER).
BAD-LENDatagrams discarded because the datagram length specified in the IP header doesn't match the actual datagram length.
LONGNumber of too long incoming datagrams. It must be counted when the size of the received datagram is > 1500.
SHORTNumber of too short incoming datagrams. It must be counted when the size of the received datagram is < 20. The size is the buffer length, not the length fields present in the IP datagram.
NO-ROUTEDatagrams discarded because a route was not found in the table.
SPL-OVFLOverflow in speed limit computation. Should never occur. If > 0 contact Abilis support.
TTL-EXPNumber of datagrams discarded because TTL reached the value 0.
IPP-DOWNHow many times IP resource went down.
PING-MISSGWNumber of STATE-DETECT PINGs that cannot be sent because a gateway is required but it is not configured.
BAD-ENC-HDROnly for ipres that supports encapsulation RFC1483-LLCMUX (DSL), when the encapsulation header is not correct.
BAD-L-FRAGOnly for ipres that supports link fragmentation (DSL, AIPT[-BCK]), when the LINK-FRAG header is not correct.
LOST-L-FRAGOnly for ipres that supports link fragmentation (DSL, AIPT[-BCK]), when a LINK FRAGMENT is discarded due to impossible reassembly.

Tunneling specific statistics:

PCK/PCK-DIncoming/outgoing data packets.
CHAR/CHAR-DIncoming/outgoing characters to/from upper layer
PCK-CCONTROL incoming/outgoing packets from/to UDP.
CHAR-CCONTROL incoming/outgoing characters from/to UDP.
MISSING/MISSING-DMissing data packets.
MISSING-CMissing control packets.
NOBUFDATA packets: receiving buffer is full.
BAD-CIPHIncoming/outgoing packets discarded because of deciphering/cipher errors.
BAD-COMPIncoming packets discarded because of decompression errors.
DUPLICATEDPackets received duplicated. This is normal in presence of multipath redundancy, otherwise it may indicate something very strange.
COMP-D%Incoming/outgoing data compression percentage optimization.
OPT-D%Percentage of space saved with optimization on incoming/outgoing data frames.
REORDEREDPackets received out of sequence that were on time to be reordered before delivery to destination. The reorder timeout depends on REORDER parameter.
OUTSEQPackets received out of sequence that were NOT on time to be reordered before delivery to destination. These packets are NOT discarded, they are delivered out of order demanding proper reorder to the final receiver.
SEQ-ERRPackets received with an invalid sequence number with respect to the current sequence values. It is a protocol violation and may indicate a software bug or a denial-of-service attack. The packet is discarded and does not produce any effect.
BAD-SRCPackets received from an invalid sender. These packets are discarded and do not produce any effect. When path session is being established the sender IP/PORT must match REMIPx: and REMPORT values. For ROLE:SERVER the REMPORT: is not configurable because any port is acceptable. When path session is established the sender IP/PORT must be those used during the establishment phase.
BAD-AUTHFailure of incoming/outgoing authentication request.
BAD-FORMPackets received from valid sender but containing malformed data. It is a protocol violation and may indicate a software bug or a denial-of-service attack. The packet is discarded and does not produce any effect.

Total and last 5 minutes LOCAL and REMOTE analysis:

MISSING-D%Local/Remote percentage of data packets loss during period.
MISSING-C%Local/Remote percentage of control packets loss during period.
MISSING-DLocal/Remote missing data packets during period.
MISSING-CLocal/Remote missing control packets during period.
PCK-DLocal/Remote incoming data packets during period.
PCK-CLocal/Remote incoming control packets during period.
DOWNLocal/Remote PATH DOWN state events during period.
UPLocal/Remote PATH UP state events during period.
[Note]Note

If SPL-OVFL is greater than 0 consult Abilis support (tem@antek.it).

The LOST-BUF increases when the queue set in the OUTBUF parameter it runs out. On 100Mb/s lines set OUTBUF:250.

49.4.3. AIPT2 logs

To show the log of AIPT2 tunnel, type the following command:

[09:02:27] ABILIS_CPX:d ip-80 log  

CURRENT EVENTS LOG MASK: FULL (ERR+INFO+DBG)

Current Local Time: Thursday 17/05/2018 09:02:32 (UTC+3.00)

Date   Time   Event Event detail
------ ------ ----- ------------------------------------------------------
160518 160013 Info  ST [P1:dn] [P2:dn]
160518 160013 Dbg   P1 - PATH is ENABLED to OPEN
160518 160013 Dbg   P2 - PATH is ENABLED to OPEN
160518 160024 Info  UDP State: UP
160518 160029 Dbg   P2 - LAuth CLOSED -> DISCOVERY
160518 160029 Dbg   P2 - Main DOWN -> AUTH
160518 160029 Dbg   P2 - SD DVRY-REQ  (ID:3354880821  192.168.10.254 -> 80.80.80.80)
160518 160029 Dbg   P2 - RV AUTH-REQ  (ID:3354880821  80.80.80.80 -> 192.168.10.254)
160518 160029 Dbg   P2 - LAuth DISCOVERY -> AUTH-ID
160518 160029 Dbg   P2 - SD AUTH-RESP (ID:3354880821  192.168.10.254 -> 80.80.80.80)
160518 160029 Dbg   P2 -   SD LocAbilisID:204856578 LocKey:
160518 160029 Dbg   P2 -   SD L-PSID 21578 - L-DSQ Start:1924792972 - L-CSQ Start:3341817129
160518 160029 Dbg   P2 -   SD L-TSID 1666624996 - L-TSQ Start (H/N/L):2846643117/2846643117/2846643117
160518 160029 Dbg   P2 - RV AUTH-GOOD (ID:3354880821  80.80.80.80 -> 192.168.10.254)
160518 160029 Dbg   P2 - UPDATE L-PSID 0 -> 21578 - L-DSQ Start:0 -> 1924792972 - L-CSQ Start:0 -> 3341817129
160518 160029 Dbg   P2 -   RV R-TSID 0 -> 1875231069 - R-TSQ Start (H/N/L):0/0/0 -> 412549288
160518 160029 Dbg   P2 - Detected R-TSID as changed: will force all other OPENED paths to CLOSED state
160518 160029 Dbg   P2 - LAuth AUTH-ID -> OPENED
160518 160029 Dbg   P2 - Main AUTH -> WAIT
160518 160029 Dbg   P2 - RAuth CLOSED -> AUTH-ID
160518 160029 Dbg   P2 - SD ASK-DVRY  (ID:3354880822  192.168.10.254 -> 80.80.80.80)
160518 160029 Dbg   P2 - RV DVRY-REQ  (ID:3354880822  80.80.80.80 -> 192.168.10.254)
160518 160029 Dbg   P2 - RAuth AUTH-ID -> CLOSED
160518 160029 Dbg   P2 - SD AUTH-REQ  (ID:3354880822  192.168.10.254 -> 80.80.80.80)
160518 160029 Dbg   P2 - RV AUTH-RESP (ID:3354880822  80.80.80.80 -> 192.168.10.254)
160518 160029 Dbg   P2 -   RV Negotiated version:1
160518 160029 Dbg   P2 -   RV RemAbilisID:1800310 RemKey:
160518 160029 Dbg   P2 -   RV R-PSID 0 -> 49845 - R-DSQ Start:0 -> 2850039338 - R-CSQ Start:0 -> 2493913193
160518 160029 Dbg   P2 - RAuth CLOSED -> OPENED
160518 160029 Dbg   P2 - Main WAIT -> UP
160518 160029 Dbg   Tunnel ALL-DOWN -> SOME-UP
160518 160029 Info  ST  P1:UP  [P2:dn]
160518 160029 Dbg   P2 - SD AUTH-GOOD (ID:3354880822  192.168.10.254 -> 80.80.80.80)
160518 160030 Dbg   P1 - LAuth CLOSED -> DISCOVERY
160518 160030 Dbg   P1 - Main DOWN -> AUTH
160518 160030 Dbg   P1 - SD DVRY-REQ  (ID:2550868719  192.168.10.254 -> 80.80.80.80)
160518 160030 Dbg   P1 - RV AUTH-REQ  (ID:2550868719  80.80.80.80 -> 192.168.10.254)
160518 160030 Dbg   P1 - LAuth DISCOVERY -> AUTH-ID
160518 160030 Dbg   P1 - SD AUTH-RESP (ID:2550868719  192.168.10.254 -> 80.80.80.80)
160518 160030 Dbg   P1 -   SD LocAbilisID:204856578 LocKey:
160518 160030 Dbg   P1 -   SD L-PSID 58471 - L-DSQ Start:1369819737 - L-CSQ Start:3595481420
160518 160030 Dbg   P1 -   SD L-TSID 1666624996 - L-TSQ Start (H/N/L):2846643119/2846643119/2846643117
160518 160030 Dbg   P1 - RV AUTH-GOOD (ID:2550868719  80.80.80.80 -> 192.168.10.254)
160518 160030 Dbg   P1 - UPDATE L-PSID 0 -> 58471 - L-DSQ Start:0 -> 1369819737 - L-CSQ Start:0 -> 3595481420
160518 160030 Dbg   P1 - LAuth AUTH-ID -> OPENED
160518 160030 Dbg   P1 - Main AUTH -> WAIT
160518 160030 Dbg   P1 - RAuth CLOSED -> AUTH-ID
160518 160030 Dbg   P1 - SD ASK-DVRY  (ID:2550868720  192.168.10.254 -> 80.80.80.80)
160518 160030 Dbg   P1 - RV DVRY-REQ  (ID:2550868720  80.80.80.80 -> 192.168.10.254)
160518 160030 Dbg   P1 - RAuth AUTH-ID -> CLOSED
160518 160030 Dbg   P1 - SD AUTH-REQ  (ID:2550868720  192.168.10.254 -> 80.80.80.80)
160518 160030 Dbg   P1 - RV AUTH-RESP (ID:2550868720  80.80.80.80 -> 192.168.10.254)
160518 160030 Dbg   P1 -   RV Negotiated version:1
160518 160030 Dbg   P1 -   RV RemAbilisID:1800310 RemKey:
160518 160030 Dbg   P1 -   RV R-PSID 0 -> 24570 - R-DSQ Start:0 -> 3237263787 - R-CSQ Start:0 -> 4045335588
160518 160030 Dbg   P1 - RAuth CLOSED -> OPENED
160518 160030 Dbg   P1 - Main WAIT -> UP
160518 160030 Dbg   Tunnel SOME-UP -> ALL-UP
160518 160030 Info  ST [P1:UP]  P2:dn 
160518 160030 Dbg   P1 - SD AUTH-GOOD (ID:2550868720  192.168.10.254 -> 80.80.80.80)

To set the filter event use, type the command: s ip-x log event:<val>

[09:08:53] ABILIS_CPX:s ip-80 log ?

S Ip-nnn LOG EVENT:val                              Set IP log events filter

EVENT:     Log events filter [ERR, INFO, DBG] or [DFT, FULL], where:
           - ERR, INFO, DBG filters can be joined using ',' (comma).
           - DFT: means ERR and INFO events;
           - FULL: means every type of event.
           By default the event mask is set to 'DFT'.

[09:08:57] ABILIS_CPX:s ip-80 log event:full

COMMAND EXECUTED 

To clear the log, type the following command:

[09:11:59] ABILIS_CPX:c ip-80 log

COMMAND EXECUTED 

49.4.4. AIPT2 debug

Below debug commands are described.

[Note]Note

To use these commands you need to have administrator or super user rights.

Type the following command to display the syntax of the command:

[09:16:30] ABILIS_CPX:debug res:ip-80 lsn:0

RES:Ip-80 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       AIPT2                                                          
       BufferLength:64512  Date/Time:17/05/2024 09:16:49 TraceTime:62178904


Usage:
   LSN:0           - This help
   LSN:1           - Complete debug
   LSN:2           - Upper/Lower NCB status
   LSN:3           - Paths status and timers
   LSN:4           - Socket status
   LSN:5           - Load-Balancing and Multipath assignments
   LSN:6           - Session identifiers and sequence numbers
   LSN:6  CMD:EXT  - Session identifiers and sequence numbers (extended)
   LSN:7           - Session identifiers and sequence numbers, not filtered
   LSN:7  CMD:EXT  - Session identifiers and sequence numbers, not filtered (extended)
   LSN:8           - Path monitor status
   LSN:9           - Display longest packets and AIPT2 fragmentation counters
   LSN:9  CMD:CLR  - Clear longest packets and AIPT2 fragmentation counters
   LSN:10          - Display DATA multi-packet statistics
   LSN:10 CMD:CLR  - Clear DATA multi-packet statistics
   LSN:11          - Display extended DATA multi-packet optimization statistics
   LSN:12          - Display extended DATA compression statistics
   LSN:13          - Display incoming DATA FIFO content for all priorities
   LSN:13 CMD:PRIO - Display incoming DATA FIFO content (prio == HIGH/NORMAL/LOW)
   LSN:14          - Display incoming DATA FIFO MaxDelay
   LSN:14 CMD:EXT  - Display incoming DATA FIFO MaxDelay and log
   LSN:14 CMD:CLR  - Clear log of incoming DATA FIFO MaxDelay
   LSN:15          - Show hidden statistics
   LSN:16          - Allowed REMIP (remote ip addresses)
   LSN:17          - Show cryptography info
   LSN:18 CMD:S|A  - Set cryptography to software mode (S) or auto mode (A)
   LSN:19          - RSA time consumption display
   LSN:19 CMD:CLR  - Clear RSA time consumption accumulators
   LSN:20          - Path dependencies for backup
   LSN:22          - Show BAD-SRC log
   LSN:22 CMD:CLR  - Clear BAD-SRC log
   LSN:23          - Show load-balancing and redundancy statistics
   LSN:23 CMD:CLR  - Clear load-balancing and redundancy statistics
   LSN:24          - Maximum outgoing speed information
   LSN:24 CMD:IN   - Maximum incoming speed information
   LSN:25 CMD:<p>      - Display current speed-limit to use to path <p> when OUTSPx:AUTO
   LSN:25 CMD:<p>,<sp> - Set speed-limit to use to path <p> when OUTSPx:AUTO (0 means NOT PRESENT, kbit/sec)
   LSN:25 CMD:LOG  - Display current speed-limit log
   LSN:25 CMD:CLR  - Clear current speed-limit log
   LSN:26          - Display lower IPRES status
   LSN:27          - Display throughput occupation in last period
   LSN:27 CMD:EXT  - Display throughput and rule/ipsh occupation in last period
   LSN:28          - Display SIM consumption information (MBytes)
   LSN:28 CMD:EXT  - Display SIM consumption information (Bytes)
   LSN:29          - Display backup on-demand threshold levels
   LSN:29 CMD:<p1>,<p2> - backup on-demand threshold levels (p1 is higher percentage, p2 is lower percentage)

   LSN:31 CMD:RESTART- Tunnel force RESTART analysis cleanup and activation
   LSN:33 CMD:CLR  - Tunnel analysis data clear
   LSN:34          - Tunnel analysis data display last 12 records in table format (1 minute)
   LSN:34 CMD:<nn> - Tunnel analysis data display last 'nnn' records in table format (1..60)
   LSN:34 CMD:DIFF - Tunnel analysis data display relative numbers instead of absolute
   LSN:34 CMD:EXT  - Tunnel analysis data display with extended information
   LSN:35          - Tunnel analysis data display last 12 records for LUA parsing (1 minute)
   LSN:35 CMD:<nn> - Tunnel analysis data display last 'nnn' records for LUA parsing (1..60)
   LSN:35 CMD:DIFF - Tunnel analysis data display relative numbers instead of absolute for LUA parsing
   LSN:36          - Tunnel analysis status for REMOTE request
   LSN:37 CMD:list - Tunnel daily transit event list currently available
   LSN:37 CMD:<time> - Tunnel daily transit analysis data event (in ISO8601 format, e.g. YYYY-MM-DDTHH:MM:SS+ZZ:ZZ)
   LSN:38 CMD:list - Tunnel monthly transit event list currently available
   LSN:38 CMD:<time> - Tunnel monthly transit analysis data event (in ISO8601 format, e.g. YYYY-MM-DDTHH:MM:SS+ZZ:ZZ)

   LSN:40 CMD:<p>,<pr>,<sp> - Payload burst of 5 seconds to path <p> with priority <pr> (H, N, L, D) at <sp> speed (Kbit/sec)

   LSN:50 CMD:<p>  - Quality analysis to path backup <p>
   LSN:50 CMD:<p>,<sp>- Quality analysis to path backup <p> with 100% test speed <sp>
   LSN:51 CMD:<p>  - Show last path quality analysis results of specific path <p> (THR KBit/Sec, RTT msec)
   LSN:51 CMD:<p>,EXT - Show last path quality analysis detailed results of specific path <p> (THR Bit/Sec, RTT microsec)

   LSN:60          - Display PING detector LOG
   LSN:60 CMD:CLR  - Clear PING detector LOG
   LSN:61          - Display PING status table

   LSN:70          - Display internal controller LOG
   LSN:70 CMD:<p>  - Display internal controller LOG (specific for path number)
   LSN:70 CMD:CLR  - Clear internal controller LOG
   LSN:71          - Display internal controller planned burst
   LSN:71 CMD:ALL  - Display internal controller planned burst of all AIPT2
   LSN:72          - Display internal controller preferences
   LSN:73          - Display internal controller preference ratio
   LSN:74          - Reset BESTOUTSPL: of ALL paths
   LSN:74 CMD:<p>  - Reset BESTOUTSPL: of <p> path
   LSN:75 CMD:<p>  - Request planned burst for <p> path in next minute
   LSN:76          - Display internal controller LOG to SYSLOG status
   LSN:76 CMD:<y/n>- Activate/deactivate transmission of internal controller LOG to SYSLOG

   LSN:80          - Display FIFO hole manager missing statistics/diagnostics
   LSN:80 CMD:CLR  - Clear FIFO hole manager missing statistics/diagnostics
   LSN:81 CMD:PRIO - Display incoming DATA FIFO LOG content (prio == HIGH/NORMAL/LOW)
   LSN:81 CMD:CLR  - Clear ALL incoming DATA FIFO LOG contents
   LSN:82 CMD:PRIO - Display incoming DATA FIFO LOG content with autoclean behaviour (prio == HIGH/NORMAL/LOW)
   LSN:83          - Display incoming DATA FIFO FEC stats for all priorities
   LSN:83 CMD:CLR  - Clear incoming DATA FIFO FEC stats for all priorities
   LSN:83 CMD:PRIO - Display incoming DATA FIFO FEC stats (prio == HIGH/NORMAL/LOW)
   LSN:84          - Display outgoing FEC N and P group size
   LSN:84 CMD:<N>,<P>- Set outgoing FEC <N> and <P> group size  (1..31)
   LSN:84 CMD:<PRIO>,<N>,<P>- Set outgoing FEC <N> and <P> group size for specified priority (1..31, prio == H/N/L)
   LSN:85 CMD:CLR  - Clear outgoing DATA FIFO FEC parity sent stats
   LSN:85 CMD:PRIO - Display outgoing DATA FIFO FEC parity sent stats (prio == HIGH/NORMAL/LOW)
   LSN:86          - Restore incoming DATA FIFO next sequence number to provide for all priorities
   LSN:86 CMD:PRIO - Restore incoming DATA FIFO next sequence number to provide (prio == HIGH/NORMAL/LOW)

   LSN:101 CMD:<%> - Randomly discard incoming DATA  packets (% == probability)
   LSN:102 CMD:<%> - Randomly discard incoming FEC-P packets (% == probability)
   LSN:103 CMD:<%> - Randomly discard outgoing DATA  packets (% == probability)
   LSN:104 CMD:<%> - Randomly discard outgoing FEC-P packets (% == probability)
   LSN:106 CMD:<p>,<seq>- Show missing packets (<p> can be H/N/L priority or path number. <seq> is starting sequence number)
   LSN:111 CMD:<p>        - Dynamically change local port of a specific <p> path
   LSN:111 CMD:<p>,<port> - Dynamically change local port of a specific <p> path with a specific local port <port>
   LSN:112 CMD:<p>        - Dynamically change local port of a specific <p> path to LOCPORT:

For example, type the command below to view the path dependencies for backup:

[09:16:30] ABILIS_CPX:debug res:ip-80 lsn:20

RES:Ip-80 - Abilis IP tunnel v.2 (AIPT2) --------------------------------------
       AIPT2
       BufferLength:64512  Date/Time:17/05/2018 09:16:57 TraceTime:2207222382

Backup dependency information.
+----+-----+-----------+
|Path|State|Dependency |
+----+-----+-----------+
|  1 |UP   |           |
|  2 |UP   |           |
|  3 |UP   |           |
|  4 |DOWN |           |
|  5 |DOWN | 1&2&3&4   |
+----+-----+-----------+