Cisco Systems CISCO7201 Manual De Usuario

Descargar
Página de 166
B-9
Cisco 7201 Installation and Configuration Guide 
OL-11364-04
Appendix B      Using the CompactFlash Disk
Working with a CompactFlash Disk
  •
Number of Data Sectors is the number of sectors available for files.
  •
Base Root Sector is the logical address of the first sector of the root directory.
  •
Base FAT Sector is the first sector in the File Allocation Table (FAT).
  •
Base Data Sector is the first sector available for use by files.
Using the pwd Command
You can verify your working directory by using the pwd command:
System# pwd
disk1:daily_dir/
System# cd ..
System# pwd
disk1:/
System#
Using the dir Command
To list the directory structure and contents of the CompactFlash Disk from which you are currently 
working, use the dir command with no arguments:
System# dir
Directory of disk0:/
 
  1 drw-           0   Jul 25 1998 10:23:11  daily_dir
  2 drw-           0   Jul 25 1998 10:28:37  access_lists
 
64755200 bytes total (64742912 bytes free)
System#
Note that the size of the CompactFlash Disk is shown in the output of the dir command. (A 64-MB 
CompactFlash Disk is shown in this example.) You can also view the contents of other directories and 
file systems using specific optional arguments with the dir command. 
Using the format Command
To format a new CompactFlash Disk, use the format [disk0:] command. 
Note
You must format a new CompactFlash Disk before you can use it. If you plan to use a CompactFlash 
Disk that was formatted and used on another type of system, see the 
 to determine if you need to reformat the CompactFlash Disk first.
Caution
The formatting procedure erases all information on the CompactFlash Disk. To prevent the loss of 
important data that might be stored on a CompactFlash Disk, proceed carefully. If you want to save data 
that is currently on your CompactFlash Disk, copy the data to a TFTP server or to another CompactFlash 
Disk on another router before you format the new CompactFlash Disk. A CompactFlash Disk that was 
shipped as part of a configured system contains a CompactFlash Disk-compatible Cisco IOS software 
image; therefore, you do not need to format it to use it in the system in which it was shipped.