Cisco Systems OL-2056-02 manual Router# squeeze flash, Router# more flashc3725-i-mz

Models: OL-2056-02

1 58
Download 58 pages 3.46 Kb
Page 57
Image 57

Chapter 5 Installing Memory in the Router

Installing and Formatting Compact Flash Memory Cards in Cisco 3631 Routers

The following example shows output for deleting a Cisco IOS file from a Compact Flash memory card, and then releasing the memory space originally occupied by the file:

Router# dir flash:

Directory of flash:/

1

-rw-

6458208

<no

date>

c3725-i-mz.tmp

2

-rw-

6458208

<no

date>

c3725-i-mz

16056320 bytes total (3139776 bytes free) Router# delete flash:c3725-i-mz.tmpDelete filename [c3725-i-mz.tmp]?

Delete flash:c3725-i-mz.tmp? [confirm] Router# dir flash:

Directory of flash:/

2 -rw-

6458208

<no date> c3725-i-mz

16056320 bytes total (3139776 bytes free) Router# show flash:

flash CompactFlash directory: File Length Name/status

16458208 c3725-i-mz.tmp [deleted]

26458208 c3725-i-mz

[12916544 bytes used, 3139776 available, 16056320 total]

15680K bytes of ATA flash CompactFlash (Read/Write)

Router# squeeze flash:

Squeeze operation may take a while. Continue? [confirm]

squeeze in progress...

sssssssssssssssssssssssseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Rebuild file system directory...

Squeeze of flash complete

Display the Contents of a File

To display the content of a file in Compact Flash memory, use the more flash: filename command.

The following example shows output from the more command on a Compact Flash memory card:

 

Router# more flash:c3725-i-mz

 

 

 

 

 

 

 

 

00000000: 7F454C46 01020100 00000000 00000000

.ELF

....

 

 

 

00000010: 00020061 00000001 80008000 00000034

...a

...4

 

 

 

00000020: 00000054 20000001 00340020 00010028

...T

... .4.

...(

 

 

 

00000030:

00050008

00000001

0000011C

80008000

.... .... ....

....

 

 

 

 

00000040: 80008000 00628A44 00650EEC 00000007

.... .b.D .e.l

....

 

 

 

00000050:

0000011C

0000001B

00000001

00000006

.... .... ....

....

 

 

 

 

00000060: 80008000 0000011C 00004000 00000000

.... ....

..@.

....

 

 

 

00000070: 00000000 00000008 00000000 00000021

.... .... ....

...!

 

 

 

 

00000080: 00000001 00000002 8000C000 0000411C

.... ....

..@.

..A.

00000090:

00000700

00000000 00000000

00000004

.... .... ....

....

 

 

 

 

000000A0: 00000000 00000029 00000001 00000003

.... ...

) ....

....

 

 

 

 

000000B0: 8000C700 0000481C 00000380 00000000

..G. ..

H

....

 

 

 

 

000000C0: 00000000 00000004 00000000 0000002F

.... .... ....

.../

 

 

 

 

000000D0: 00000001 10000003 8000CA80 00004B9C

.... ....

..J.

..K.

 

000000E0: 00000020 00000000 00000000 00000008

... .... .... ....

 

 

 

 

000000F0: 00000000 0000002F 00000001 10000003

.... ...

/ ....

....

 

 

 

 

00000100: 8000CAA0 00004BBC 00623FA4 00000000

..J ..K< .b?$

....

 

 

 

 

00000110: 00000000 00000008 00000000 3C1C8001

.... .... ....

<...

 

 

 

 

00000120: 679C4A80 3C018001 AC3DC70C 3C018001

g.J. <

... ,=G. <...

 

00000130: AC3FC710 3C018001 AC24C714 3C018001

,?G. <

... ,$G. <...

 

--More--

q

 

 

 

 

 

 

 

 

 

 

Router#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Cisco 3600 Series Hardware Installation Guide

 

 

 

 

 

 

 

 

 

 

 

OL-2056-02

 

 

 

 

 

 

 

 

5-57

 

 

 

 

 

 

 

 

 

 

 

Page 57
Image 57
Cisco Systems OL-2056-02 manual Router# squeeze flash, Router# more flashc3725-i-mz