![Cisco 7201 Скачать руководство пользователя страница 143](http://html.mh-extra.com/html/cisco/7201/7201_installation-and-configuration-manual_66539143.webp)
B-7
Cisco 7201 Installation and Configuration Guide
OL-11364-04
Appendix B Using the CompactFlash Disk
Working with a CompactFlash Disk
Using Software Commands
This section provides examples of some of the basic software commands you can use with the
CompactFlash Disk. See
Table B-2
for optional arguments you can use with some of the following
commands:
•
Using the cd Command, page B-8
•
Using the show Command, page B-8
•
Using the pwd Command, page B-9
•
Using the dir Command, page B-9
•
Using the format Command, page B-9
•
Using the mkdir Command, page B-10
delete
[
disk0:
]
filename
Deletes a file.
Allows you to delete any file you designate, where filename
designates the name of the file.
dir
[
/all
|
disk0:
]
Lists files on a file system.
Allows you to list the contents of the CompactFlash Disk in slot 0.
The /all argument lists all files on all file systems in your system.
format
[
bootflash:
|
disk0:
]
Formats a file system.
Allows you to format onboard flash memory (bootflash:) or a new
CompactFlash Disk (disk0:). This command also allows you to
reformat a CompactFlash Disk that was formatted on another type
of system.
Note
This command destroys all data currently in flash memory;
therefore, we strongly recommend that you use the format
command with caution to prevent irretrievable loss of data.
mkdir
[
disk0:
]
directory-name
Creates a new directory.
Allows you to create directories on a CompactFlash Disk, where
directory-name is the name you assign to this directory.
pwd
Displays current working directory.
Allows you to display the name of the CompactFlash Disk directory
in which you are currently working.
rename
[
disk0:
]
filename
[
disk0:
]
filename
Renames a file.
Allows you to rename a file that is located on one CompactFlash
Disk and assign to that file another (or the same) file system path
and filename. The first group of arguments defines the source
(current) file system path and filename, and the second set of
arguments defines the destination file system path and filename.
rmdir
[
disk0:
]
directory-name
Removes an existing directory.
Allows you to remove a directory that currently exists on a
CompactFlash Disk, where directory-name is the name of the
directory you want to remove.
show
[
disk0:
]
Lists information about CompactFlash Disk format and geometry.
Table B-2
CompactFlash Disk-Related Software Commands for the Cisco 7201 (continued)
Command and Arguments
Purpose