copy capture-file https

Last Updated : Jul 12, 2021 |

Uploads the packet sniffing buffer to a file using HTTPS protocol.

Note:

You must stop the packet sniffing service using the capture stop command before you can upload the buffer.

Syntax

copy capture-file https <URL> [transfer-type]

Parameters

Parameter

Description

Possible Values

Default Value

URL

The URL contains the following elements in order:

  • http://or https://

  • username (optional) followed by @

  • webserver host:- IPv4 address, IPv6 address, or Fully Qualified Domain Name of the remote HTTP or HTTPS server

  • :webserver port (optional)

  • /file path

  • path

  • filename

https://

transfer-type

The transfer type depending on the type of verification. The options are:

  • secure: verifies the certificate and hostname, applicable for https

  • certificate: verifies the webserver TLS certificate, applicable for https

  • unsecure: no TLS certificate verification required

  • secure

  • certificate

  • unsecure

  • secure for https

  • unsecure for http

User level

admin

Context

general

Example

To upload the packet sniffing buffer to gxxx.cap on the HTTPS server at IP address 135.64.10.33:

Gxxx-001(super)# copy capture-file http://my.example.com 135.64.10.33