Chapter 5 Installing Memory in the Router

Installing and Formatting Compact Flash Memory Cards in Cisco 3631 Routers

Directory Operations

Create a New Directory

To create a directory in Compact Flash memory, use the mkdir flash:/directory-namecommand.

The following example shows output for first displaying the contents of an internal Compact Flash memory card, and then creating a directory named config and a subdirectory named test-config:

Router# dir flash:

Directory of flash:/

3

-rw-

6458208

 

Mar 01 1993 00:04:08

c3725-i-mz.tmp

128094208

bytes total

(121634816

bytes free)

 

Router# mkdir flash:/config

 

 

Create directory filename [config]?

 

Created dir flash:/config

 

 

Router# mkdir flash:/config/test-config

 

Create directory filename [/config/test-config]?

Created dir flash:/config/test-config

 

Router# dir flash:

 

 

 

 

Directory

of flash:/

 

 

 

 

3

-rw-

6458208

 

Mar 01 1993 00:04:08

c3725-i-mz.tmp

1580

drw-

0

Mar 01

1993 23:48:36

config

128094208

bytes total

(121626624

bytes free)

 

Router# cd flash:/config

 

 

 

Router# dir flash:

 

 

 

 

Directory

of flash:/config/

 

 

1581

drw-

0

Mar 01

1993 23:50:08

test-config

128094208

bytes total

(121626624

bytes free)

 

Remove a Directory

To remove a directory from Compact Flash memory, use the rmdir flash:/directory-namecommand.

Before you can remove a directory, remove all files and subdirectories from the directory.

The following example shows output for displaying the contents of an internal Compact Flash memory card, then removing the subdirectory named test-config:

Router#

dir flash:

 

 

Directory of flash:/config/

 

1581

drw-

0

Mar 01 1993 23:50:08 test-config

128094208 bytes total (121626624 bytes free)

Router#

rmdir flash:/config/test-config

Remove directory filename [/config/test-config]?

Delete flash:/config/test-config? [confirm]

Removed

dir flash:/config/test-config

Router#

dir flash:

 

 

Directory of flash:/config/

No files in directory

128094208 bytes total (121630720 bytes free) Router#

Cisco 3600 Series Hardware Installation Guide

5-54

OL-2056-02

 

 

Page 54
Image 54
Cisco Systems OL-2056-02 manual Directory Operations, Create a New Directory, Remove a Directory