5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
219
Parameters
all
Capture all traffic.
receive
Capture only received traffic.
transmit
Capture only transmitted traffic.
Default
The default is None.
Command Mode
Privileged EXEC
5-93
capture stop
Stop allows for manual ending of CPU packet capturing for packet trace.
capture stop
Parameters
None
Default
The default is None.
Command Mode
Privileged EXEC
5-94
capture
This command allows for configuration of file capture options (persistent across a reboot cycle.
capture {file | remote | line | USB}
Parameters
file
ln capture file mode, packets are saved to a file on NVRAM (maximum
file size default: 524288 bytes). File can be transferred to TFTP server
via TFTP, SFTP, SCP via CLI, and SNMP.
File format: pcap
Naming: cpuPktCapture.pcap
Use network analyzer tools such as Wireshark
®
or Ethereal
®
to review