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

Page 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

 

 

Image 52
Contents Installing Memory in the Router Accessing the Mainboard Removing the Cisco 3620 or Cisco 3640 Router CoverPerform the following procedure to remove the chassis cover Removing the Cisco 3631 Router CoverLift cover Slide cover Removing the Cisco 3631 Router CoverRemoving the Cisco 3660 Mainboard Tray Replacing Dram and Sdram Dram SIMMs Used in Cisco 3620 and Cisco 3640 Routers Dram Simm Locations in the Cisco 3620 Router Bank Total Simm Memory 16 MBNot installed 16 MB MB-Dual2 24 MB 32 MB 40 MB 48 MB Bank 0 Simm Total MemoryDram Simm Orientation Dram SimmRemoving Dram Simms Top view Front of chassisInstalling Dram SIMMs Repeat through for each SimmSdram DIMMs Used in the Cisco 3631 and Cisco 3660 Router 64 MB Not installed 32 MB 96 MB 128 MB 160 MB 192 MB 256 MB Bank 0 Simm Bank 1 Simm Total Memory11 Sdram Dimm Locations in the Cisco 3660 Router Sdram Dimm Orientation 12 Sdram Dimm13 Removing and Installing Sdram DIMMs Removing Sdram DimmsInstalling Sdram DIMMs Replacing Flash Memory SIMMs12 MB Bank16 MB 20 MB 12 MB 24 MB 32 MB 64 MB 14 Flash Memory Simm Locations on the Cisco 3620 Mainboard Removing Flash Memory SIMMs 16 Flash Memory Simm Locations on the Cisco 3660 MainboardInstalling Flash Memory SIMMs 17 Removing Flash Memory SIMMsReplacing the ROM Cisco 3620, Cisco 3640, and CiscoLocate the ROM on the mainboard. See -19through Figure 19 ROM Location on the Cisco 3620 Mainboard20 ROM Location on the Cisco 3640 Mainboard 22 Removing the ROM from the Cisco 3660 Mainboard Testing ROM Installation CiscoReboot the router using the new ROM image Select the ROM image for next rebootRouter # upgrade rom-monitor preference readonly upgrade Verify the ROM versionReplacing the Cover on a Cisco 3620 or Cisco 3640 Router 24 Replacing the Cisco 3620 Router CoverReplacing the Cover on a Cisco 3631 Router Insert tabs and slide cover Close cover 26 Replacing the Cisco 3631 Router CoverReplacing the Cisco 3660 Mainboard Tray 27 Replacing the Cisco 3660 Mainboard TrayInstalling a Flash Memory Card 28 Setting the Write-Protect Switch 30 Installing a Flash Memory Card in a Cisco 3660 Router Removing a Flash Memory Card Enter global configuration mode Router# configure terminalRouterconfig# partition slot1 1 2 Partitioning a Flash Memory CardDisplaying the Contents of a Flash Memory Card Copying a Running Configuration File to a Flash Memory Card Router# copy running-config slot03myconfigCopying a File Between Slots Enter privileged Exec mode as followsRouter# copy slot03TESTFILE flash2TESTFILE2 Booting from a Flash Memory Card Router# copy slot03TESTFILE slot1Erasing the Contents of a Flash Memory Card Preventing Electrostatic Discharge Damage Tools and Equipment NeededCompact Flash Memory Card Installation and Removal Removing the Chassis CoverRemoving the Compact Flash Memory Card Removing the Cover from a CiscoInstalling the Compact Flash Memory Card Instructions on formatting the Compact Flash memory cardReinstalling the Cover Replacing the Cover on a CiscoFormatting Procedures for Compact Flash Memory Cards Safety Information document that accompanied this deviceROM monitor to recognize and boot the Flash Determining the File System on a Compact Flash Memory CardCommand Formatting Compact Flash Memory as a DOS File SystemClass B Flash file system Router# format flashFile and Directory Procedures Procedures for Use with DOS File SystemRouter# copy flashmy-config2 running-config File OperationsDisplay Geometry and Format Information Display the Contents of a Compact Flash CardDelete Files from Compact Flash Memory Display the Contents of a File Rename a File in FlashCreate a New Directory Directory OperationsRemove a Directory Procedures for Use with Class B Flash File System Enter a Directory and Determine Which Directory You AreDisplay the Contents of a Compact Flash Memory Card Router# squeeze flash Router# more flashc3725-i-mzOL-2056-02