Quanta Computer QuantaMesh User Manual page 497

Layer 2/3/4 managed switch
Table of Contents

Advertisement

UANTA COMPUTER INC.
5.16.18.2.3 Capture packet to file, remote or line
Use this command to configure packet capture options. This command is persistent across a reboot
cycle.
Syntax
capture {file | remote | line}
file – In the capture file mode, the captured packets are stored in a file on Flash. The maximum file
size defaults to 512KB. The switch can transfer the file to a TFTP server via TFTP, FTP via CLI. The
file is formatted in pcap format, is name cpu-pkt-capture.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 captureing. After the packet capture is activated, the capture
proceeds until the capture file reaches its maimum size, or until the capture is stopped manually
using CLI command „capture stop".
Remote – In the remote capture mode, the captured packets are redirected in real time to an
external PC running the wireshark tool for Microsoft Windows. A packet capture server runs on the
switch side and sends the captured packets via a TCP connection to the Wireshark tool. The remote
capture can be enabled or disable using the CLI. There should be a Windows PC with the Wireshark
tool to display the captured file. When using the remote capture mode, the switch does not sotre any
captured data locally on its file system.
You can configure the IP port number for connecting Wireshark to the switch. The default port
number is 2002. If a firewall is installed between the Wireshark PC and the switch, then these ports
must be allowed to pass through the firewall.
If the client successfully connects to the switch, the CPU packets are sent to the client PC, then
Wireshark receives the packets and displays them. This continues until the session is terminated by
either end.
line – In the capture line mode, the captured packets are saved into the RAM and can be displayed
on the CLI. Starting a line capture automatically terminates any remote capture dession and
capturing into a file. There is a maximum 128 packets of maximum 128 btes that can be captured
and displayed in Line mode.
Default Setting
Remote
Command Mode
Global Config
Layer 2/3/4 Managed Switch
QuantaMesh | Switching Commands
497

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the QuantaMesh and is the answer not in the manual?

Table of Contents

Save PDF