Trace – HP Traffic Director sa7220 User Manual
Page 135

C H A P T E R 4
Tools Screen
123
Trace
The
trace
command captures traffic on a network that matches the
given expression. The
trace
output can be helpful for
troubleshooting network problems.
NOTE: By default,
trace
will automatically
exit after 60 seconds. If
the GUI is configured for
a shorter timeout, the
trace
information may
be lost. For more details,
please see “GUI Tab” in
this chapter.
Syntax:
trace [-aefnNpqStvxX] [-c
[-i
-F
-D
Switches enclosed in brackets [] are optional. The -w, -F, -H, and -D
switches are required. A complete listing of the switches for the
trace
command is found in the following table.
Example:
The command below TFTPs
my.filter
from
dhcp8/var/
tftpboot/my.filter
to the SA8220, captures five packets
(using the expressions in the
my.filter
file), and then writes the
packet information to the
fred.dump
file. Because of the -P switch,
the filter file is not deleted.
trace -c 5 -w fred.dump -F my.filter -H dhcp8
-D /var/tftpboot -P
If the -P switch is not used, the filter file is deleted.