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

Page 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

 

 

Image 56
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 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 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 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 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