copy flash disk0

Copies the image binary stored in primary or secondary partition of the flash to the external USB flash drive.
Syntax
copy flash disk0 { file | primary | secondary } file name
Parameters
file
Specifies the file to be copied.
primary
Specifies the primary partition of the flash where the source file is located.
secondary
Specifies the secondary partition of the flash where the source file is located.
Modes

Privileged EXEC mode

Usage Guidelines

Use the show files disk0 to verify the files copied.

Examples

The following example shows copying the image binary stored in the primary partition of the flash to the external USB.

device# copy flash disk0 primary SWR08030q040.bin
Flash Memory Write (8192 bytes per dot)
................................................................................................................
Copy Done.

The following example shows copying the core files from the flash to disk0.

device# copy flash disk0 file ./cores/core_1078-1.gz   core-file

Automatic copy to member units: 1
Flash Memory Write (8192 bytes per dot) ICX7450-48 Switch#................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Copy Done.

The following example shows copying the log files from flash to disk0.

device# copy flash disk0 file ./logs/pid-log.txt pid-log-ruckus
Done.
History
Release version Command history
08.0.30 This command was introduced.