Commands for displaying status and statistics information about communication ports are described in the section Status commands and ports statistics. The base commands available are:
C SThese commands work only on "RUNNING" ports. Execute the command D RUN to have a complete list of running ports.
Example of displaying the ports status:
[14:40:11] ABILIS_CPX: D S PO:A PO:0 ------------------------------------------------------------------------ CP STATE:UP Ses State AccessLevel Action ------------------------------------------------------------------------ 1 CONNECTED SUPERUSER COMMAND-MODE 2 READY 3 READY -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 5291| 42|CHAR | 336826| 410| ------------------------------------------------------------------------ PO:1 ------------------------------------------------------------------------ SYNC STATE:UP CARD:ESB2 SP:19200 XTAL:X1-1,8MHz DTR:UP DCD:DOWN RTS:UP CTS:DOWN LOOP:OFF ------------------------------------------------------------------------ FIFO:USED RxFrames:165 RxBytes:21120 RxMinFrameOcc:128 TxFrames:2 TxBytes:4208 TxMinFrameOcc:2104 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| CHR | 0| 53966|FRM | 0| 26983| CHR-D | 0| 53966|FRM-D | 0| 26983| CHR-V | 0| 0|FRM-V | 0| 0| CHR-C | 0| 0|FRM-C | 0| 0| RX-OVR | 0| |TX-UND | | 0| BAD-FCS | 0| |ABORT | 0| 0| SHORT | 0| 0|OTHERS | 0| | LONG-D | 0| 0|LOST-D | 0| | LONG-C | 0| 0|LOST-C | 0| | LONG-V | 0| 0|LOST-V | 0| | CTS-TOUT | 0| | ------------------------------------------------------------------------ PO:21 ------------------------------------------------------------------------ PAD STATE:DOWN L1:DOWN DTR:UP DCD:DOWN RTS:DOWN CTS:DOWN RXOVR:0 LOST-I:0 PARITY:0 FRAMING:0 FIFO:USED TXSIZE:16 RXSIZE:16 ------------------------------------------------------------------------ UART:16550A TXTRIGGER:0 RXTRIGGER:4 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| CALL | 0| 0| ------------------------------------------------------------------------ PO:100 ------------------------------------------------------------------------ EIM CLK:INT ------------------------------------------------------------------------ HDLC STATE TS CPN Bch | AC STATE TS CPN Bch -----------------------------------|------------------------------------ 0 FREE . . . | 0 FREE . . . 1 FREE . . . | 1 FREE . . . 2 FREE . . . | 2 FREE . . . 3 FREE . . . | 3 FREE . . . 4 FREE . . . | 5 FREE . . . | 6 FREE . . . | 7 FREE . . . | ------------------------------------------------------------------------ PO:200 ------------------------------------------------------------------------ EIR -- Number of simultaneous calls ---------------------------------------- | State: Alerting/Connected | State: Any | ---------------|---Current---|----Peak-----|---Current---|----Peak-----| TR | 0| 0| 0| 0| DATA | 0| 0| 0| 0| CLUS | 0| 0| 0| 0| VtoC | 0| 0| 0| 0| CtoC | 0| 0| 0| 0| CtoV | 0| 0| 0| 0| ALL | 0| 0| 0| 0| ------------------------------------------------------------------------ PO:201 ------------------------------------------------------------------------ LAPB STATE:CONNECTING -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| T1-UP | | 0|T1-DN | | 26982| REJ | 0| 0|FRMR | 0| 0| N2-OVER | | 0|N1-OVER | 0| | INFO | 0| 0|BADF | 0| | UNK-ADD | 0| | ------------------------------------------------------------------------ PO:301 ------------------------------------------------------------------------ X25 STATE:DOWN -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0| ------------------------------------------------------------------------
Example of single port visualization:
[14:40:11] ABILIS_CPX: D S PO:301 PO:301 ------------------------------------------------------------------------ X25 STATE:DOWN -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0| ------------------------------------------------------------------------ PO:201 ------------------------------------------------------------------------ LAPB STATE:CONNECTING -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| T1-UP | | 0|T1-DN | | 27023| REJ | 0| 0|FRMR | 0| 0| N2-OVER | | 0|N1-OVER | 0| | INFO | 0| 0|BADF | 0| | UNK-ADD | 0| | ------------------------------------------------------------------------ PO:1 ------------------------------------------------------------------------ SYNC STATE:UP CARD:ESB2 SP:19200 XTAL:X1-1,8MHz DTR:UP DCD:DOWN RTS:UP CTS:DOWN LOOP:OFF ------------------------------------------------------------------------ FIFO:USED RxFrames:165 RxBytes:21120 RxMinFrameOcc:128 TxFrames:2 TxBytes:4208 TxMinFrameOcc:2104 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| CHR | 0| 54048|FRM | 0| 27024| CHR-D | 0| 54048|FRM-D | 0| 27024| CHR-V | 0| 0|FRM-V | 0| 0| CHR-C | 0| 0|FRM-C | 0| 0| RX-OVR | 0| |TX-UND | | 0| BAD-FCS | 0| |ABORT | 0| 0| SHORT | 0| 0|OTHERS | 0| | LONG-D | 0| 0|LOST-D | 0| | LONG-C | 0| 0|LOST-C | 0| | LONG-V | 0| 0|LOST-V | 0| | CTS-TOUT | 0| | ------------------------------------------------------------------------
The previous example shows that, if the requested port is connected to lower level port, the command execution will also display information about the lower level port. This kind of "recursive" visualization will stop when up to 10 ports are connected to each other.
If the "recursive" visualization of statistics is not needed, it is enough to add the "." (dot) character at the end of the command row. For example, the following command execution will only display the status of the requested ports, without considering the lower level ports connected to it:
[14:40:11] ABILIS_CPX: D S PO:301 . PO:301 ------------------------------------------------------------------------ X25 STATE:DOWN -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0| ------------------------------------------------------------------------
Example of statistics information visualization for all the ports, using an extended format.
[14:40:11] ABILIS_CPX: D SE PO:A PO:0 ------------------------------------------------------------------------ CP --- Cleared 000:22:43:30 ago, on 02/03/2004 at 16:48:57 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 5552| 48|CHAR | 353245| 489| ------------------------------------------------------------------------ PO:1 ------------------------------------------------------------------------ SYNC --- Cleared 000:22:43:30 ago, on 02/03/2004 at 16:48:57 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| CHR | 0| 54092|FRM | 0| 27046| CHR-D | 0| 54092|FRM-D | 0| 27046| CHR-V | 0| 0|FRM-V | 0| 0| CHR-C | 0| 0|FRM-C | 0| 0| RX-OVR | 0| |TX-UND | | 0| BAD-FCS | 0| |ABORT | 0| 0| SHORT | 0| 0|OTHERS | 0| | LONG-D | 0| 0|LOST-D | 0| | LONG-C | 0| 0|LOST-C | 0| | LONG-V | 0| 0|LOST-V | 0| | CTS-TOUT | 0| | ------------------------------------------------------------------------ PO:21 ------------------------------------------------------------------------ PAD --- Cleared 000:22:45:56 ago, on 02/03/2004 at 16:48:56 ---------------- RXOVR:0 LOST-I:0 PARITY:0 FRAMING:0 FIFO:USED TXSIZE:16 RXSIZE:16 ------------------------------------------------------------------------ UART:16550A TXTRIGGER:0 RXTRIGGER:4 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| CALL | 0| 0| ------------------------------------------------------------------------ PO:100 ------------------------------------------------------------------------ EIM EXTENDED STATISTICS NOT AVAILABLE PO:200 ------------------------------------------------------------------------ EIR --- Cleared 000:22:44:15 ago, on 02/03/2004 at 16:48:57 ---------------- -- Number of successful (connected) calls, updated at call end --------- -----------|---INPUT---|--OUTPUT---|--LOCAL----|--TRANSIT--|----SUM----| TR | 0| 0| 0| 0| 0| DATA | 0| 0| 0| | 0| CLUS | 0| 0| 0| | 0| VtoC | | 0| | 0| 0| CtoC | | | | 0| 0| CtoV | 0| | | 0| 0| SUM | 0| 0| 0| 0| 0| ------------------------------------------------------------------------ -- Seconds of successful (connected) calls, updated at call end -------- -----------|---INPUT---|--OUTPUT---|--LOCAL----|--TRANSIT--|----SUM----| TR | 0| 0| 0| 0| 0| DATA | 0| 0| 0| | 0| CLUS | 0| 0| 0| | 0| VtoC | | 0| | 0| 0| CtoC | | | | 0| 0| CtoV | 0| | | 0| 0| SUM | 0| 0| 0| 0| 0| ------------------------------------------------------------------------ -- Number of unsuccessful calls ---------------------------------------- -----------|---INPUT---|--OUTPUT---|--LOCAL----|--TRANSIT--|----SUM----| TR | 0| 0| 0| 0| 0| DATA | 0| 0| 0| | 0| CLUS | 0| 0| 0| | 0| VtoC | | 0| | 0| 0| CtoC | | | | 0| 0| CtoV | 0| | | 0| 0| SUM | 0| 0| 0| 0| 0| ------------------------------------------------------------------------ -- Internal failures for not connected calls --------------------------- -----------|---INPUT---|--OUTPUT---|--LOCAL----|--TRANSIT--|----SUM----| NoRoute | | | | | 0| NoDest | | | | | 0| NoPcmRes | 0| 0| 0| 0| 0| NoAcRes | 0| 0| | 0| 0| NoHdlcRes | 0| 0| 0| | 0| PlinkFail | 0| 0| | 0| 0| ClusFail | 0| 0| | 0| 0| BwLimit | | 0| | 0| 0| IsdnL1down | 0| 0| 0| 0| 0| IsdnL2down | 0| 0| 0| 0| 0| ------------------------------------------------------------------------ -- Internal failures after call connected ------------------------------ -----------|---INPUT---|--OUTPUT---|--LOCAL----|--TRANSIT--|----SUM----| PlinkFail | 0| 0| | 0| 0| ClusFail | 0| 0| | 0| 0| IsdnL1down | 0| 0| 0| 0| 0| IsdnL2down | 0| 0| 0| 0| 0| ------------------------------------------------------------------------ PO:201 ------------------------------------------------------------------------ LAPB --- Cleared 000:22:43:30 ago, on 02/03/2004 at 16:48:57 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| T1-UP | | 0|T1-DN | | 27045| REP | 0| 0|INFO | 0| 0| RR | 0| 0|RNR | 0| 0| REJ | 0| 0|FRMR | 0| 0| SABM | 0| 27046|UA | 0| 0| DISC | 0| 0|RD | 0| 0| DM | 0| 0|BADF | 0| | N2-OVER | | 0|N1-OVER | 0| | SHORT | 0| |UNK-ADD | 0| | ------------------------------------------------------------------------ PO:301 ------------------------------------------------------------------------ X25 --- Cleared 000:22:44:15 ago, on 02/03/2004 at 16:48:57 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| RES-REQ | 0| 0|RES-CON | 0| 0| CAL-REQ | 0| 0|CAL-CON | 0| 0| CLR-REQ | 0| 0|CLR-CON | 0| 0| RST-REQ | 0| 0|RST-CON | 0| 0| INT-REQ | 0| 0|INT-CON | 0| 0| PCK | 0| 0|SEG | 0| 0| CHAR | 0| 0|RR | 0| 0| RNR | 0| 0|REJ | 0| 0| BAD-PCK | 0| |T20-OVR | | 0| T21-OVR | | 0|T22-OVR | | 0| T23-OVR | | 0|N3-OVR | | 0| ------------------------------------------------------------------------
The information "Cleared DDD:HH:MM:SS ago, at DD/MM/YYYY HH:MM:SS", referred by the extended statistics, shows either the time interval elapsed from the last statistics reset (by the format "days:hours:minutes:seconds") and date/time of its execution (by the format "day:month:year" and "hours:minutes:seconds").
Even this command will display information about lower level ports connected to the requested one.
The following example shows information about status of a X25 port, connected to a LAPB one, which is also connected to a SYNC one.
All of the ports will be shown.
[14:40:11] ABILIS_CPX: D SE PO:301 PO:301 ------------------------------------------------------------------------ X25 --- Cleared 000:22:46:18 ago, on 02/03/2004 at 16:48:56 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| RES-REQ | 0| 0|RES-CON | 0| 0| CAL-REQ | 0| 0|CAL-CON | 0| 0| CLR-REQ | 0| 0|CLR-CON | 0| 0| RST-REQ | 0| 0|RST-CON | 0| 0| INT-REQ | 0| 0|INT-CON | 0| 0| PCK | 0| 0|SEG | 0| 0| CHAR | 0| 0|RR | 0| 0| RNR | 0| 0|REJ | 0| 0| BAD-PCK | 0| |T20-OVR | | 0| T21-OVR | | 0|T22-OVR | | 0| T23-OVR | | 0|N3-OVR | | 0| ------------------------------------------------------------------------ PO:201 ------------------------------------------------------------------------ LAPB --- Cleared 000:22:46:18 ago, on 02/03/2004 at 16:48:56 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| T1-UP | | 0|T1-DN | | 27101| REP | 0| 0|INFO | 0| 0| RR | 0| 0|RNR | 0| 0| REJ | 0| 0|FRMR | 0| 0| SABM | 0| 27102|UA | 0| 0| DISC | 0| 0|RD | 0| 0| DM | 0| 0|BADF | 0| | N2-OVER | | 0|N1-OVER | 0| | SHORT | 0| |UNK-ADD | 0| | ------------------------------------------------------------------------ PO:1 ------------------------------------------------------------------------ SYNC --- Cleared 000:22:46:18 ago, on 02/03/2004 at 16:48:56 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| CHR | 0| 54204|FRM | 0| 27102| CHR-D | 0| 54204|FRM-D | 0| 27102| CHR-V | 0| 0|FRM-V | 0| 0| CHR-C | 0| 0|FRM-C | 0| 0| RX-OVR | 0| |TX-UND | | 0| BAD-FCS | 0| |ABORT | 0| 0| SHORT | 0| 0|OTHERS | 0| | LONG-D | 0| 0|LOST-D | 0| | LONG-C | 0| 0|LOST-C | 0| | LONG-V | 0| 0|LOST-V | 0| | CTS-TOUT | 0| | ------------------------------------------------------------------------
If the "recursive" visualization of statistics is not needed, it is enough to add the "." (dot) character at the end of the command row.
[14:40:11] ABILIS_CPX: D SE PO:301 . PO:301 ------------------------------------------------------------------------ X25 --- Cleared 000:22:46:18 ago, on 02/03/2004 at 16:48:56 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| RES-REQ | 0| 0|RES-CON | 0| 0| CAL-REQ | 0| 0|CAL-CON | 0| 0| CLR-REQ | 0| 0|CLR-CON | 0| 0| RST-REQ | 0| 0|RST-CON | 0| 0| INT-REQ | 0| 0|INT-CON | 0| 0| PCK | 0| 0|SEG | 0| 0| CHAR | 0| 0|RR | 0| 0| RNR | 0| 0|REJ | 0| 0| BAD-PCK | 0| |T20-OVR | | 0| T21-OVR | | 0|T22-OVR | | 0| T23-OVR | | 0|N3-OVR | | 0| ------------------------------------------------------------------------
For each communication port served by the Connection Oriented Router and "running", Abilis CPX saves the statistics regarding data exchanged between DTE user and the network, calculates the compression percentages in characters and segments for being used in technical and economic analysis.
Statistical data are reset either every time the Abilis CPX starts, or by a proper command execution; so that it is not possible to have an archive containing data antecedent the last system start.
Commands for displaying compression statistics are described in the section Status commands and ports statistics. The base commands available are:
C SCThese commands work only on "RUNNING" ports. Execute the command D RUN to have a complete list of running ports.
Example of displaying all the ports compression statistics:
[14:40:11] ABILIS_CPX: D SC PO:A PO:0 --- Cleared 000:22:16:19 ago, on 03/04/2002 at 13:21:13 ---------------- CIB:0 EOB:0 TUB:0 COB:0 EIB:0 TNB:0 CRB:0.00 ERB:0.00 TRB:0.00 CIS:0 EOS:0 TUS:0 COS:0 EIS:0 TNS:0 CRS:0.00 ERS:0.00 TRS:0.00 PO:21 --- Cleared 000:22:16:19 ago, on 03/04/2002 at 13:21:13 ---------------- CIB:0 EOB:0 TUB:0 COB:0 EIB:0 TNB:0 CRB:0.00 ERB:0.00 TRB:0.00 CIS:0 EOS:0 TUS:0 COS:0 EIS:0 TNS:0 CRS:0.00 ERS:0.00 TRS:0.00 PO:301 --- Cleared 000:22:16:19 ago, on 03/04/2002 at 13:21:13 ---------------- CIB:0 EOB:0 TUB:0 COB:0 EIB:0 TNB:0 CRB:0.00 ERB:0.00 TRB:0.00 CIS:0 EOS:0 TUS:0 COS:0 EIS:0 TNS:0 CRS:0.00 ERS:0.00 TRS:0.00 PO:900 --- Cleared 000:22:16:19 ago, on 03/04/2002 at 13:21:13 ---------------- CIB:0 EOB:0 TUB:0 COB:0 EIB:0 TNB:0 CRB:0.00 ERB:0.00 TRB:0.00 CIS:0 EOS:0 TUS:0 COS:0 EIS:0 TNS:0 CRS:0.00 ERS:0.00 TRS:0.00 PO:905 --- Cleared 000:22:16:19 ago, on 03/04/2002 at 13:21:13 ---------------- CIB:0 EOB:0 TUB:0 COB:0 EIB:0 TNB:0 CRB:0.00 ERB:0.00 TRB:0.00 CIS:0 EOS:0 TUS:0 COS:0 EIS:0 TNS:0 CRS:0.00 ERS:0.00 TRS:0.00 PO:999 --- Cleared 000:22:16:19 ago, on 03/04/2002 at 13:21:13 ---------------- CIB:0 EOB:0 TUB:0 COB:0 EIB:0 TNB:0 CRB:0.00 ERB:0.00 TRB:0.00 CIS:0 EOS:0 TUS:0 COS:0 EIS:0 TNS:0 CRS:0.00 ERS:0.00 TRS:0.00
The information "Cleared DDD:HH:MM:SS ago, at DD/MM/YYYY HH:MM:SS", referred by the compression statistics, shows either the time interval elapsed from the last statistics reset (by the format "days:hours:minutes:seconds") and date/time of its execution (by the format "day:month:year" and "hours:minutes:seconds").
Parameter | Value | Meaning |
---|---|---|
CIB | 0 - 4.294.967.295 | Total number of input (from User to Abilis CPX) bytes to be compressed |
COB | 0 - 4.294.967.295 | Total number of output (from Abilis CPX to the network) compressed bytes |
CRB | from -999% to +100% | Percent ratio between CIB and COB: bytes sent by the User/bytes sent to the network |
CIS | 0 - 4.294.967.295 | Total number of input (from User to Abilis CPX) segments to be compressed |
COS | 0 - 4.294.967.295 | Total number of output (from Abilis CPX to the network) compressed segments |
CRS | from -999% to +100% | Percent ratio between CIS and COS: segments sent by the User/segments sent to the network |
EOB | 0 - 4.294.967.295 | Total number of expansion output bytes (from Abilis CPX to User) |
EIB | 0 - 4.294.967.295 | Total number of expansion input bytes (from network to Abilis CPX) |
ERB | from -999% to +100% | Percent ratio between EIB and EOB: bytes network/user bytes |
EOS | 0 - 4.294.967.295 | Total number of expansion output segments (from Abilis CPX to User) |
EIS | 0 - 4.294.967.295 | Total number of expansion input segments (from network to Abilis CPX) |
ERS | from -999% to +100% | Percent ratio between EIS and EOS: network segments/ user segments |
TUB | 0 - 4.294.967.295 | Total number of user bytes |
TNB | 0 - 4.294.967.295 | Total number of network bytes |
TRB | from -999% to +100% | Percent ratio between TUB and TNB: user bytes/network bytes |
TUS | 0 - 4.294.967.295 | Total number of user segments |
TNS | 0 - 4.294.967.295 | Total number of network segments |
TRS | from -999% to +100% | Percent ratio between TUS and TNS: user segments/network segments |
The following figure can help to understand better the meaning of compression statistics.
Figure 1. Meaning of the compression statistics.