Cisco Systems CISCO7201 manual Software Command Overview, Command and Arguments Purpose

Models: CISCO7201

1 166
Download 166 pages 19.06 Kb
Page 142
Image 142

Appendix B 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 “Working with a CompactFlash Disk” section on page B-5.)

A CompactFlash Disk in the Cisco 7201 is referred to as disk0:.

The following partial output of the show file systems command shows a sample system with a CompactFlash Disk—called disk0:—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

disk0:

 

 

 

Table B-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 B-2; however, in Table B-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 Configuration Fundamentals Command

 

 

 

Reference document, in the chapter “File Management Commands.”

 

 

 

 

 

Table B-2

CompactFlash Disk-Related Software Commands for the Cisco 7201

 

 

 

 

 

 

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 7201 Installation and Configuration Guide

 

B-6

OL-11364-04

 

 

 

Page 142
Image 142
Cisco Systems CISCO7201 manual Software Command Overview, Command and Arguments Purpose