Cisco Systems 3631, 2691 manual Display the contents of a CompactFlash memory card

Page 24

March 2002

File and Directory Procedures

The following example shows output for copying a configuration file to the running configuration in an internal CompactFlash memory card (flash:):

Router# copy flash:my-config2 running-config

Destination filename [running-config]? 709 bytes copied in 0.72 secs

Display the contents of a CompactFlash memory card

To display the contents (directories and files) of a CompactFlash memory card formatted with a Class B Flash file system, enter the dir {flash: slot0:} command or the show {flash: slot0:} command.

The following example shows output for displaying the contents of an internal CompactFlash memory card using the dir flash: command:

Router# dir flash:

Directory of flash:/

1

-rw-

5190020

<no date>

c3631-i-mz

2

-rw-

6458584

<no

date>

c3725-i-mz

3

-rw-

16535740

<no

date>

c3631-telcoent-mz

128450560 bytes total (100266024 bytes free)

The following example shows output for displaying the contents of an external CompactFlash memory card using the show slot0: command:

Router# show slot0:

System CompactFlash directory:

File Length Name/status

15190020 c3631-i-mz

26458584 c3725-i-mz

316535740 c3631-telcoent-mz

[28184536 bytes used, 100266024 available, 128450560 total]

125440K bytes of ATA System CompactFlash (Read/Write)

Delete files from CompactFlash memory

To delete a file from CompactFlash 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 CompactFlash 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

 

 

 

Installing and Formatting Cisco 2691, Cisco 3631 and Cisco 3700 CompactFlash Memory Cards

 

 

 

 

 

 

 

 

 

 

 

 

 

 

24

 

 

 

 

 

 

78-13892-03

 

 

 

 

 

 

 

 

 

Image 24
Contents This document contains the following sections Preventing Electrostatic Discharge Damage Tools and Equipment NeededExternal CompactFlash Slot Location in a Cisco 2691 Router Installing a CompactFlash Memory Card in an External Slot Removing a CompactFlash Memory Card from an External SlotInternal CompactFlash Memory Card Location in a Cisco Compact Flash Memory card Removing a Plug-in CPU/Mainboard Removing the Front Panel from a Cisco 3745 Router Removing the Chassis Cover Removing the CPU/Mainboard from a Cisco 3745 RouterPage Lift cover Slide cover 62483 Removing an Internal CompactFlash Memory Card Installing an Internal CompactFlash Memory Card Reinstalling a Plug-in CPU/MainboardInserting Plug-in CPU/Mainboard into a Cisco 3745 Chassis Reinstalling the Cover on a Cisco Router Chassis. See , , or FigureInsert tabs and slide cover Close cover 62491 Power on the router Safety Information document that accompanied this deviceFormatting Procedures for CompactFlash Memory Cards Formatting ProceduresDetermining the File System on a CompactFlash Memory Card Router#show slot0 allRouter#show slot0all Router# show flash allRouter#show flash all Formatting CompactFlash Memory as a Class C File System Router# erase slot0Router# format flash File and Directory Procedures Router# copy flashmy-config1 startup-configOperations for Use With Class B Flash File System Copy filesDisplay the contents of a CompactFlash memory card Delete files from CompactFlash memoryDisplay file content Router# squeeze slot0Router# more slot0c3725-i-mz Operations for Use with Class C Flash File System File Operations for Class C Flash File SystemRouter# copy slot0c3725-i-mz.tmp flash Display geometry and format information Router# show slot0 filesysRouter# delete flashc3725-i-mz.tmp Rename a file Router# more flashc3725-i-mz.tmpRouter# mkdir flash/config/test-config Directory Operations for Class C Flash File SystemCreate a new directory Remove a directoryEnter a directory and determine which directory you are Obtaining Documentation World Wide WebDocumentation CD-ROM Ordering DocumentationContacting TAC by Using the Cisco TAC Website Obtaining Technical AssistanceCisco.com Technical Assistance CenterContacting TAC by Telephone
Related manuals
Manual 28 pages 13.71 Kb