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

Page 43

Chapter 5 Installing Memory in the Router

Installing and Configuring Flash Memory Cards in Cisco 3620, Cisco 3640, and Cisco 3660 Routers

Step 3 Enter the boot system flash {slot0: slot1:}[partition:filename] command to specify the boot image location and name. In the following example, the boot image is located on the Flash memory card in the

0 slot, partition 3, and the filename is new.image:

Router(config)# no boot system

Router(config)# boot system flash slot0:3:new.image

Note If you omit the partition and filename variables, you are prompted for them.

Step 4 Set the configuration register to 0x2102 (the default setting), which indicates that the router should attempt to boot a Cisco IOS image from Flash memory:

Router(config)# config-register 0x2102

Step 5 Exit global configuration mode:

Router(config)# exit

Step 6 Enter the copy running-configstartup-configcommand to save the configuration changes to NVRAM.

Step 7 Enter the reload command to reload the router. When the router reloads, it will boot the image new.image from the Flash memory card in slot 0.

Erasing the Contents of a Flash Memory Card

To erase a partition or the entire contents of a Flash memory card, enter the command erase {slot0:

slot1:} [partition:]. Replace partition with the partition number. You cannot specify a filename. The following example erases the contents of partition 2 of the card in slot 1.

Note Cisco recommends first displaying the contents of the partition that you plan to erase.

Router# show slot1:

PCMCIA Slot1 flash directory, partition 1:

File

Length

Name/status

1

1583

 

test1

[1648

bytes

used, 4192656 available, 4194304 total]

4096K

bytes

of processor board PCMCIA Slot1 flash (Read/Write)

PCMCIA Slot1 flash directory, partition 2:

File

Length

Name/status

1

1611

 

running-config

2

1583

 

configfile

[3324

bytes

used, 4190980 available, 4194304 total]

4096K

bytes

of processor board PCMCIA Slot1 flash (Read/Write)

Router# erase

slot1:2:

Erasing the

slot1:2 filesystem will remove all files! Continue? [confirm]

Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased

Erase

of slot1:2: complete

Cisco 3600 Series Hardware Installation Guide

 

OL-2056-02

5-43

 

 

 

Image 43
Contents Installing Memory in the Router Removing the Cisco 3620 or Cisco 3640 Router Cover Accessing the MainboardRemoving the Cisco 3631 Router Cover Perform the following procedure to remove the chassis coverRemoving the Cisco 3631 Router Cover Lift cover Slide 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 16 MB Bank Total Simm MemoryBank 0 Simm Total Memory Not installed 16 MB MB-Dual2 24 MB 32 MB 40 MB 48 MBDram Simm Dram Simm OrientationTop view Front of chassis Removing Dram SimmsRepeat through for each Simm Installing Dram SIMMsSdram DIMMs Used in the Cisco 3631 and Cisco 3660 Router Bank 0 Simm Bank 1 Simm Total Memory 64 MB Not installed 32 MB 96 MB 128 MB 160 MB 192 MB 256 MB11 Sdram Dimm Locations in the Cisco 3660 Router 12 Sdram Dimm Sdram Dimm OrientationRemoving Sdram Dimms 13 Removing and Installing Sdram DIMMsReplacing Flash Memory SIMMs Installing Sdram DIMMs12 MB Bank16 MB 20 MB 12 MB 24 MB 32 MB 64 MB 14 Flash Memory Simm Locations on the Cisco 3620 Mainboard 16 Flash Memory Simm Locations on the Cisco 3660 Mainboard Removing Flash Memory SIMMs17 Removing Flash Memory SIMMs Installing Flash Memory SIMMsCisco 3620, Cisco 3640, and Cisco Replacing the ROM19 ROM Location on the Cisco 3620 Mainboard Locate the ROM on the mainboard. See -19through Figure20 ROM Location on the Cisco 3640 Mainboard 22 Removing the ROM from the Cisco 3660 Mainboard Cisco Testing ROM InstallationVerify the ROM version Reboot the router using the new ROM imageSelect the ROM image for next reboot Router # upgrade rom-monitor preference readonly upgrade24 Replacing the Cisco 3620 Router Cover Replacing the Cover on a Cisco 3620 or Cisco 3640 RouterReplacing the Cover on a Cisco 3631 Router 26 Replacing the Cisco 3631 Router Cover Insert tabs and slide cover Close cover27 Replacing the Cisco 3660 Mainboard Tray 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 Partitioning a Flash Memory Card Enter global configuration modeRouter# configure terminal Routerconfig# partition slot1 1 2Displaying the Contents of a Flash Memory Card Router# copy running-config slot03myconfig Copying a Running Configuration File to a Flash Memory CardCopying a File Between Slots Enter privileged Exec mode as followsRouter# copy slot03TESTFILE flash2TESTFILE2 Router# copy slot03TESTFILE slot1 Booting from a Flash Memory CardErasing the Contents of a Flash Memory Card Tools and Equipment Needed Preventing Electrostatic Discharge DamageRemoving the Chassis Cover Compact Flash Memory Card Installation and RemovalRemoving the Cover from a Cisco Removing the Compact Flash Memory CardInstructions on formatting the Compact Flash memory card Installing the Compact Flash Memory CardReplacing the Cover on a Cisco Reinstalling the CoverDetermining the File System on a Compact Flash Memory Card Formatting Procedures for Compact Flash Memory CardsSafety Information document that accompanied this device ROM monitor to recognize and boot the FlashRouter# format flash CommandFormatting Compact Flash Memory as a DOS File System Class B Flash file systemFile Operations File and Directory ProceduresProcedures for Use with DOS File System Router# copy flashmy-config2 running-configDisplay Geometry and Format Information Display the Contents of a Compact Flash CardDelete Files from Compact Flash Memory Rename a File in Flash Display the Contents of a FileCreate a New Directory Directory OperationsRemove a Directory Enter a Directory and Determine Which Directory You Are Procedures for Use with Class B Flash File SystemDisplay the Contents of a Compact Flash Memory Card Router# more flashc3725-i-mz Router# squeeze flashOL-2056-02