copy https startup-config

Copies a configuration file from the HTTPS server to the startup configuration file.
Syntax
copy https startup-config { fqdn-name | ip-address } file-name [ port port-num ]
Parameters
fqdn-name
Specifies the fully qualified domain name (FQDN) of the server.
ip-address
Specifies an IP address.
file-name
Specifies the file name.
port port-num
Specifies the TCP server port number. Valid values range from 1 through 65535. If no port number is specified, the default is 443.
Modes

Privileged EXEC mode

Usage Guidelines

A reboot is required for the new configuration to take effect.

Note: Use caution when executing this command because the existing startup configuration is overwritten with the new configuration.

Examples

The following example copies an ICX configuration from the HTTPS server, specifying IP address 10.2.1.1 and the “cfg/backup.cfg” file name. Port number 876 is also specified.

device# copy https startup-config 10.2.1.1 cfg/backup.cfg port 876

The following example copies an ICX configuration from the HTTPS server, specifying IP address 10.1.1.1 and the “cfg/backup.cfg” file name. Because no port is specified, the default of 443 is used.

device# copy https startup-config 10.1.1.1 cfg/backup.cfg
History
Release version Command history
08.0.80 This command was introduced.