Diagnostic Utilities

x25stat

 

 

Example 3: Displaying Virtual Circuit Data Packet

 

 

Counters

 

 

 

 

The following example shows the output when there is one virtual circuit

 

 

connected.

 

 

 

 

Note that the virtual circuit specified in the command line is 64, in

 

 

decimal. The LCN shown in the example output is displayed as 40, the

 

 

hexadecimal equivalent of 64.

x25stat -t 64 -d x25_0

 

 

PER-VC STATISTICS FOR X25

 

 

-------------------------

 

 

Subnetwork

: 0

 

 

LCN

: 040 (hexadecimal)

 

 

User ID

: 213

 

 

Call direction

: outward To DTE

 

: 202

To DTE

: 202

 

 

VC state

: 6 - Datatransfer

 

 

-------------------------------------

 

Packet type

 

TX

RX

 

-------------------------------------

 

Call

1

0

 

Call confirm

0

1

 

Data

422

421

 

Interrupt

0

0

 

 

RNR

0

0

 

 

RR

0

421

 

Reset

0

0

 

Reset confirm

0

0

 

Clear

0

0

 

Clear confirm

0

0

 

-------------------------------------

 

Total

 

423

843

 

-------------------------------------

 

 

 

The “VC state” under the heading PER-VC STATISTICS FOR X25” can

 

 

be:

 

 

Table 5-6

 

VC State

 

 

 

 

 

 

 

 

Output on Screen

Description/Meaning

 

 

 

 

 

 

 

3 - P2

 

CALL REQUEST sent, but not yet replied

 

 

 

 

 

Chapter 5

123