Cisco Systems PA-4C-E 1 manual Using Additional Flash Memory Commands, Router# cd slot0

Models: PA-4C-E 1

1 40
Download 40 pages 34.19 Kb
Page 37
Image 37
Using Additional Flash Memory Commands

Configuring the HP ESCON PA

4109312 bytes copied in 206.344 secs (19948 bytes/sec)

Note In the preceding example, the exclamation points (!) appear as the file is downloaded, and the “c” characters signify calculation of the checksum, which is a verification that the file has been correctly downloaded to the Flash memory card.

Using Additional Flash Memory Commands

There are additional commands related to the bootflash Flash memory in the Cisco 7200 series router (called bootflash) and in PCMCIA Flash memory cards. The following example assumes you are currently accessing the Flash memory card in PCMCIA slot 0. You can determine which PCMCIA slot you are accessing using the pwd command as follows:

Router# pwd slot0

You can move between Flash memory media using the cd [bootflash: slot0: slot1:] command:

Router# cd slot0:

slot0

Router# cd slot1: Router# pwd slot1

You can list the directory of any Flash memory media using the dir [ bootflash: slot0: slot1: ] command:

Router# dir

 

 

-#-

-length-

-----date/time------

name

1

4601977

May 19 2000 09:42:19

myfile1

6679 May 19 2000 05:43:56 todays–config

71 May 19 2000 09:54:53 fun1

You can delete a file from any Flash memory media using the delete command:

Router#

delete slot0:fun1

 

 

Router# dir

 

 

 

 

 

-#- -length- -----date/time------

name

1

4601977

May

19

2000

09:42:19

myfile1

6

679

 

May

19

2000

05:43:56

todays–config

To verify that the delete command was successful, use the dir /deleted command to view the deleted files.

Note Files that are deleted are simply marked as deleted, but still occupy space in Flash memory. To remove the files, use the squeeze command.

You can permanently removes files, which are marked as deleted, and push together all other undeleted files to eliminate spaces between them using the squeeze command:

Router# squeeze slot0:

All deleted files will be removed, proceed? [confirm] Squeeze operation may take a while, proceed? [confirm] ebESZ

To prevent loss of data because of sudden power loss, the “squeezed” data is temporarily saved to a special location of Flash memory.

PA-4C-E 1-Port High-Performance ESCON Channel Port Adapter Installation and Configuration

 

OL-3743-02

37

 

 

 

Page 37
Image 37
Cisco Systems PA-4C-E 1 manual Using Additional Flash Memory Commands, Router# cd slot0, Router# squeeze slot0