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

Models: OL-2056-02

1 58
Download 58 pages 3.46 Kb
Page 41
Image 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

 

 

 

 

 

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