1  TCPTRACE
   Starts the TCPTRACE utility. The TCPTRACE utility lets you trace
   packet flow between the local host and remote hosts. You can
   either monitor all packet flow or use the various qualifiers to
   monitor only those packets of interest.

   Format

     TCPTRACE  host [/BUFFERS=n | /FULL | /OUTPUT |/PACKETS=n |

               /PORT=option | /PROTOCOL=option]
 

2  Parameters
 

host

   Required.

   Remote host to which you are sending packets for tracing.
 

2  Qualifiers
 

/BUFFERS

      /BUFFERS=n

   Optional. Default: 400 for OpenVMS Alpha or I64; 50 for OpenVMS
   VAX.

   Specifies the number of buffers that TCPTRACE allocates for
   temporary storage. If the LKWSETFUL error is returned, the
   process's working set quota is too small to fit the number of
   requested buffers. These buffers must be locked into the process
   working set, so you may have to decrease the number of buffers
   to accommodate the working set size, or increase the number to
   prevent TCPTRACE from dropping packets.
 

/FULL

   Optional. Default: Brief display.

   Displays the packet contents.
 

/OUTPUT

   Optional. Default: Screen display.

   Redirects the trace output to a file. If you specify a file name
   that already exists, TCPTRACE appends new trace information to
   the existing file.
 

/PACKETS

      /PACKETS=n

   Optional. Default: 10.

   Stops the trace after TCPTRACE displays the specified number of
   packets.
 

/PORT

      /PORT ={LOCAL | REMOTE}= n

   Optional. Default: Trace all port numbers.

   Specifies the local or remote port number to trace. Use in
   conjunction with the /PROTOCOL qualifier to filter tracing to
   an exact port and protocol.
 

/PROTOCOL

      /PROTOCOL = {ARP | ICMP | IP | TCP | UDP}

   Optional. Default: IP

   Specifies the protocol to trace. Use in conjunction with the
   /PORT qualifier to filter tracing to an exact port and protocol.
 

2  Examples

   1.$  TCPTRACE HOST1 /FULL /PORT=REMOTE=21

     Traces packets for host HOST1 and remote port number 21.
     TCPTRACE provides a full display of the packets contents.

   2.$  TCPTRACE HOST2 /FULL /PORT=(LOCAL=23, REMOTE=1056) -

     _$  /PACKETS=30 /OUTPUT=TELNET_TRACE.TXT)

     Traces packets for host HOST2 with a local port of 23 and
     remote port number of 1056. TCPTRACE provides a full display
     of the packets contents. TCPTRACE continues the trace for 30
     packets and writes the output to the file TELNET_TRACE.TXT in
     the current directory.