Operating System - HP-UX
1834196 Members
2566 Online
110065 Solutions
New Discussion

Re: Need explanation of N_DCNX_KO netsub.c (nettl)

 
Ceesjan van Hattum
Esteemed Contributor

Need explanation of N_DCNX_KO netsub.c (nettl)

Hi,
I have a problem with X.25 subadressing,
and therefor i logged some records using nettl.
Can anyone explain the Flags and Reasonscodes,
or point me to some manual...

Sending:
***********************************HP OSI MGMT******************************@#%
Timestamp : Mon Sep 27 METDST 2004 13:48:26.857217
Process ID : [ICS] Subsystem : NETWORK
User ID ( UID ) : -1 Log Class : INFORMATIVE
Device ID : -1 Path ID : -1
Connection ID : -1 Log Instance : 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3002] N_ESTAB netmai2.c 1071
[....] ENT=30 CTX=1 Pr-state=2 Sndcp=1 N-sap=55 SN-sap=20
[....] Called Snpa=e02062380123110f Calling Snpa=71702235
[....] Called Nsap=2062380123 Calling Nsap=01702235
[....] Flags=01 Org/Reas=0000 CHN=1 1 Qos=00 Prio=0 SN-pdu size= 128 128

Resulting in:
***********************************HP OSI MGMT******************************@#%
Timestamp : Mon Sep 27 METDST 2004 13:48:27.452836
Process ID : [ICS] Subsystem : NETWORK
User ID ( UID ) : -1 Log Class : ERROR
Device ID : -1 Path ID : -1
Connection ID : -1 Log Instance : 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3005] N_DCNX_KO netsub.c 803
[....] ENT=30 CTX=1 Pr-state=6 Sndcp=1 N-sap=55 SN-sap=20
[....] Called Snpa=e02062380123110f Calling Snpa=71702235
[....] Called Nsap=2062380123 Calling Nsap=01702235
[....] Flags=41 Org/Reas=0120 CHN=1 0 Qos=00 Prio=0 SN-pdu size= 128 128
[....] SHcntrs=0 LGcntrs=3 235 1 31

I see a change in Flags: 00->41
and a Org/Reas=0000 -> 0120 (!!)
What is this?


Regards,
Ceesjan van Hattum
1 REPLY 1
Ceesjan van Hattum
Esteemed Contributor

Re: Need explanation of N_DCNX_KO netsub.c (nettl)

Hi to myself,

I'm sorry not to be able to explain the question, but the solution is to check the
selectors:
Above you see the low levvel Nsap.
The Snpa is the same, preceeding with hex e is decimal 14, so nsap=14 digits, appended with f (just to complete it), Snpa starts with 7, meaning, 7 digits to use.
But it can't go further to higher levels,
if the Destinationsystem does explicitly use SSAP and PSAP.
I'm used to use only TSAPs, but not the other fields.
By configuring the SSAP and PSAP of the adjecent MTA, the connection was set immediatly, without any problem.

Regards,
Ceesjan