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

Models: OL-2056-02

1 58
Download 58 pages 3.46 Kb
Page 52
Image 52

Chapter 5 Installing Memory in the Router

Installing and Formatting Compact Flash Memory Cards in Cisco 3631 Routers

Display the Contents of a Compact Flash Card

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

The following example shows output for displaying the contents of a Compact Flash memory card with a Class C Flash file system:

Router# dir flash:

Directory of flash:/

3

-rw-

6455048

Mar

01

2001

00:04:06

c3725-i-mz

1579

-rw-

6458584

Mar

01

2001

00:24:38

c3725-i-mz.new

15912960 bytes total (2998272 bytes free)

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 formatted with a Class C Flash file system:

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: filename command.

The following example shows output for deleting a Cisco IOS file from a Compact Flash memory card:

Router# delete flash:c3725-i-mz.tmp

Delete filename [c3725-i-mz.tmp]?

Delete flash:c3725-i-mz.tmp? [confirm]

Router# dir flash:

Directory of flash:/

No files in directory

128094208 bytes total (128094208 bytes free)

Cisco 3600 Series Hardware Installation Guide

5-52

OL-2056-02

 

 

Page 52
Image 52
Cisco Systems OL-2056-02 manual Display the Contents of a Compact Flash Card, Display Geometry and Format Information