48.4. AIPT2 diagnostics, statistics, logs and debug

48.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.255
       OUTBUF:500   S-OUTBUF:2500   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-STATE:SOME-UP   LOCPORT:4011   CR:NO   COMP:NO
       - IP Tunnel Paths ------------------------------------------------------
       x  STx: MPx: OUTSPx: OUTx:  LOCIPx:         REMIPx:               SPL-OVHx:
       --+----+----+-------+------+---------------+---------------------+--------
       1 |UP        300000  AUTO   080.080.080.001 088.088.088.088:4011  RAW-IP,ETH
       2 |UP        25000   AUTO   080.080.080.001 088.088.088.100:4011  RAW-IP,ETH
       3 |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.255
       OUTBUF:500   S-OUTBUF:2500   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-STATE:SOME-UP   LOCPORT:4011   CR:NO   COMP:NO
       - IP Tunnel Paths ------------------------------------------------------
       x  STx: MPx: OUTSPx: OUTx:  LOCIPx:         REMIPx:               SPL-OVHx:
       --+----+----+-------+------+---------------+---------------------+--------
       1 |UP        300000  AUTO   080.080.080.001 088.088.088.088:4011  RAW-IP,ETH
       2 |UP        25000   AUTO   080.080.080.001 088.088.088.100:4011  RAW-IP,ETH
       3 |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|    8     8     9     9    0.0    0.0
       2  | 8.82 K   141 K  16.3 K   534 K|    9     9     9     9    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 second window.

5minOut

Outgoing throughput (tunnel) or bandwidth use (path) in last 5 second 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.

