Datasheet
1-17
Memory Replacement Instructions for the Network Processing Engine or Network Services Engine and Input/Output Controller
OL-8358-03
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information
Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card
Using the copy Command
To copy an image from a CompactFlash Disk, Flash Disk, or PC card to another file system or from
another file system to the Flash Disk, use the copy command:
copy [dev:]source-filename [dev:]destination-filename
In this example:
• The file you want to copy is located in a file system (tftp:, bootflash:, slot0:, disk1:, and so forth).
• The variable source-filename is the name of the file you want to copy to another file system (tftp:,
bootflash:, slot0:, disk1:, and so forth).
• The variable destination-filename is the name you want to apply to this file after it is copied. This
can be the same name as the original filename or a different filename.
The following assumptions are made for this command:
• You have a system processor with a Flash Disk-compatible Cisco IOS software image in the onboard
Flash memory—called boot flash memory—so you can start the system.
• Your system is running Cisco IOS Release 12.0(2) or later.
• The bootable image you want to copy to the CompactFlash Disk, Flash Disk, or PC card exists in
another file system or on a TFTP server to which you have access (meaning you know its name and
have connectivity to it), and at least one interface is available over which you can access this server
through Telnet. To ensure access to a TFTP server, you need to configure at least one interface. To
configure an interface, you can use the setup command or use the configuration editor.
An Ethernet interface is used in the examples that follow.
• You know the filename of the image you want to copy to the CompactFlash Disk, Flash Disk, or PC
card.
Note You might need to copy a new image to a CompactFlash Disk, Flash Disk, or PC Card whenever a new
Cisco IOS software release or a new Cisco IOS software maintenance release becomes available. You
can use the copy command for this purpose.
Use the following procedure to copy a file (called new.image in this example) located on a
Flash Disk—called disk1:—in PC card slot 1 to the Flash Disk—called disk0:—in PC card slot 0:
Step 1 If the CompactFlash Disk, Flash Disk, or PC card is unformatted or has been formatted on another,
possibly incompatible system, format it now using the procedure in the “Using the format Command”
section on page 1-16, as appropriate.
Step 2 To copy the image new.image to Flash Disk disk0:, use the following series of commands:
System> enable
Password:
System# copy disk1:new.image disk0:new.image
3393 bytes copied in 0.548 secs#
System#
In the preceding example, the 3393-byte file new.image was copied to the Flash Disk in PC card slot 0
in approximately one-half second.