copy https flash

Copies an image from the HTTPS server to the flash memory.
Syntax
copy https flash { fqdn-name | ip-address } file-name { primary | secondary } [ 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.
primary
Specifies the primary partition.
secondary
Specifies the secondary partition.
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

Be aware when using this command that the flash memory is locked for the entire image download and installation process.

If a unified file image (UFI) is specified, the UFI consists of the application image, the boot code image, and the FI signature in one unified file.

Examples

The following example copies the “SPR08070b1.bin” image from the HTTPS server to the flash primary partition. IP address 10.1.1.1 is specified and port 876 is specified.

device# copy https flash 10.1.1.1 SPR08070b1.bin primary port 876

The following example copies the “SPR08070b1.bin” image from the HTTPS server to the flash secondary partition. IP address 10.2.1.1 is specified. Because no port is specified, the default of 443 is used.

device# copy https flash 10.2.1.1 SPR08070b1.bin secondary

The following example copies a primary UFI image file from the HTTPS server to the flash primary partition. IP address 10.2.1.1 is specified and port 700 is specified. The UFI consists of the application image, the boot code image, and the FI signature in one unified file.

device# copy https flash 10.2.1.1 SPR08080b1ufi.bin primary port 700
History
Release version Command history
08.0.80 This command was introduced.