copy dhcp-binding https

Last Updated : Jul 12, 2021 |
Copies the DHCP bindings file to a remote server using HTTP or HTTPS protocol.
Prolog information

Syntax

copy dhcp-binding 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

read-write

Context

general

Example

To copy the binding file, dhcp_binding.txt, to the HTTP or HTTPS server:
Gxxx-001(super)# copy dhcp-binding https http://www.example.com/files/dhcp_binding.txt
Gxxx-001(super)# copy dhcp-binding https [2001:db8::c657:8699]:443/dhcp_binding.txt
Gxxx-001(super)# copy dhcp-binding https https://1.2.3.4/mgs/dhcp_binding.txt cert