copy disk0 flash

Copies configuration data from an external USB disk to flash.
Syntax
copy disk0 flash file-name { certificate-data-file | client-certificate | client-private-key | file | fips-primary-sig | fips-secondary-sig | fips-ufi-primary-sig | fips-ufi-secondary-sig | local-pri | local-sec |primary | secondary | ssh-pub-key-file | ssl-private-key-file | trust-certificate }
Parameters
certificate-data-file
Imports the SSL client certificate file.
client-certificate
Specifies a client RSA certificate.
client-private-key
Specifies a client RSA private key.
file-name
Specifies a file.
fips-primary-sig
Specifies the primary signature file.
fips-secondary-sig
Specifies the secondary signature file.
fips-ufi-primary-sig
Specifies the primary UFI signature file.
fips-ufi-secondary-sig
Specifies the secondary UFI signature file.
local-pri
Specifies a primary code image on the local unit.
local-sec
Specifies a ssecondary code image on the local unit.
primary
Specifies a primary code image.
secondary
Specifies a secondary code image.
ssh-pub-key-file
Imports the client public keys.
ssl-private-key-file
Imports the SSL client private key.
trust-certificate
Specifies a trust certificate.
Modes

Privileged EXEC mode

Examples

The following example copies a file to the secondary flash memory from an external USB disk.

device# copy disk0 flash ufip.bin secondary 
Parameter Validation Successful
Image Download started
Image Download Done
Image Validation Started
Image Write Done
Image Download Complete
History
Release version Command history
08.0.90 The command was modified. The following parameters were deprecated: bootrom, fips-bootrom-sig, fips-primary-sig, fips-secondary-sig.
09.0.00 The certificate-data-file, ssh-pub-key-file, and ssl-private-key-file keywords were added.