=====                                               NOSview [137]
trace
=====

_________________________________________________________________
trace [<interface> [off | <BTIO_flags> [<tracefile>]]]
_________________________________________________________________
Controls packet tracing by the interface drivers.

The Broadcast/Type/Input/Output (BTIO) flag settings specify the
amount of information produced.

Tracing is controlled on a per-interface basis; without
arguments, 'trace' gives a list of all defined interfaces and
their tracing status.

The BTIO settings are expressed as a hexadecimal number as
follows:

B=1:  Broadcast filter flag enabled.  Only packets specifically
      addressed to this interface will be displayed.  Broadcast
      packets will be ignored.

B=0:  Broadcast filter flag disabled.

T=2:  Protocol headers are decoded, and the entire packet
      (headers AND data) is also displayed in hexadecimal
      and ASCII, 16 characters per line.  Unprintable characters
      are displayed as dots.

T=1:  Protocol headers are decoded, and data (but not the
      headers themselves) are displayed as ASCII characters,
      64 characters/line.

T=0:  Protocol headers are decoded, but data is not displayed.

I=1:  Enable tracing of input packets.

I=0:  Disable tracing of input packets.

O=1:  Enable tracing of output packets.

O=0:  Disable tracing of output packets.

By default, trace output is displayed on the screen.

If a <trace_filename> is given, trace output is saved in the
specified file.  The trace file is closed by setting the BTIO
flags to 000.

>> Examples: trace tnc0 211            (full trace, on screen)
             trace tnc0 211 tnc0.trc   (save trace in 'tnc0.trc')
             trace tnc0 0              (stop trace & close file)
