Tracing and Logging Utilities

nettl

Table 7-2

Tracing Masks
keyword amask

hdrin0x80000000

hdrout0x40000000

pduin0x20000000

pduout0x10000000

a.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.

-entity (-e)

-file (-f)

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.

Enter -e SX25L2 for level 2 tracing or -e SX25L3 for level 3 tracing.

Use this option to specify an output file for tracing information (mandatory unless tracing has already been started on another interface). Use the -traceonoption the first time you run nettl to specify an output file.

NOTE

The .TRCX suffix is automatically appended to the

 

 

output file where X starts at 0 and changes to 1 when

 

 

the file becomes full. Traces are always written to the

 

 

.TRC0 file.

 

-card(-c)

This option is required with the traceon command to

 

 

 

specify the X.25 subsystem interface (port) name. The

 

 

X.25 device is specified with x25_npx which identifies

 

 

the interface defined in your X.25 configuration file.

Chapter 7

179