![background image](http://html.mh-extra.com/html/cisco/7304-series/7304-series_installation-and-configuration-manual_65950082.webp)
6-2
Cisco 7304 Network Service Engine Installation and Configuration
OL-3967-01
Chapter 6 Working with a CompactFlash Disk
Software Command Overview
Table 6-1
CompactFlash Disk-Related Software Commands
Command and Arguments
Description
cd
[
disk0:
|
bootdisk:
]
directory-name
Changes current directory.
Allows you to move between directories on a CompactFlash Disk,
where
directory-name
is the directory to which you want to move.
copy
[
disk0:
|
bootdisk:
]
source-filename
[
disk0:
|
bootdisk:
]
destination-filename
Copies from one file to another.
Allows you to make a copy of a file (
source-filename
) located on a
source file system (
disk0:
,
bootdisk:)
and place it with either the
same filename or a different filename (
destination-filename
) on a
destination file system. Along with
disk0:
and
bootdisk:
,
the
source and destination file system arguments include, but are not
limited to:
•
nvram:
(onboard nonvolatile random-access memory)
•
running-config
(the running system configuration file)
•
startup-config
(the startup system configuration file)
•
tftp:
(a TFTP server to which you have access)
Note
Note that any file system command that takes
disk0:
or
bootdisk:
as parameters can also take the
standby-disk0:
and
bootdisk:
as parameters.
delete
[
disk0:
|
bootdisk:
]
filename
Deletes a file.
Allows you to delete any file you designate, where
filename
designates the name of the file.
dir
[
/all
|
disk0:
|
bootdisk:
]
Lists files on a file system.
Allows you to list the contents of the CompactFlash Disk in
disk0:
.
The
/all
argument lists all files on all file systems in your system.
format
[
flash:
|
bootflash:
|
disk0:
|
bootdisk:
]
Formats a file system.
Allows you to format a new CompactFlash Disk (
disk0:
or
bootdisk:
). 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.
Note
flash: maps to
disk0
:
mkdir
[
disk0:
|
bootdisk:
]
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:
|
bootdisk:
]
filename
[
disk0:
|
bootdisk:
]
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.