Cisco Systems 3631, 2691 manual Rename a file, Router# more flashc3725-i-mz.tmp

Page 28

March 2002

File and Directory Procedures

Rename a file

To rename a file in a CompactFlash memory card, use the rename {flash: slot0:} command.

The following example shows output for renaming a Cisco IOS file in an internal CompactFlash 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 file content

To display the content of a file in a CompactFlash memory card, use the more {flash: slot0:} command.

The following example shows output from the more {flash: slot0:} command on an internal

Compact Flash 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

 

 

 

 

 

 

 

Installing and Formatting Cisco 2691, Cisco 3631 and Cisco 3700 CompactFlash Memory Cards

28

78-13892-03

 

 

Image 28
Contents This document contains the following sections Preventing Electrostatic Discharge Damage Tools and Equipment NeededExternal CompactFlash Slot Location in a Cisco 2691 Router Installing a CompactFlash Memory Card in an External Slot Removing a CompactFlash Memory Card from an External SlotInternal CompactFlash Memory Card Location in a Cisco Compact Flash Memory card Removing a Plug-in CPU/Mainboard Removing the Front Panel from a Cisco 3745 Router Removing the Chassis Cover Removing the CPU/Mainboard from a Cisco 3745 RouterPage Lift cover Slide cover 62483 Removing an Internal CompactFlash Memory Card Installing an Internal CompactFlash Memory Card Reinstalling a Plug-in CPU/MainboardInserting Plug-in CPU/Mainboard into a Cisco 3745 Chassis Reinstalling the Cover on a Cisco Router Chassis. See , , or FigureInsert tabs and slide cover Close cover 62491 Power on the router Safety Information document that accompanied this deviceFormatting Procedures for CompactFlash Memory Cards Formatting ProceduresDetermining the File System on a CompactFlash Memory Card Router#show slot0 allRouter# show flash all Router#show slot0allRouter#show flash all Router# erase slot0 Formatting CompactFlash Memory as a Class C File SystemRouter# format flash File and Directory Procedures Router# copy flashmy-config1 startup-configOperations for Use With Class B Flash File System Copy filesDisplay the contents of a CompactFlash memory card Delete files from CompactFlash memoryRouter# squeeze slot0 Display file contentRouter# more slot0c3725-i-mz File Operations for Class C Flash File System Operations for Use with Class C Flash File SystemRouter# copy slot0c3725-i-mz.tmp flash Router# show slot0 filesys Display geometry and format informationRouter# delete flashc3725-i-mz.tmp Rename a file Router# more flashc3725-i-mz.tmpRouter# mkdir flash/config/test-config Directory Operations for Class C Flash File SystemCreate a new directory Remove a directoryEnter a directory and determine which directory you are Obtaining Documentation World Wide WebDocumentation CD-ROM Ordering DocumentationContacting TAC by Using the Cisco TAC Website Obtaining Technical AssistanceCisco.com Technical Assistance CenterContacting TAC by Telephone
Related manuals
Manual 28 pages 13.71 Kb