This command uploads the packet capture file to a SCP server or deletes a packet capture file from the Sensor. The action to upload or delete is passed as a parameter to this command.
Note
Before running the command, you should configure a valid SCP server. You can configure a SCP server by using set scpserver ip command. For example:
set scpserver ip 192.168.1.1For more information, see set scpserver ip.
Syntax:
pktcapturefile <upload/discard>
| Parameter | Description |
|---|---|
| upload | Uploads a packet capture file to the SCP server. By default, the captured packets are saved in the /tftpboot/capture.pcap file on the Sensor. This command uploads the capture.pcap file to the SCP server and deletes the file from the /tftpboot directory after the upload. |
| discard | Deletes the /tftpboot/capture.pcap packet capture file in the Sensor. |
Sample Output:
IntruDbg#> pktcapturefile upload
uploading capture file to scp server 192.168.1.15...
Please enter the SCP User Name : root
Transfer Successful
Applicable to:
NS9500 (standalone and stack), NS9x00, NS7500, NS7x50, NS7x00, NS5x00, NS3500, NS3x00 series, and Virtual IPS Sensors.