File Operations On Compactflash Memory Cards; Copying Files; Displaying Files - Cisco 2800 Series Manual

Hide thumbs Also See for 2800 Series:
Table of Contents

Advertisement

Format:All system sectors written. OK...
Format:Total sectors in formatted partition:250592
Format:Total bytes in formatted partition:128303104
Format:Operation completed successfully.
Format of flash complete

File Operations on CompactFlash Memory Cards

File and directory operations vary according to the formatted file system—Class B or Class C.
This section describes the following file operations for external CF memory cards:

Copying Files

To copy files, enter the copy command in privileged EXEC mode. To indicate a file that is stored in a
CF memory card, precede the filename with flash:.
Examples: Copying Files
In the following example, the file my-config1 on the CF memory card is copied into the startup-config
file in the system memory:
Router# copy flash:my-config1 startup-config
Destination filename [startup-config]?
[OK]
517 bytes copied in 4.188 secs (129 bytes/sec)
In the following example, the file my-config2 on the CF memory card is copied into the running-config
file in the system memory:
Router# copy flash:my-config2 running-config
Destination filename [running-config]?
709 bytes copied in 0.72 secs

Displaying Files

To display a list of files on a CF memory card, enter the dir flash: command in privileged EXEC mode:
Router# dir flash:
OL-5596-01
Copying Files, page 5
Displaying Files, page 5
Displaying File Content, page 6
Displaying Geometry and Format Information (Class C Only), page 6
Deleting Files, page 7
Renaming Files, page 8
Directory of flash:/
1580
-rw-
6462268
3
-rw-
6458388
63930368 bytes total (51007488 bytes free)
Mar 06 2004 06:14:02
c28xx-i-mz.3600ata
Mar 01 2004 00:01:24
c28xx-i-mz
File Operations on CompactFlash Memory Cards
Using CompactFlash Memory Cards
5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents