5.14. Diagnostics and Statistics

Abilis CPX provides a lot of information about diagnostics and statistics of ports and resources, useful for technical support.

5.14.1. Diagnostic commands

Diagnostic commands give information about the state of an Abilis resource or port (i.e. READY, UP, DOWN, CONNECTED, DISCONNECTED, BLOCKED, …).

5.14.1.1. D D (Display Diagnostics)

The following command displays the syntax:

[12:43:19] ABILIS_CPX:d d ?

D D RES:A                            Display diagnostics of any resource
D D [RES:]type                       Display diagnostics of any resource
                                     of the specified type
D D [RES:]type-n[,...]               Display diagnostics of the specified
                                     resource(s)
D D CTIAC[:val]                      Display diagnostics of CTI ACs
D D CTIEEC[:val]                     Display diagnostics of CTI Extended
                                     Echo Cancelers
D D CTIHDLC[:val]                    Display diagnostics of CTI HDLC
                                     controllers
D D CTICL [CLUS:name]                Display diagnostics of any CTI
                                     cluster, where 'name' is a CTI cluster
                                     name
D D CTIL [ID:xxx]                    Display diagnostics of any CTI link,
                                     where 'xxx' is a CTI link identifier
                                     in the range [1..256]
D D CTILG [ID:xxx]                   Display diagnostics of any CTI group of
                                     links, where 'xxx' is a CTI group of
                                     links identifier in the range [1..256]
D D CTIP[:xxx]                       Display diagnostics of any CTI port,
                                     where 'xxx' is a CTI port identifier
                                     in the range [1..300]
D D LCST                             Display diagnostics of LCS table service

For example, to show the diagnostics of a Packet Voice IP tunnel, type:

[12:43:19] ABILIS_CPX:d d pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) ------------
       To_Abilis2
       - Link -----------------------------------------------------------------
       +--------+--- Global ----+------- P-Link -------+------- S-Link -------+
       | STATE: |     READY     |        READY         |   READY              |
       +--------+---------------+----------------------+----------------------+
       - IP Tunnel ------------------------------------------------------------
       STATE:READY         MODE:EXT                        PATHS:SINGLE

The tunnel above is working correctly: Primary Link is READY, so the VPN is UP. In the screen-shot below, the Primary Link is not working, so ISDN backup is guarantying the VPN working.

[12:43:19] ABILIS_CPX:d d pv-1

RES:Pv-1 - PV over IP (Abilis tunnel) with Abilis Back-up (IP-BCK) ------------
       To_Abilis2
       - Link -----------------------------------------------------------------
       +--------+--- Global ----+------- P-Link -------+------- S-Link -------+
       | STATE: |     READY     |        DOWN2         |  CONNECTED TO        |
       +--------+---------------+----------------------+----------------------+
       - IP Tunnel ------------------------------------------------------------
       STATE:READY         MODE:EXT                        PATHS:SINGLE

5.14.1.2. D DE (Display Diagnostics Extended)

This command shows extended information about the state of an Abilis resource or a port. The following command displays the syntax:

[12:43:19] ABILIS_CPX:d de ?

D DE RES:A                           Display extended diagnostics of any
                                     resource
D DE [RES:]type                      Display extended diagnostics of any
                                     resource of the specified type
D DE [RES:]type-n[,...]              Display extended diagnostics of the
                                     specified resource(s)
D DE CTIAC[:val]                     Display extended diagnostics of CTI
                                     ACs
D DE CTIEEC[:val]                    Display extended diagnostics of CTI
                                     Extended Echo Cancelers
D DE CTIHDLC[:val]                   Display extended diagnostics of CTI
                                     HDLC controllers
D DE CTICL [CLUS:name]               Display extended diagnostics of any
                                     CTI cluster, where 'name' is a CTI
                                     cluster name
D DE CTIL [ID:xxx]                   Display extended diagnostics of any
                                     CTI link, where 'xxx' is a CTI link
                                     identifier in the range [1..256]
D D CTILG [ID:xxx]                   Display extended diagnostics of any
                                     CTI group of links, where 'xxx' is a
                                     CTI group of links identifier in the
                                     range [1..256]
D DE CTIP[:xxx]                      Display extended diagnostics of any
                                     CTI port, where 'xxx' is a CTI port
                                     identifier in the range [1..300]

For example, here below is displayed the diagnostic of a Frame Relay resource:

[12:43:19] ABILIS_CPX:d d fr-1

RES:Fr-1 - FR over Dedicated Line (DL) ----------------------------------------
       - Frame Relay ----------------------------------------------------------
       STATE:DOWN
       - Link -----------------------------------------------------------------
       +--------+--- Global ----+------- P-Link -------+------- S-Link -------+
       | STATE: |     READY     |        READY         |   LINK-NOT-PRESENT   |
       +--------+---------------+----------------------+----------------------+

This diagnostic shows the state of LMI and the state of the link.

Instead here below is displayed the extended diagnostic:

[12:43:19] ABILIS_CPX:d de fr-1

