Cisco Systems OL-2056-02 manual Formatting Compact Flash Memory as a DOS File System, Command

Page 50

Chapter 5 Installing Memory in the Router

Installing and Formatting Compact Flash Memory Cards in Cisco 3631 Routers

Base

FAT Sector

128

Base

Data Sector

184

Please use "dir" command to display the contents of the card.

The following example shows output for an internal Compact Flash memory card formatted with a Class B Flash file system:

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)

Formatting Compact Flash Memory as a DOS File System

To format a Compact Flash memory card with a Class C Flash file system, use the format command.

To format a new internal Compact Flash memory card, or to remove the files from a previously installed internal Compact Flash memory card, enter the format flash: command.

The following example shows output for formatting an internal Compact Flash memory card formatted with a Class C Flash file system:

Router# format flash:

Format operation may take a while. Continue? [confirm]

Format operation will destroy all data in "flash:". Continue? [confirm] Enter volume ID (up to 64 chars)[default flash]:

Current Low End File System flash card in flash will be formatted into DOS File System flash card! Continue? [confirm]

Format:Drive communication & 1st Sector Write OK...

Writing Monlib sectors ...................................................................

Monlib write complete

..

Format:All system sectors written. OK...

Format:Total sectors in formatted partition:250592

Format:Total bytes in formatted partition:128303104

Format:Operation completed successfully.

Format of flash complete

Formatting Compact Flash Memory as a Class B Flash File System

 

 

 

To format a Compact Flash memory card with a Class B Flash file system (LEFS), use the erase

 

 

 

command.

 

 

 

To format a new internal Compact Flash memory card, or to remove the files from a previously installed

 

 

 

internal Compact Flash memory card, enter the erase flash: command.

 

 

 

The following example shows output for formatting an internal Compact Flash memory card with a

 

 

 

Class B Flash file system:

 

 

 

Router# erase flash:

 

 

 

Erasing the flash filesystem will remove all files! Continue? [confirm]

 

 

 

Current DOS File System flash card in flash: will be formatted into Low

 

 

 

End File System flash card! Continue? [confirm]

 

 

 

Erasing device...

 

 

 

Cisco 3600 Series Hardware Installation Guide

 

 

 

 

5-50

 

OL-2056-02

 

 

 

 

Image 50
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 SIMMs16 MB 20 MB 12 MB 24 MB 32 MB 64 MB Bank12 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 CiscoRouter # upgrade rom-monitor preference readonly upgrade Reboot the router using the new ROM imageSelect the ROM image for next reboot 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 Routerconfig# partition slot1 1 2 Enter global configuration modeRouter# configure terminal 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 slot03myconfigRouter# copy slot03TESTFILE flash2TESTFILE2 Enter privileged Exec mode as followsCopying a File Between Slots 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 CiscoROM monitor to recognize and boot the Flash Formatting Procedures for Compact Flash Memory CardsSafety Information document that accompanied this device Determining the File System on a Compact Flash Memory CardClass B Flash file system CommandFormatting Compact Flash Memory as a DOS File System Router# format flashRouter# copy flashmy-config2 running-config File and Directory ProceduresProcedures for Use with DOS File System File OperationsDelete Files from Compact Flash Memory Display the Contents of a Compact Flash CardDisplay Geometry and Format Information Display the Contents of a File Rename a File in FlashRemove a Directory Directory OperationsCreate a New 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