Appendix C 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 Description” 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 Disk—called slot0:—installed in slot 0:

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-2lists the software commands that you can use with the CompactFlash Disk.

Note You can use other arguments with some of the commands listed in Table C-2; however, in Table C-2and 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 Fundamentals Command Reference document, in the chapter “File Management Commands.”

Table C-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-nameis the directory to which you want to move.

 

 

copy [disk0: ]source-filename

Copies from one file to another.

[tfpt:]destination-filename

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)

 

 

Cisco 7401ASR Installation and Configuration Guide

 

C-6

OL-5419-01 B0

 

 

 

Page 130
Image 130
Cisco Systems 7401ASR manual Software Command Overview, Command and Arguments Purpose