RES:Fr-1 - FR over Dedicated Line (DL) ----------------------------------------
       - Frame Relay ----------------------------------------------------------
       STATE:DOWN
       DLCI     State     Cong       MaxThr CurMaxThr  5sec-Thr-Out 5sec-Thr-In
                Cir       Bc      StepConst   MaxThr%  5min-Thr-Out 5min-Thr-In
                Tc        Be           Step      Cir%  MaxFrame-Out MaxFrame-In
       ------------------------------------------------------------------------
       16       DOWN      NO          19200     19200             0           0
                19200     19200           4      100%             0           0
                1.000     0               4      100%            10          10
       ------------------------------------------------------------------------
       17       DOWN      NO        1024000   1024000             0           0
                1024000   1024000         4      100%             0           0
                1.000     0               4      100%            10          10
       ------------------------------------------------------------------------
       - Link -----------------------------------------------------------------
       +--------+--- Global ----+------- P-Link -------+------- S-Link -------+
       | STATE: |     READY     |        READY         |   LINK-NOT-PRESENT   |
       +--------+---------------+----------------------+----------------------+

This diagnostic display the state of LMI and DLCI, the troughput incoming and outcoming, etc..

5.14.2. Statistics Commands

Statistics commands give information about parameters of an Abilis resource or port (i.e. byte transmitted, byte received, missing packets and a lot of other, depending from the kind of resource).

5.14.2.1. D S (Display Statistics)

The following command displays the syntax:

[12:43:19] ABILIS_CPX:d s ?

D S RES:A                            Display statistics of any resource
D S [RES:]type                       Display statistics of any resource
                                     of the specified type
D S [RES:]type-n[,...]               Display statistics of the specified
                                     resource(s)
D S CTIAC[:val]                      Display statistics of CTI ACs
D S CTICL [CLUS:name]                Display statistics of any CTI cluster,
                                     where 'name' is a CTI cluster name
D S CTIL [ID:xxx]                    Display statistics of any CTI link,
                                     where 'xxx' is a CTI link identifier
                                     in the range [1..256]
D S CTILG [ID:xxx]                   Display statistics of any CTI group of
                                     links, where 'xxx' is a CTI group of links
                                     identifier in the range [1..256]
D S CTIP[:xxx]                       Display statistics of any CTI port,
                                     where 'xxx' is a CTI port identifier
                                     in the range [1..300]
D S LCST                             Display statistics of LCS table service

For example, to show the statistics of a Packet Voice IP tunnel, type:

[12:43:19] ABILIS_CPX:d s pv-1

RES:Pv-1 -- PV over IP (Abilis tunnel) (IP) -----------------------------------
       --- Cleared 0 days 00:23:54 ago, on 30/11/2010 at 15:43:02 -------------
       - Link -----------------------------------------------------------------
       TIME-CUR-CALL:0
       RTY:0       DDT:NOMAX  VDT:NOMAX   USRTY:0    TDEL:0        TREM:0
       PLINK-DN1:1            PLINK-DN2:1            PLINK-LC-TOUT:0
       SLINK-ST1:0            SLINK-ST2:0            SLINK-LC-TOUT:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FAIL-CALL  |          0|          0|SUCC-CALL  |          0|          0|
       TIME-CALL  |          0|          0|           |           |           |
       V-NO-CRKEY |          0|          0|D-NO-CRKEY |          0|          0|
       V-BAD-CIPH |          0|           |D-BAD-CIPH |          0|           |
       D-COMP-YES |          0|          0|D-COMP-ORIG|          0|          0|
       D-COMP-NO  |          0|          0|D-COMP-DONE|          0|          0|
       D-BAD-COMP |          0|          0|D-COMP%    |          0|          0|
       ------------------------------------------------------------------------
       - IP Tunnel ------------------------------------------------------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |       1894|       1898|FRM        |        316|        316|
       IP-CHR     |      10742|      12642|IP-FRM     |        316|        316|
       BAD-SRC    |          0|           |NO-SERV    |          0|           |
       NO-CRKEY   |          0|          0|BAD-CIPH   |          0|          0|
       CLI-TOUT   |          0|           |CLI-REMAP  |          0|           |
       V-RED-FM   |           |          0|V-RED-VOICE|           |          0|
       -----------|--DATA IN--|-VOICE-IN--|-CHECK IN--|-----------------------|
       MISSING    |          0|          0|          0|
       NOBUF      |          0|          0|          0|
       ------------------------------------------------------------------------
       -- Time arrival variation of voice frames after reordering (msec.) -----
       ------------------------------------------------------------------------
            0- 20 |          0 (   0% )   |   151-200 |          0 (   0% )   |
           21- 50 |          0 (   0% )   |   201-300 |          0 (   0% )   |
           51-100 |          0 (   0% )   |   301-600 |          0 (   0% )   |
          101-150 |          0 (   0% )   |   601-xxx |          0 (   0% )   |
       ------------------------------------------------------------------------

A lot of information are available: number of characters sent and received, number of missing packets, number of P-Link interruptions, number of seconds of ISDN backup calls, packets time arrival, and so on.

5.14.2.2. D SE (Display Statistics Extended)

This command shows extended information about parameters of an Abilis resource or port. The following command displays the syntax:

