Netgear M5300-52G3 Command Line Interface (CLI) User Manual - Page 597
capture remote port, no capture
View all Netgear M5300-52G3 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 597 highlights
ProSafe Managed Switch Parameter file remote line Description In 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, Web and SNMP. The file is formatted in pcap format, is named cpuPktCapture.pcap, and can be examined using network analyzer tools such as Wireshark® by 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. In 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 disabled 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 store 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. You must configure the firewall to allow the Wireshark PC to initiate TCP connections to the switch. If the socket connection to Wireshark has been established, then the captured CPU packets are written to the data socket. Wireshark receives the packets and processes it to display. This continues until the session is terminated by either end. Starting a remote capture session automatically terminates the file capture and line capturing. In capture line mode, the captured packets are saved in real time mode into the RAM and can be displayed on the CLI. Starting a line capture automatically terminates any remote capture session and capturing into a file. no capture Use this command to reset the capture mode to remote mode. Format Mode no capture Global Config capture remote port Use this command to configure file capture options. The command is persistent across a reboot cycle. Default Format Mode 2002 capture remote port Global Config no capture remote port Use this command to reset the remote port to the default (2002). Format Mode no capture report port Global Config Utility Commands 597