The CCITT has defined diagnostic codes for X.25 communications and SNA Services.
The CCITT defines the X.25 diagnostic codes as follows:
List of CCITT Diagnostic Codes | ||
Hex | Dec | Meaning |
00 | 0 | Clear or reset generated during restart. |
01 | 1 | Incorrect P(S) in packet from DCE. |
02 | 2 | Incorrect P(R) in packet from DCE. |
10 | 16 | Incorrect packet type. |
11 | 17 | Incorrect packet from DCE for state r1. |
12 | 18 | Incorrect packet from DCE for state r2. |
13 | 19 | Incorrect packet from DCE for state r3. |
14 | 20 | Incorrect packet from DCE for state p1. |
15 | 21 | Incorrect packet from DCE for state p2. |
16 | 22 | Incorrect packet from DCE for state p3. |
17 | 23 | Incorrect packet from DCE for state p4. |
18 | 24 | Incorrect packet from DCE for state p5. |
19 | 25 | Incorrect packet from DCE for state p6. |
1A | 26 | Incorrect packet from DCE for state p7. |
1B | 27 | Incorrect packet from DCE for state d1. |
1C | 28 | Incorrect packet from DCE for state d2. |
1D | 29 | Incorrect packet from DCE for state d3. |
20 | 32 | Packet not allowed. |
21 | 33 | Unidentifiable packet received from DCE. |
22 | 34 | Call received on one-way channel. |
23 | 35 | Clear or call packet received from DCE on a permanent virtual circuit (PVC). |
24 | 36 | Packet received on an unassigned logical channel. |
25 | 37 | REJECT not subscribed. |
26 | 38 | Packet received from DCE was too short. |
27 | 39 | Packet received from DCE was too long. |
28 | 40 | Incorrect general format identifier (GFI). |
29 | 41 | Restart packet received from DCE with non-zero logical channel identifier. |
2A | 42 | Incorrect fast-select packet received from DCE. |
2B | 43 | Unauthorized interrupt confirmation. |
2C | 44 | Interrupt packet received from DCE when acknowledgment was still outstanding. |
2D | 45 | Unauthorized reject. |
30 | 48 | Timer expired (or limit surpassed). |
31 | 49 | Timeout or retries reached on call response from DCE. |
32 | 50 | Timeout or retries reached on clear response from DCE. |
33 | 51 | Timeout or retries reached on reset response from DCE. |
34 | 52 | Timeout or retries reached on restart response from DCE. |
35 | 53 | Time expired for call deflection. |
40 | 64 | Call setup clearing or registration problem. |
41 | 65 | Facility/registration code not allowed. |
42 | 66 | Facility not allowed. |
43 | 67 | Incorrect called address. |
44 | 68 | Invalid address in incoming call from DCE. |
45 | 69 | Incorrect facility/registration length field. |
46 | 70 | Incoming call barred. |
47 | 71 | No logical channel available. |
48 | 72 | Call collision. |
49 | 73 | Duplicate facility requested. |
4A | 74 | Nonzero address length in fast-select clear from DCE. |
4B | 75 | Nonzero facility length in fast-select clear from DCE. |
4C | 76 | Facility not provided when expected. |
4D | 77 | Incorrect CCITT-specified DTE facility. |
4E | 78 | Maximum number of call redirections or call deflections exceeded. |
50 | 80 | Miscellaneous. |
51 | 81 | Improper cause code from DTE. |
52 | 82 | Non-octet aligned. |
53 | 83 | Inconsistent Q-bit settings. |
54 | 84 | NUI problem. |
70 | 112 | International problem. |
71 | 113 | Remote network problem. |
72 | 114 | International protocol problem. |
73 | 115 | International link out of order. |
74 | 116 | International link busy. |
75 | 117 | Transit network facility problem. |
76 | 118 | Remote network facility problem. |
77 | 119 | International routing problem. |
78 | 120 | Temporary routing problem. |
79 | 121 | Unknown called DNIC. |
7A | 122 | Maintenance action (may also apply within a national network). |
80 | 128 | Reserved for DTE-defined diagnostic information. |
The product-specific diagnostic codes are defined as follows:
X.25 Licensed Program Specific Diagnostics | ||
Hex | Dec | Meaning |
81 | 129 | No listener for incoming call. |
82 | 130 | No available LCN for call. |
83 | 131 | User error. |
84 | 132 | User call rejection. |
85 | 133 | Call cleared before accept. |
86 | 134 | Invalid call reference. |
87 | 135 | Registration timer expired. |
88 | 136 | Invalid Link layer state. |
The ISO 8208 diagnostic codes are defined as follows:
ISO 8208 Diagnostics | ||
Hex | Dec | Meaning |
90 | 144 | Timer expired or retransmission count surpassed. |
91 | 145 | Timer expired or retransmission count surpassed on interrupt-confirm from DCE. |
92 | 146 | T25 timer expired for data packet transmission. |
93 | 147 | Timer expired or retransmission count surpassed for reject. |
A0 | 160 | DTE-specific signals. |
A1 | 161 | DTE operational. |
A2 | 162 | DTE not operational (level 2) or no application listening (network). |
A3 | 163 | DTE resource constraint. |
A4 | 164 | Fast select not subscribed. |
A5 | 165 | Incorrect partially full data packet received from DCE. |
A6 | 166 | D-bit procedure not supported. |
A7 | 167 | Registration or cancellation confirmed. |
E0 | 224 | OSI Network Service Problem. |
E1 | 225 | Disconnection (transient condition). |
E2 | 226 | Disconnection (permanent condition). |
E3 | 227 | Connection rejection - reason unspecified (transient condition). |
E4 | 228 | Connection rejection - reason unspecified (permanent condition). |
E5 | 229 | Connection rejection - quality of service not available (transient condition). |
E6 | 230 | Connection rejection - quality of service not available (permanent condition). |
E7 | 231 | Connection rejection - NSAP unreachable (transient condition). |
E8 | 232 | Connection rejection - NSAP unreachable (permanent condition). |
E9 | 233 | Reset - reason unspecified. |
EA | 234 | Reset - congestion. |
EB | 235 | Connection rejection - NSAP address unknown (permanent condition). |
The following diagnostic codes are set in clear- and reset-indication packets, when SNA services is being used.
All diagnostic codes are not necessarily used by all DTEs, but those that are used have the meaning indicated.
The first diagnostic in each group is a general code that may be used in place of the more specific codes within the group.
These codes, set by transmitting DTEs in clear, reset, and restart packets that also have the cause code set to x'80' transferred on SNA-to-SNA connections, are normally delivered to the remote DTE in a corresponding indication packet by DCEs. However, DCEs may override DTE requests. In this event, DCEs place a network-generated nonzero cause code less than 128 in the cause field and insert the network diagnostic code in the diagnostic code field of the resulting indication packet delivered to the remote DTE.
List of CCITT SNA Diagnostic Codes | ||
Hex | Dec | Meaning |
00 | 0 | Normal initialization or termination. |
0C | 12 | Incorrect LLC type. |
10 | 16 | Incorrect packet type (general). |
11 | 17 | Incorrect packet type for state r1. |
12 | 18 | Incorrect packet type for state r2. |
13 | 19 | Incorrect packet type for state r3. |
14 | 20 | Incorrect packet type for state p1. |
15 | 21 | Incorrect packet type for state p2. |
16 | 22 | Incorrect packet type for state p3. |
17 | 23 | Incorrect packet type for state p4. |
18 | 24 | Incorrect packet type for state p5. |
19 | 25 | Incorrect packet type for state p6. |
1A | 26 | Incorrect packet type for state p7. |
1B | 27 | Incorrect packet type for state d1. |
1C | 28 | Incorrect packet type for state d2. |
1D | 29 | Incorrect packet type for state d3. |
20 | 32 | DCE timer expired (general). |
21 | 33 | DCE timer expired: Incoming call. |
22 | 34 | DCE timer expired: Clear indication. |
23 | 35 | DCE timer expired: Reset indication. |
24 | 36 | DCE timer expired: Restart indication. |
30 | 48 | DTE timer expired: (general). |
31 | 49 | DTE timer expired: Call request. |
32 | 50 | DTE timer expired: Clear request. |
33 | 51 | DTE timer expired: Reset request. |
34 | 52 | DTE timer expired: Restart request. |
40 | 64 | Unassigned (general). |
50 | 80 | QLLC error: (general). |
51 | 81 | QLLC error: Undefined C-field. |
52 | 82 | QLLC error: Unexpected C-field. |
53 | 83 | QLLC error: Missing I-field. |
54 | 84 | QLLC error: Undefined I-field. |
55 | 85 | QLLC error: I-field too long. |
56 | 86 | QLLC error: Frame reject received. |
57 | 87 | QLLC error: Header incorrect. |
58 | 88 | QLLC error: Data received in wrong state. |
59 | 89 | QLLC error: Time-out condition. |
5A | 90 | QLLC error: Number incorrect. |
5B | 91 | QLLC error: Recovery rejected or ended. |
5D | 93 | QLLC error: ELLC timeout condition. |
60 | 96 | PSH error (general). |
61 | 97 | PSH error: Sequence error. |
62 | 98 | PSH error: Header too short. |
63 | 99 | PSH error: PSH format incorrect. |
64 | 100 | PSH error: Command undefined. |
65 | 101 | PSH error: Protocol incorrect. |
66 | 102 | PSH error: Data received in wrong state. |
69 | 105 | PAD error: Timeout condition. |
70 | 112 | PAD error: (general). |
71 | 113 | PAD error: PAD access facility failure. |
72 | 114 | PAD error: SDLC FCS error. |
73 | 115 | PAD error: SDLC time-out. |
74 | 116 | PAD error: SDLC frame incorrect. |
75 | 117 | PAD error: I-field too long. |
76 | 118 | PAD error: SDLC sequence error. |
77 | 119 | PAD error: SDLC frame aborted. |
78 | 120 | PAD error: SDLC FRMR received. |
79 | 121 | PAD error: SDLC response incorrect. |
7B | 123 | PAD error: Incorrect packet type. |
7F | 127 | PAD error: PAD inoperable. |
80 | 128 | DTE-specific (general). |
81 | 129 | DTE-specific: 8100_DPPX-specific. |
82 | 130 | DTE-specific: INN_QLLC-specific. |
83 | 131 | DTE-specific: INN_QLLC-specific. |
84 | 132 | DTE-specific: INN_QLLC-specific. |
85 | 133 | DTE-specific: INN_QLLC-specific. |
86 | 134 | DTE-specific: INN_QLLC-specific. |
87 | 135 | DTE-specific: INN_QLLC-specific. |
88 | 136 | DTE-specific: INN_QLLC-specific. |
89 | 137 | DTE-specific: INN_QLLC-specific. |
8A | 138 | DTE-specific: INN_QLLC-specific. |
8B | 139 | DTE-specific: INN_QLLC-specific. |
8C | 140 | DTE-specific: INN_QLLC-specific. |
8D | 141 | DTE-specific: INN_QLLC-specific. |
8E | 142 | DTE-specific: INN_QLLC-specific. |
8F | 143 | DTE-specific: INN_QLLC-specific. |
90 | 144 | Network-specific. |
91 | 145 | Network-specific: DDX-P RNR packet received. |
A0 | 160 | Packet not allowed (general). |
A1 | 161 | Packet not allowed: Incorrect M-bit packet sequence. |
A2 | 162 | Packet not allowed: Incorrect packet type received. |
A3 | 163 | Packet not allowed: Incorrect packet on PVC. |
A4 | 164 | Packet not allowed: Unassigned LC. |
A5 | 165 | Packet not allowed: Diagnostic packet received. |
A6 | 166 | Packet not allowed: Packet too short. |
A7 | 167 | Packet not allowed: Packet too long. |
A8 | 168 | Packet not allowed: Incorrect GFI. |
A9 | 169 | Packet not allowed: Not identifiable. |
AA | 170 | Packet not allowed: Not supported. |
AB | 171 | Packet not allowed: Incorrect Ps. |
AC | 172 | Packet not allowed: Incorrect Pr. |
AD | 173 | Packet not allowed: Incorrect D-bit received. |
AE | 174 | Packet not allowed: Incorrect Q-bit received. |
AE | 174 | Packet not allowed: Incorrect Q-bit received. |
B0 | 176 | DTE-specific: (NPSI gate/date) (general). |
B1 | 177 | DTE-specific: No LU-to-LU session. |
C0 | 192 | DTE-specific: (general). |
C1 | 193 | DTE-specific: Termination pending. |
C2 | 194 | DTE-specific: Channel inoperative. |
C3 | 195 | DTE-specific: Unauthorized interrupt confirmation. |
C4 | 196 | DTE-specific: Unauthorized interrupt request. |
C5 | 197 | DTE-specific: PU (PVC) not available. |
C6 | 198 | DTE-specific: Inactivity timeout. |
C7 | 199 | DTE-specific: Incompatible line configuration. |
D0 | 208 | Resources: (general). |
D1 | 209 | Resources: Buffers depleted. |
D2 | 210 | Resources: PIU too long. |
E0 | 224 | Local procedure error: (general). |
E1 | 225 | Local procedure error: Packet with LC=0 not received. |
E2 | 226 | Local procedure error: Restart or diagnostic packet on LCI =x'000'. |
E3 | 227 | Local procedure error: Incoming call received on wrong LC. |
E4 | 228 | Local procedure error: Facility not subscribed. |
E5 | 229 | Local procedure error: Packet not restart or diagnostic on LCI = x'000'. |
E6 | 230 | Local procedure error: Facility parameters not supported. |
E7 | 231 | Local procedure error: Facility not supported. |
E8 | 232 | Local procedure error: Unexpected calling DTE. |
E9 | 233 | Local procedure error: Incorrect D-bit request. |
EA | 234 | Local procedure error: Reset indication on virtual call. |
EB | 235 | Local procedure error: Incorrect protocol identifier. |
EC | 236 | Local procedure error: Connection identifier mismatch. |
ED | 237 | Local procedure error: Missing cause or diagnostic code. |
The following list describes the logical channel states for the CCITT-defined diagnostic codes.