Cisco Systems OL-2056-02 manual Display the Contents of a Compact Flash Memory Card

Models: OL-2056-02

1 58
Download 58 pages 3.46 Kb
Page 56
Image 56

Chapter 5 Installing Memory in the Router

Installing and Formatting Compact Flash Memory Cards in Cisco 3631 Routers

The following example shows output for copying a configuration file to the running configuration in an internal Compact Flash 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 Compact Flash Memory Card

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

The following example shows output for displaying the contents of a Compact Flash 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 a Compact Flash memory card using the show flash: command.

Router# show flash:

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 Compact Flash Memory

To delete a file from Compact Flash memory, use the delete flash: filename command, followed by the

squeeze flash: 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 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: command.

Note The dir command does not show deleted files; the show command shows all files, including any deleted files if the squeeze command has not been entered.

Cisco 3600 Series Hardware Installation Guide

5-56

OL-2056-02

 

 

Page 56
Image 56
Cisco Systems OL-2056-02 manual Display the Contents of a Compact Flash Memory Card, Delete Files from Compact Flash Memory