HP e-Commerce / XML director server appliance sa8250 - Users Guide

C H A P T E R 5 Global System Commands
169
trace
Displays TCP packets coming into or out of the SA8250. It can be
helpful for troubleshooting network problems. Trace accepts a
tcpdump-style expression and several command line options that
cause the device to capture packets in the tcpdump binary format;
You can TFTP this capture to a remote machine for debugging.
Use the CLI File Management command
put to TFTP the
resultant dump file from this device. Any machine with
tcpdump
can decode the binary file into human-readable packet dumps
using the "-r" switch. This command will prompt you for the name
of an output file and a filter file. Press
<return> when prompted
for a filter file if you do not have one. It is simply a text file
containing an arbitrarily long tcpdump-style expression which
trace can use.
trace <switches> {<expression>}
Available switches:
-a Attempt to use the DNS to convert address to names.
-c <int> Exit after receiving <int> packets (by default,
the command automatically exits after 60 seconds.
-e Print the link-level header on each dump line.
-i <interface> Specify an interface to capture packets
from (exp0 or exp1 for dual-homed devices).
-n Don't convert addresses to names.
-N Don't print domain name qualification of host names.
-q Output less protocol information.
-s <int> Capture <int> bytes of data from each packet
rather than the default of 76 bytes.
-S Output absolute rather than relative TCP sequence
numbers.
-t Don't output a timestamp on each dump line.
-tt Output an unformatted timestamp on each dump line.
-v Slightly more verbose output.
-vv Even more verbose output.
-x Output each packet in hex.
-X Output each packet in hex and ASCII.
Command Description
Global System Commands (continued)