HP X.25/9000 User's Guide HP-UX 11i v3 (5900-1523, August 2011)
nettl
Use this command to create an X.25 trace file. The description below is limited to the context of
X.25 and assumes that nettl is already operating on your system.
For XOT, Level 3 packets cannot be traced directly as it is done over XOL or the X.25 card. Instead,
an alternate tracing mechanism has been introduced.
Since an XOT packet gets transmitted over the TCP stack, it can be captured by enabling nettl
over the TCP subsystem. Then the new command netfmt –x can be used and the captured TCP
trace file can be formatted to display the X.25 Level 3 packet that has been encapsulated within
the TCP packet.
For more information and examples for this command, refer to your man pages.
NOTE: Before you can use the nettl command, your X.25 connection must be operating
(launched with the x25init command).
Syntax
nettl [-traceon kind [kind...]][-entity subsystem
[subsystem...]] [-file name] [-card dev name] [-size limit]
[-tracemax maxsize] [-m bytes]
nettl [-traceoff] [-entity subsystem [subsystem...]]
nettl [-status info]
Parameters
-traceon(-tn) Starts tracing on the specified subsystem(s). The traceon argument must
be accompanied by the -entity and -card options. The kind
(parameter) mask must also be specified. All operations on specified
subsystems are recorded when there is a match to the kind mask.
-tn kind The kind parameter defines the masks (keywords with associated mask
values) used by the tracing facility before recording messages.
You can use any of the following keywords and mask values:
Table 32 Tracing masks
mask
keyword
*
0x80000000hdrin
0x40000000hdrout
0x20000000pduin
0x10000000pduout
*
Use hdrin or hdrout when you only want packet header information displayed. Use pduin or pduout when
you want both the packet header AND the data displayed.
You can specify masks separately or combine them into a single number. For example, to enable
tracing for both pduin and pduout (all packets coming in and out of the node) use the value
0x30000000.
-entity (-e) Enter -e SX25L2 for level 2 tracing or -e SX25L3 for level 3 tracing.
-file (-f) Use this option to specify an output file for tracing information (mandatory
unless tracing has already been started on another interface). Use the
-traceon option the first time you run nettl to specify an output file.
nettl 119










