C-6
Cisco 7401ASR Installation and Configuration Guide
OL-5419-01 B0
AppendixC Using the CompactFlash Disk
Working with a CompactFlash Disk
Software Command Overview
This section lists some of the basic software commands you can use with the CompactFlash Disk.
Examples of these commands are included in the sections that follow.
The CompactFlash Disk and other memory devices and locations in your system are defined as file
systems, which are locations where you can store, use, or retrieve files and software images. (See the
brief discussion about the Cisco IOS File System feature in the Product Descr iptio n section on
page C-2.)
A CompactFlash Disk in the Cisco 7301 is referred to as slot0.
The following partial output of the show file systems command shows a sample system with a
CompactFlash Diskcalled slot0:installed in slot0:
System# show file systems
File Systems:
Size(b) Free(b) Type Flags Prefixes
(Additional displayed text omitted from this example.)
48755200 48747008 flash rw slot0:
Table C -2 lists the software commands that you can use with the CompactFlash Disk.
Note You can use other arguments with some of the commands listed in Tabl e C-2; however, in Tab le C-2 and
throughout this document, command arguments are limited to those that apply to the CompactFlash Disk
and related file systems.
For a discussion of additional command arguments, refer to the Cisco IOS Configuration Fu ndamentals
Command Reference document, in the chapter File Management Commands.
TableC-2 CompactFlash Disk-Related Software Commands for the Cisco 7401ASR
Command and Arguments Purpose
cd [disk0: | 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: | ]source-filename
[tfpt:]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:) and place it with either the same
filename or a different filename (destination-filename) on a
destination file system. Along with disk0:, the source and
destination file system arguments include, but are not limited to:
bootflash: (onboard Flash memory)
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)