Tracing and Logging Utilities

nettl

NOTE

The device file must be called x25_npx, where n

 

represents the mandatory card instance number (range

 

0 to 255). The card instance number is the number

 

reported by the ioscan -fcommand output (in the “I”

 

column). The (lower case) p is a place holder and x

 

represents the port number (1 or 2). p and x are

 

required only for systems with dual-port cards.

 

-traceoff(-tf)This option turns tracing, specified with the -entity

 

 

option, off.

 

-status(-ss) trace Use this option to get a report on the

 

tracing/logging status.

 

Examples

 

To turn tracing on at Level 3 for device x25_1 (interface number 1) and

 

receive packet header AND packet data information:

 

nettl -tn pduin pduout -e SX25L3 -c x25_1 -f /tmp/tracex25

 

To turn tracing off at Level 3 for the device x25_1:

 

nettl -tf -e SX25L3 -c x25_1

180

Chapter 7