B-23
Cisco 2600 Series Routers Hardware Installation Guide
OL-2171-02
Appendix B Maintaining the Router
Installing and Formatting Compact Flash Memory Cards in Cisco 2691 Routers
Display Geometry and Format Information
To display the geometry and format information of a compact Flash memory card formatted with a
Class C Flash file system, use the show flash: command.
The following example shows output for displaying the geometry and format information of a compact
Flash memory card:
Router# show flash:
******** ATA Flash Card Geometry/Format Info ********
ATA CARD GEOMETRY
Number of Heads: 2
Number of Cylinders 490
Sectors per Cylinder 32
Sector Size 512
Total Sectors 31360
ATA CARD FORMAT
Number of FAT Sectors 12
Sectors Per Cluster 8
Number of Clusters 3885
Number of Data Sectors 31264
Base Root Sector 152
Base FAT Sector 128
Base Data Sector 184
Please use "dir" command to display the contents of the card.
Delete Files from Compact Flash Memory
To delete a file from a compact Flash memory card, use the delete flash: command.
The following example shows output for deleting a Cisco IOS file from a compact Flash memory card:
Router# delete flash:c2691-i-mz.122-7.6.T1
Delete filename [c2691-i-mz.122-7.6.T1]?
Delete flash:/c2691-i-mz.122-7.6.T1? [confirm]
Router# dir flash:
Directory of flash:/
3475 -rw- 9169616 May 07 1993 02:54:28 c2691-i-mz.122-7.5.T1
127832064 bytes total (118661120 bytes free)
Rename a File
To rename a file in a compact Flash memory card, use the rename flash: command.
The following example shows output for renaming a Cisco IOS file in an internal compact Flash memory
card:
Router# dir flash:
Directory of flash:/
3 -rw- 14221136 May 07 1993 03:18:24 c2691-i-mz.122-7.6.T1
3475 -rw- 9169616 May 07 1993 03:27:32 c2691-i-mz.122-7.5.T1
127832064 bytes total (104439808 bytes free)
Router# rename flash:c2691-i-mz.122-7.6.T1 flash:c2691-i-mz.tmp