Cisco Systems OL-2056-02 manual Rename a File in Flash, Display the Contents of a File

Page 53

Chapter 5 Installing Memory in the Router

Installing and Formatting Compact Flash Memory Cards in Cisco 3631 Routers

Rename a File in Flash

To rename a file in a Compact Flash memory card, use the rename flash: original-filenameflash: new-filenamecommand.

The following example shows output for renaming a Cisco IOS file in an internal Compact Flash memory card:

Router# dir flash:

Directory of flash:/

3

-rw-

6458388

Mar

01 1993

00:00:58

c3725-i-mz.tmp

1580

-rw-

6462268

Mar

06 1993

06:14:02

c3725-i-mz.3600ata

63930368 bytes total

(51007488 bytes free)

 

Router# rename flash:c3725-i-mz.tmp flash:c3725-i-mz

Destination

filename

[c3725-i-mz]?

 

 

Router# dir

flash:

 

 

 

 

Directory of flash:/

 

 

 

 

1580

-rw-

6462268

Mar 06 1993

06:14:02

c3725-i-mz.3600ata

3

-rw-

6458388

Mar 01 1993

00:01:24

c3725-i-mz

63930368 bytes total (51007488 bytes free)

Display the Contents of a File

To display the content of a file in a Compact Flash memory card, 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.tmp

 

 

 

 

 

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. <...

00000140: AC25C718 3C018001 AC26C71C 3C018001

,%G. <

... ,&G. <...

00000150: AC27C720 3C018001 AC30C724 3C018001

,'G

<

... ,0G$ <...

00000160: AC31C728 3C018001 AC32C72C 3C018001

,1G( <

... ,2G, <...

--More--

q

 

 

 

 

 

 

 

Cisco 3600 Series Hardware Installation Guide

 

OL-2056-02

5-53

 

 

 

Image 53
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 Card Formatting Compact Flash Memory as a DOS File System Command Class 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