[12:43:19] ABILIS_CPX:d se ?

D SE RES:A                           Display extended statistics of any
                                     resource
D SE [RES:]type                      Display extended statistics of any
                                     resource of the specified type
D SE [RES:]type-n[,...]              Display extended statistics of the
                                     specified resource(s)
D SE CTIAC[:val]                     Display extended statistics of CTI ACs
D SE CTICL [CLUS:name]               Display extended statistics of any
                                     CTI cluster, where 'name' is a CTI
                                     cluster name
D SE CTIL [ID:xxx]                   Display extended statistics of any
                                     CTI link, where 'xxx' is a CTI link
                                     identifier in the range [1..256]
D D CTILG [ID:xxx]                   Display extended statistics of any
                                     CTI group of links, where 'xxx' is a
                                     CTI group of links identifier in the
                                     range [1..256]
D SE CTIP[:xxx]                      Display extended statistics of any
                                     CTI port, where 'xxx' is a CTI port
                                     identifier in the range [1..300]

Type the following command to show the extended statistics of a Packet Voice IP tunnel:

[12:43:19] ABILIS_CPX:d se pv-1

RES:Pv-1 -- PV over IP (Abilis tunnel) (IP) -----------------------------------
       --- Cleared 0 days 00:25:23 ago, on 30/11/2010 at 15:43:02 -------------
       - Link -----------------------------------------------------------------
       TIME-CUR-CALL:0
       RTY:0       DDT:NOMAX  VDT:NOMAX   USRTY:0    TDEL:0        TREM:0
       PLINK-DN1:1            PLINK-DN2:1            PLINK-LC-TOUT:0
       SLINK-ST1:0            SLINK-ST2:0            SLINK-LC-TOUT:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       FAIL-CALL  |          0|          0|SUCC-CALL  |          0|          0|
       TIME-CALL  |          0|          0|           |           |           |
       V-NO-CRKEY |          0|          0|D-NO-CRKEY |          0|          0|
       V-BAD-CIPH |          0|           |D-BAD-CIPH |          0|           |
       D-COMP-YES |          0|          0|D-COMP-ORIG|          0|          0|
       D-COMP-NO  |          0|          0|D-COMP-DONE|          0|          0|
       D-BAD-COMP |          0|          0|D-COMP%    |          0|          0|
       ------------------------------------------------------------------------
       - IP Tunnel ------------------------------------------------------------
       Tunnel payload
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CHR        |       2014|       2018|FRM        |        336|        336|
       CHR-D      |          0|          0|FRM-D      |          0|          0|
       CHR-V      |          0|          0|FRM-V      |          0|          0|
       CHR-C      |       2014|       2018|FRM-C      |        336|        336|
       ------------------------------------------------------------------------
       IP level counters (actual IP traffic)
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       IP-CHR     |      11422|      13442|IP-FRM     |        336|        336|
       IP-CHR-D   |          0|          0|IP-FRM-D   |          0|          0|
       IP-CHR-V   |          0|          0|IP-FRM-V   |          0|          0|
       IP-CHR-C   |      11422|      13442|IP-FRM-C   |        336|        336|
       ------------------------------------------------------------------------
       Errors
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       LONG-D     |          0|          0|LOST-D     |          0|           |
       LONG-V     |          0|          0|LOST-V     |          0|           |
       LONG-C     |          0|          0|LOST-C     |          0|           |
       BAD-SRC    |          0|           |NO-SERV    |          0|           |
       NO-CRKEY   |          0|          0|BAD-CIPH   |          0|          0|
       ------------------------------------------------------------------------
       Special counters for extended mode
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       CLI-TOUT   |          0|           |CLI-REMAP  |          0|           |
       V-CHR-NOPT |          0|          0|D-FRM-ENC  |          0|          0|
       V-CHR-OPT  |          0|          0|V-FRM-ENC  |          0|          0|
       V-SAVED%   |          0|          0|C-FRM-ENC  |        336|        336|
       V-FRM-OPT  |          0|          0|           |           |           |
       V-RED-FM   |           |          0|V-RED-VOICE|           |          0|
       -----------|--DATA IN--|-VOICE-IN--|-CHECK IN--|-----------------------|
       MISSING    |          0|          0|          0|
       TOUT       |          0|          0|          0|
       NOBUF      |          0|          0|          0|
       OUT-SEQ    |          0|          0|          0|
       DUPLICATED |          0|          0|          0|
       REORDERED  |          0|          0|          0|
       BAD-FORM   |          0|          0|           |
       RESYNC     |          0|          0|          0|
       ------------------------------------------------------------------------
       -- Time arrival variation of voice frames after reordering (msec.) -----
       ------------------------------------------------------------------------
            0- 20 |          0 (   0% )   |   151-200 |          0 (   0% )   |
           21- 50 |          0 (   0% )   |   201-300 |          0 (   0% )   |
           51-100 |          0 (   0% )   |   301-600 |          0 (   0% )   |
          101-150 |          0 (   0% )   |   601-xxx |          0 (   0% )   |
       ------------------------------------------------------------------------