Cisco Systems 3631, 2691 manual Operations for Use with Class C Flash File System

Page 26

March 2002

File and Directory Procedures

Operations for Use with Class C Flash File System

The following file and directory operations are useful for CompactFlash memory cards formatted with a Class C Flash file system.

File Operations for Class C Flash File System

Copy files

To copy files to another location, enter the copy {flash: slot0:} command.

The following example shows output for copying a Cisco IOS file from an external CompactFlash memory card to an internal CompactFlash memory card:

Router# copy slot0:c3725-i-mz.tmp flash:

Destination filename [c3725-i-mz.tmp]?

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

6458584 bytes copied in 202.940 secs (31973 bytes/sec)

The following example shows output for copying a configuration file to the startup configuration in an internal CompactFlash memory card (flash:):

Router# copy flash:my-config1 startup-config

Destination filename [startup-config]? [OK]

517 bytes copied in 4.188 secs (129 bytes/sec)

The following example shows output for copying a configuration file to the running configuration in an internal CompactFlash memory card (flash:):

Router# copy flash:my-config2 running-config

Destination filename [running-config]? 709 bytes copied in 0.72 secs

Display the contents of a CompactFlash memory card

To display the contents (directories and files) of a CompactFlash memory card formatted with a Class C Flash file system, use the dir{flash: slot0:} or show {flash: slot0:} command.

The following examples show outputs for displaying the contents of an external CompactFlash memory card with a Class C Flash file system:

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

26

78-13892-03

 

 

Image 26
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 deviceDetermining the File System on a CompactFlash Memory Card Formatting Procedures for CompactFlash Memory CardsFormatting Procedures Router#show slot0 allRouter#show flash all Router#show slot0allRouter# show flash all Router# format flash Formatting CompactFlash Memory as a Class C File SystemRouter# erase slot0 Operations for Use With Class B Flash File System File and Directory ProceduresRouter# copy flashmy-config1 startup-config Copy filesDisplay the contents of a CompactFlash memory card Delete files from CompactFlash memoryRouter# more slot0c3725-i-mz Display file contentRouter# squeeze slot0 Router# copy slot0c3725-i-mz.tmp flash Operations for Use with Class C Flash File SystemFile Operations for Class C Flash File System Router# delete flashc3725-i-mz.tmp Display geometry and format informationRouter# show slot0 filesys Rename a file Router# more flashc3725-i-mz.tmpCreate a new directory Router# mkdir flash/config/test-configDirectory Operations for Class C Flash File System Remove a directoryEnter a directory and determine which directory you are Documentation CD-ROM Obtaining DocumentationWorld Wide Web Ordering DocumentationCisco.com Contacting TAC by Using the Cisco TAC WebsiteObtaining Technical Assistance Technical Assistance CenterContacting TAC by Telephone
Related manuals
Manual 28 pages 13.71 Kb