tcpdump
Enable a TCP dump for CPU bound traffic.
Z-Series
Syntax
tcpdump cp [capture-duration
time
| filter
expression
| max-
file-count
value
| packet-count
value
| snap-length
value
|
write-to
path
]
To disable the TCP dump, use the
no tcpdump
command.
Parameters
capture-duration
Enter the time for packet capturing. The timer begins as soon as the
command is enabled. The range is 20 to 9000 seconds.
filter
Specify the packet that will be dumped. If no filter is entered, all
packets are dumped. Filter expressions usually consist of an id (name
or num ber) preceded by one or more qualifiers. There are three
different kinds of qualifier: type, direction, or protocol.
Enclose the filter option with double quotes: “port 20.” The range is 1
to 100 characters.
max-file-count
Enter the maximum number of 1MB files. The maximum file size for a
TCP dump capture is 1MB. When a file reaches 1MB, a new file is
created, up to the specified number. The range is 1 to 20.
packet-count
Enter the number of packets to capture. The counter begins as soon
as the command is enabled. The range is 10 to 150000.
snap-length
Enter the number of bytes per packet to capture. Use this option to
reduce the size of the captured packets, to capture only the needed
headers and avoid rest of the data portion of the packet. The range is
0 to 1200.
write-to
Enter the location to save the captured packets. Files can be saved to
flash, to FTP, SCP, or TFTP:
•
flash://filepath
•
ftp://userid:password@hostip/filepath
•
scp://userid:password@hostip/filepath
•
tftp://hostip/filepath
Defaults
Disable
Command Modes
EXEC Privilege
Command History
Version 8.3.11.1
Introduced on the Z9000.
Usage
Information
You can use the capture-duration timer and the packet-count counter at the same time. The
TCP dump stops when the first of the thresholds is met. That means that even if the duration
timer is 9000 seconds, if the maximum file count parameter is met first, the dumps stop.
570
Summary of Contents for Force10 Z9000
Page 1: ...FTOS Command Line Reference Guide for the Z9000 System FTOS 9 1 0 0 ...
Page 96: ...96 ...
Page 194: ...194 ...
Page 312: ...312 ...
Page 540: ...540 ...
Page 546: ...546 ...
Page 560: ...560 ...
Page 566: ...566 ...
Page 590: ...action act UpdateCounter param0 1 0x01 param1 0 0x00 output truncated 590 ...
Page 624: ...624 ...
Page 638: ...638 ...
Page 648: ...648 ...
Page 659: ...Related Commands show gvrp displays the GVRP configuration 659 ...
Page 660: ...660 ...
Page 834: ...834 ...
Page 854: ...854 ...
Page 906: ...906 ...
Page 914: ...914 ...
Page 976: ...976 ...
Page 990: ...990 ...
Page 1006: ...1006 ...
Page 1008: ...1008 ...
Page 1026: ...1026 ...
Page 1145: ...10 211 1 2 Outgoing interface list GigabitEthernet 8 0 1145 ...
Page 1146: ...1146 ...
Page 1156: ...1156 ...
Page 1166: ...1166 ...
Page 1180: ...1180 ...
Page 1258: ...1258 ...
Page 1272: ...1272 ...
Page 1394: ...1394 ...
Page 1400: ...1400 ...
Page 1410: ...1410 ...
Page 1424: ...1424 ...
Page 1444: ...1444 ...
Page 1468: ...Version 8 3 8 0 Introduced on the S4810 1468 ...
Page 1470: ...1470 ...