copy https startup-config

Last Updated : Jul 12, 2021 |

Downloads a configuration file from the HTTP or HTTPS server to the gateway.

Syntax

copy https startup-config <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 download startup_config.cfg from HTTP or HTTPS server to the gateway:

Gxxx-001(super)# copy https startup-config https://user@myexample.com/mg-1.cfg

Enter WebServer password:

Gxxx-001(super)# copy https startup-config https://[2001:db8::c0a8:310a]:443/mg-1.cfg