copy https flash
copy https
flash { ip-address | ipv6-address } file-name { primary |
secondary } [ port port-num
]Privileged EXEC mode
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.
The following example copies an image from the HTTPS server with IP address 10.2.38.4 to primary flash and saves it under the filename webimage.
device# copy https flash 10.2.38.4 webimage primary Parameter Validation Successful Image Download Started .............................Image Download Done Image Validation Started Image Validation Completed Image Write Done Image Download Complete
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 port 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
| Release version | Command history |
|---|---|
| 08.0.80 | This command was introduced. |
| 09.0.00 | This command was modified. The FQDN option was deprecated. The IPv6 address option as added. |