Cisco Systems OL-2056-02 Copying a File Between Slots, Enter privileged Exec mode as follows

Page 41

Chapter 5 Installing Memory in the Router

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

Copying a File from a Flash Memory Card to System Flash Memory

You can copy files from a Flash memory card to system (onboard) Flash memory (for instance, when restoring a backup). Follow these steps to copy a file from a Flash memory card to system Flash memory:

Step 1 Enter privileged EXEC mode:

Router> enable

Password: <password>

Step 2 Enter the copy {slot0: slot1:}[partition:filename] flash:[partition:filename] command. Replace

partition with the partition number and filename with the name of the file, for example:

Router# copy slot0:3:TESTFILE flash:2:TESTFILE2

System flash directory, partition 2:

File

Length

Name/status

1

68

TESTFILE

2

3399444

myfile

[3399640 bytes

used, 794664 available, 4194304 total]

Verifying checksum for 'TESTFILE' (file # 1)... OK

Erase flash device before writing? [confirm] n

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

Step 3 Press Return or type y to erase the current contents of the partition, or enter n to save the contents. Then confirm your selection:

Copy 'TESTFILE' from slot0: device

as 'TESTFILE2' into flash: device WITHOUT erase? [yes/no] y

!

[OK - 68/794664 bytes]

Flash device copy took 00:00:04 [hh:mm:ss]

Verifying checksum... OK (0x4ACD)

Copying a File Between Slots

This section describes how to copy a file from one Flash memory card to another Flash memory card in the other slot.

 

Note

The source and destination slots cannot be the same. For example, if the source file is on the card in

 

 

slot 0, you cannot copy the file to the same card in slot 0.

 

 

 

 

 

 

Follow these steps to copy a file between two slots:

 

 

 

 

Step 1

Enter privileged EXEC mode as follows:

 

 

Router> enable

 

 

Password: <password>

 

Step 2

Insert the Flash memory card that contains the source file into the slot labeled 0.

 

Step 3

Insert a second Flash memory card into the slot labeled 1. This card does not have to be partitioned.

 

 

Cisco 3600 Series Hardware Installation Guide

 

 

 

 

 

 

 

 

OL-2056-02

 

 

5-41

 

 

 

 

 

Image 41
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 DIMMs16 MB 20 MB 12 MB 24 MB 32 MB 64 MB Bank12 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 InstallationSelect the ROM image for next reboot Reboot the router using the new ROM imageRouter # upgrade rom-monitor preference readonly upgrade Verify the ROM version24 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 Router# configure terminal Enter global configuration modeRouterconfig# partition slot1 1 2 Partitioning a Flash Memory CardDisplaying the Contents of a Flash Memory Card Router# copy running-config slot03myconfig Copying a Running Configuration File to a Flash Memory CardRouter# copy slot03TESTFILE flash2TESTFILE2 Enter privileged Exec mode as followsCopying a File Between Slots 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 CoverSafety Information document that accompanied this device Formatting Procedures for Compact Flash Memory CardsROM monitor to recognize and boot the Flash Determining the File System on a Compact Flash Memory CardFormatting Compact Flash Memory as a DOS File System CommandClass B Flash file system Router# format flashProcedures for Use with DOS File System File and Directory ProceduresRouter# copy flashmy-config2 running-config File OperationsDelete Files from Compact Flash Memory Display the Contents of a Compact Flash CardDisplay Geometry and Format Information Rename a File in Flash Display the Contents of a FileRemove a Directory Directory OperationsCreate a New 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