Chapter 4: Utility Commands 245
capture
file|remote|line
Use this command to configure file capture options. The command is persistent
across a reboot cycle.
Format
capture {file|remote|line}
Mode Global Config
Parameter Description
file In the capture file mode, the captured packets are
stored in a file on NVRAM. The maximum file size
defaults to 524288 bytes. The switch can transfer the
file to a TFTP server via TFTP, SFTP, SCP via CLI,
and SNMP.
The file is formatted in pcap format, is named
cpuPktCapture.pcap, and can be examined using
network analyzer tools such as Wireshark or
Ethereal. Starting a file capture automatically
terminates any remote capture sessions and line
capturing. After the packet capture is activated, the
capture proceeds until the capture file reaches its
maximum size, or until the capture is stopped
manually using the CLI command capture stop.