1835200 Members
2434 Online
110077 Solutions
New Discussion

X.25 tracing

 
Sven Mueller
Occasional Contributor

X.25 tracing

I need an overview of all existing X.25 connections and the possibility to trace one of them. Is there any build-in tool in hp-ux10.20 which is doing this?

Thanks Sven!
4 REPLIES 4
Alex Glennie
Honored Contributor

Re: X.25 tracing

I'd be looking into : x25stat -v output & the utility lsof (shareware) :

x25stat -v output
LCI(0x) Type VC State Subnetwork Local Address Remote Address
------- ---- -------- ---------- ------------- --------------
064 SVC-2way Datatransfer 0p1 45400050266 45400120033
063 SVC-2way Datatransfer 0p1 45400050266 45461040020
062 SVC-2way Datatransfer 0p1 45400050266 4546104002

lsof output
COMMAND PID USER FD TYPE DEVICE SIZE/OFF INODE NAME
x29server 772 root 6u X25 socket:0x018bce00 Listen
--> Addr: NULL, Pid: 01000000 ( Mask: FF000000), Card: all
prx25_031 3149 schmi.a 5u X25 socket:0x01aad600 Connect
--> Addr: 45400050266 -> 45461040020, Card: x25_3239936
prx25_041 4143 migr 6u X25 socket:0x0215ca00 Connect
--> Addr: 45400050266 -> 45284190022, Card: x25_3239936
prx25_042 4209 migr 6u X25 socket:0x02502a00 Connect
Sven Mueller
Occasional Contributor

Re: X.25 tracing

thanks the x25stat gives an good overview of existing connections. But I still need somthing to trace or at least perhaps a hint how to program a tracer by myself.
i don't know how to trace an existing connection...
Berlene Herren
Honored Contributor

Re: X.25 tracing

You can try nettl:

Here is the list of x.25 entities

For Classic X.25 Level 2 use '-e x25l2 -c x25_0'
For Classic X.25 Level 3 use '-e x25l3 -c x25_0'
For Streams X.25 Level 2 use '-e sx25l2 -c x25_0'
For Streams X.25 Level 3 use '-e sx25l3 -c x25_0'

Turn on outbound PDU tracing for X.25 level two, and subsystem ns_ls_ip. Trace messages go to the trace file set up in the
previous example. This example also uses the abbreviated options. Tracing for X.25 requires a -card option to indicate which X.25 card to trace.
nettl -tn pduout -e X25L2 ns_ls_ip -c x25_0

I attached a document that may help...

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
Sven Mueller
Occasional Contributor

Re: X.25 tracing

is there a possibility to trace only one channel using nettl? i haven't found an option to do this, but perhaps its possible with special filter parameters...