copy tshark-pcap

Syntax

copy tshark-pcap(多联机]

描述

Copies the tshark capture data to a file on a TFTP or SFTP server.

Command context

Manager (#)

Parameters

Specifies the capture file on a remote TFTP or SFTP server. The URL syntax is:
{tftp:// | sftp://@} {|} [:<阿宝RT>] [; blocksize =]/
vrf

Specifies the name of a VRF. Default: default.

权威

Administrators or local user group members with execution rights for this command.

Example

Copying the capture data to a file on SFTP server 10.0.0.2:

switch#copy tshark-pcap sftp://root@10.0.0.2/file.pcaproot@10.0.0.2's password: Connected to 10.0.0.2. sftp> put packets.pcap file.pcap Uploading packets.pcap to /root/file.pcap packets.pcap 100% 156 219.8KB/s 00:00 Copied successfully.