copy flash flash

Copies the flash image between primary and secondary flash memory or from active controller primary or secondary flash memory to a stack unit.
Syntax
copy flash flash [ primary | secondary | unit-id-pri unit-num |unit-id-sec unit-num ]
Parameters
primary
Copy secondary flash to primary flash
secondary
Copy primary flash to secondary flash
unit-id-pri unit-num
Copy active primary image to unit ID
unit-id-sec unit-num
Copy active secondary image to unit ID
unit-num
Stack unit ID
Modes

Privileged EXEC mode

Usage Guidelines

The command can be used to overcome stack unit image mismatches.

In place of a single unit ID (unit-num), the command can accept a list of stack unit IDs, a range of stack unit IDs, or a combination of the two. IDs in a list must be separated by commas. Ranges of IDs are identified by a hyphen. No spaces may be used in lists or ranges.

Examples

In the following example, active controller primary flash image is copied to stack unit 2.

device# copy flash flash unit-id-pri 2

In the following example, active controller secondary flash image is copied to a series of stack units (2, 3, and 4) and a range (5-8).

device# copy flash flash unit-id-sec 2,3,4,5-8