Technical data

TCPTRACE
Examples
The following examples show how to use the TCPTRACE command.
1.
$ TCPTRACE HOST1 /FULL /PORT=(REMOTE=21)
This example shows how to use the
TCPTRACE
command to trace packets
between the local system and
Host1
.
TCPTRACE
filters all packets except those
packets directed to port 21 on the remote host.
2.
$ TCPTRACE HOST2 /PORT=(LOCAL=23, REMOTE=1056) -
_$ /FULL /PACKETS=30 /OUTPUT=TELNET_TRACE.TXT
This example shows how to use the
TCPTRACE
command to trace packets
between the local system and
Host2
.
TCPTRACE
filters all packets except those
packets directed to port 23 on the local host and port 1056 on the remote host.
The trace results are output to a file with the name TELNET_TRACE.TXT.
The trace stops after 30 packets meeting the specifications are encountered.
Troubleshooting Utilities Reference A–47