EasyManuals Logo

Cisco 2620 User Manual

Cisco 2620
196 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #174 background imageLoading...
Page #174 background image
B-6
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
OL-1957-04
AppendixB Formatting the Compact Flash Memory Cards
File and Directory Operations
Delete Files from Compact Flash Memory
To delete a file from compact Flash memory, enter the delete {flash: | slot0:} command, followed by
the squeeze {flash: | slot0:} command.
When a file is deleted in the Class B Flash file system, the memory space occupied by the deleted file is
not released until you enter the squeeze {flash: | slot0:} command. Although the memory space once
occupied by the deleted file remains, the deleted file cannot be recovered. To release the memory space
occupied by a deleted file, enter the squeeze {flash: | slot0:} command.
Note The dir {flash: | slot0:} command does not show deleted files; the show {flash: | slot0:} command
shows all files, including any deleted files if the squeeze {flash: | slot0:} command has not been entered.
The following example shows output for deleting a Cisco IOS file from an external compact Flash
memory card, and then releasing the memory space originally occupied by the file:
Router# dir slot0:
Directory of slot0:/
1 -rw- 6458208 <no date> c3725-i-mz.tmp
2 -rw- 6458208 <no date> c3725-i-mz
16056320 bytes total (3139776 bytes free)
Router# delete slot0:c3725-i-mz.tmp
Delete filename [c3725-i-mz.tmp]?
Delete slot0:c3725-i-mz.tmp? [confirm]
Router# dir slot0:
Directory of slot0:/
2 -rw- 6458208 <no date> c3725-i-mz
16056320 bytes total (3139776 bytes free)
Router# show slot0:
Slot0 CompactFlash directory:
File Length Name/status
1 6458208 c3725-i-mz.tmp [deleted]
2 6458208 c3725-i-mz
[12916544 bytes used, 3139776 available, 16056320 total]
15680K bytes of ATA Slot0 CompactFlash (Read/Write)
Router# squeeze slot0:
Squeeze operation may take a while. Continue? [confirm]
squeeze in progress...
sssssssssssssssssssssssseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Rebuild file system directory...
Squeeze of slot0 complete
Display File Content
To display the content of a file in compact Flash memory, use the more {flash: | slot0:} command.
The following example shows output from the more {flash: | slot0:} command on an external
CiscoFlash memory card:
Router# more slot0:c3725-i-mz
00000000: 7F454C46 01020100 00000000 00000000 .ELF .... .... ....

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 2620 and is the answer not in the manual?

Cisco 2620 Specifications

General IconGeneral
BrandCisco
Model2620
CategoryNetwork Router
LanguageEnglish

Related product manuals