48.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/2018 at 09:41:06 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       DG         |    1421944|    2476934|CHAR       |  141280934| 3096798127|
       TCP        |    1323621|    2278090|ESP        |          0|          0|
       UDP        |      80914|     198003|AH         |          0|          0|
       ICMP       |      17409|        840|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|         34|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        |     682579|    2439138|CHAR       |  170745429| 3196878377|
       MISSING    |         69|           |NOBUF      |          0|           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING%   |       0.01|       0.00|       0.00|       0.00|
       MISSING    |         69|          0|        182|          0|
       PCK        |     682564|       2983|    2438889|       2951|
       DOWN       |          0|          0|          1|          0|
       UP         |          1|          0|          2|          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/2018 at 09:41:06 -------------
       - Path:1 ---------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK-D      |     343163|    1231349|CHAR-D     |   89130634| 1616302703|
       PCK-C      |      53569|      53585|CHAR-C     |    4606875|    4616651|
       MISSING-D  |          5|           |DUPLICATED |          0|           |
       MISSING-C  |         11|           |REORDERED  |       3847|           |
       BAD-SRC    |          0|           |OUTSEQ     |          0|           |
       BAD-AUTH   |          0|          0|SEQ-ERR    |          0|           |
       BAD-FORM   |          0|           |           |           |           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING-D% |       0.00|       0.00|       0.00|       0.00|
       MISSING-C% |       0.02|       0.00|       0.03|       0.00|
       MISSING-D  |          5|          0|          7|          0|
       MISSING-C  |         11|          0|         20|          0|
       PCK-D      |     343153|       1585|    1231151|       1475|
       PCK-C      |      53568|         60|      53524|         60|
       DOWN       |          4|          0|          5|          0|
       UP         |          5|          0|          6|          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/2018 at 09:41:06 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       DG         |    1422339|    2477289|CHAR       |  141322074| 3096922878|
       TCP        |    1324001|    2278430|ESP        |          0|          0|
       UDP        |      80923|     198012|AH         |          0|          0|
       ICMP       |      17415|        846|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|         34|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        |     682926|    2439452|CHAR       |  170800892| 3197016084|
       MISSING    |         69|           |NOBUF      |          0|           |
       BAD-CIPH   |          0|          0|DROP-FRAG  |          0|           |
       BAD-COMP   |          0|           |DUPLICATED |          0|          0|
       COMP-D%    |          0|          0|REORDERED  |      12659|           |
       OPT-D%     |         15|          1|OUTSEQ     |          0|           |
                  |           |           |SEQ-ERR    |          0|           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING%   |       0.01|       0.00|       0.00|       0.00|
       MISSING    |         69|          0|        182|          0|
       PCK        |     682925|       3285|    2439133|       3136|
       DOWN       |          0|          0|          1|          0|
       UP         |          1|          0|          2|          0|
       ------------------------------------------------------------
       - Paths summary --------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK-D      |     682926|    2439452|CHAR-D     |  170800892| 3197016084|
       PCK-C      |     107320|     107335|CHAR-C     |    9229777|    9239527|
       MISSING-D  |          5|           |DUPLICATED |          0|           |
       MISSING-C  |         11|           |REORDERED  |      12659|           |
       BAD-SRC    |         29|           |OUTSEQ     |          0|           |
       BAD-AUTH   |          0|          0|SEQ-ERR    |          0|           |
       BAD-FORM   |          0|           |           |           |           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING-D% |       0.00|       0.00|       0.00|       0.00|
       MISSING-C% |       0.01|       0.00|       0.01|       0.00|
       MISSING-D  |          5|          0|        126|          0|
       MISSING-C  |         11|          0|         20|          0|
       PCK-D      |     682925|       3285|    2439047|       3058|
       PCK-C      |     107319|        120|     107278|        120|
       DOWN       |          4|          0|          6|          0|
       UP         |          6|          0|          8|          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/2018 at 09:41:06 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       DG         |    1423083|    2478024|CHAR       |  141423125| 3097259959|
       TCP        |    1324715|    2279142|ESP        |          0|          0|
       UDP        |      80953|     198035|AH         |          0|          0|
       ICMP       |      17415|        846|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|         34|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        |     683548|    2440113|CHAR       |  170927689| 3197380414|
       MISSING    |         69|           |NOBUF      |          0|           |
       BAD-CIPH   |          0|          0|DROP-FRAG  |          0|           |
       BAD-COMP   |          0|           |DUPLICATED |          0|          0|
       COMP-D%    |          0|          0|REORDERED  |      12662|           |
       OPT-D%     |         15|          1|OUTSEQ     |          0|           |
                  |           |           |SEQ-ERR    |          0|           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING%   |       0.01|       0.00|       0.00|       0.00|
       MISSING    |         69|          0|        182|          0|
       PCK        |     683545|       3536|    2439867|       3467|
       DOWN       |          0|          0|          1|          0|
       UP         |          1|          0|          2|          0|
       ------------------------------------------------------------
       - Path:2 ---------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PCK-D      |     340012|    1208378|CHAR-D     |   81725863| 1580881981|
       PCK-C      |      53755|      53754|CHAR-C     |    4623246|    4623220|
       MISSING-D  |          0|           |DUPLICATED |          0|           |
       MISSING-C  |          0|           |REORDERED  |       8813|           |
       BAD-SRC    |         29|           |OUTSEQ     |          0|           |
       BAD-AUTH   |          0|          0|SEQ-ERR    |          0|           |
       BAD-FORM   |          0|           |           |           |           |
       -----------|-LOC-TOTAL-|-LOC-5min--|-REM-TOTAL-|-REM-5min--|------------
       MISSING-D% |       0.00|       0.00|       0.00|       0.00|
       MISSING-C% |       0.00|       0.00|       0.00|       0.00|
       MISSING-D  |          0|          0|        119|          0|
       MISSING-C  |          0|          0|          0|          0|
       PCK-D      |     340011|       1766|    1208227|       1734|
       PCK-C      |      53755|         60|      53758|         60|
       DOWN       |          0|          0|          1|          0|
       UP         |          1|          0|          2|          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.

48.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 

48.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/2018 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:5  CMD:EXT  == Load-Balancing and Multipath assignments with speed-limit time accumulator
   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 support for hardware encryption and status
   LSN:18 CMD:S|A  == Set hardware cryptographic support 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

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|TimeInState|Enabled|TimeInEnabled|Dependency |Dependency State|
+----+-----+-----------+-------+-------------+-----------+----------------+
|  1 |UP   |      41558|    YES|      2207222|           |                |
|  2 |DOWN |      41557|     NO|        41557| 1         | UP             |
|  3 |DOWN |      41557|     NO|        41557| 1         | UP             |
|  4 |DOWN |      41557|     NO|        41557| 1         | UP             |
|  5 |DOWN |      41557|     NO|        41557| 1         | UP             |
+----+-----+-----------+-------+-------------+-----------+----------------+