CompactFlash_Memory_Cards.pdf
(
196 KB
)
Pobierz
Using CompactFlash Memory Cards
Cisco 3800 series routers, Cisco 2800 series routers, and Cisco 1800 series routers use external
CompactFlash (CF) memory cards to store the system image, some software feature data, and
configuration files. The CF memory cards use the following file systems. The file system that is
supported depends on router model:
•
•
Class B flash file system, also known as the
low-end file system
(LEFS)
Class C flash file system, similar to the standard DOS file system
Platforms Supported by This Document, page 1
Requirements and Restrictions, page 2
Online Insertion and Removal, page 2
How to Format CompactFlash Memory Cards, page 3
File Operations on CompactFlash Memory Cards, page 5
Directory Operations on a CompactFlash Memory Card, page 8
This document contains the following sections:
•
•
•
•
•
•
Platforms Supported by This Document
Use this document with the following platforms:
•
•
•
Cisco 1800 series routers
Cisco 2800 series routers
Cisco 3800 series routers
Corporate Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Copyright © 2004 Cisco Systems, Inc. All rights reserved.
Requirements and Restrictions
Requirements and Restrictions
•
Cisco 3800 series routers, Cisco 2800 series routers, and Cisco 1800 series routers do not support
internal flash memory. Because the system image can be stored only on a CF memory card, you need
to have a CF memory card installed to boot the system image.
We recommend that you erase (Class B) or format (Class C) new CF memory cards to initialize them
with either a Class B or Class C flash file system. This ensures proper formatting and enables the
ROM monitor to recognize and boot the flash memory.
Only CF memory cards purchased from Cisco are supported on these platforms.
•
•
Cisco 1800 Series Routers and Cisco 2801 Routers
•
•
•
Support only the Class C flash file system.
Support only external CF memory cards.
The CF memory card file system can be formatted on a Cisco 1800 series router or Cisco 2801
router. After the file system has been formatted, files on the CF memory card can be copied to or
from any PC that is equipped with a CF memory reader. If you use a PC to format the CF memory
card, use only the Microsoft 16-bit File Allocation Table (FAT16) file system.
Cisco 3800 Series Routers and Cisco 2800 Series Routers (Except for Cisco 2801 Routers)
•
•
•
Support Class B and Class C flash file systems.
Support only external CF memory cards.
If you use a PC to format the CF memory cards, you can format the cards with the Microsoft 16-bit
File Allocation Table (FAT16), Microsoft 32-bit File Allocation Table (FAT32), or Microsoft
Windows NT file system (NTFS). Alternatively, you can format the CF memory card on the router.
Note
When formatted on the router, flash memory cards are formatted with the DOSFS file system, a
platform-independent industry-standard file system that is supported on all Cisco 3800 series routers,
Cisco 2800 series routers, and Cisco 1800 series routers.
Online Insertion and Removal
Online insertion and removal (OIR) is a feature that allows you to replace CF memory cards without
turning off the router and without affecting the operation of other interfaces. OIR of CF memory cards
provides uninterrupted operation to network users, maintains routing information, and ensures session
preservation.
Caution
The external CF memory card should not be removed if the flash memory busy “CF” LED on the router
is ON, because this indicates that the software is accessing the CF memory card. Removing the CF
memory card may disrupt the network, because some software features use the CF memory card to store
tables and other important data.
For instructions on inserting, removing, and replacing the external CF memory card, see the hardware
installation documentation that came with your router.
Using CompactFlash Memory Cards
2
OL-5596-01
How to Format CompactFlash Memory Cards
How to Format CompactFlash Memory Cards
This section contains the following procedures:
•
•
•
Determining the File System on a CompactFlash Memory Card, page 3
Formatting CompactFlash Memory as a Class B Flash File System, page 4
Formatting CompactFlash Memory as a Class C File System, page 4
Determining the File System on a CompactFlash Memory Card
To determine the file system of a CF memory card, enter the
show flash: all
command in privileged
EXEC mode.
•
•
If geometry and format information does not appear in the output, the card is formatted with a
Class B flash file system.
If geometry and format information appears in the output, the card is formatted with a Class C flash
file system.
The following examples show sample outputs for Class B and Class C flash file systems.
External Card with Class B Flash File System: Example
The geometry and format information does not appear.
Router#
show flash: all
Partition
Mode
1
Direct
Size
125184K
Used
20390K
Free
104793K
Bank-Size
0K
State
Read/Write
Copy
System Compact Flash directory:
File Length
Name/status
addr
fcksum ccksum
1
6658376 c28xx-i-mz
0x40
0xE0FF 0xE0FF
2
14221136 c2800-telcoent-mz
0x6599C8 0x5C3D 0x5C3D
[20879640 bytes used, 107308776 available, 128188416 total]
125184K bytes of ATA System Compact Flash (Read/Write)
Chip information NOT available.
External Card with Class C Flash File System: Example
The geometry and format information is displayed in this format.
Router#
show flash: all
-#- --length-- -----date/time------ path
1
6658376 Mar 01 2004 04:27:46 c28xx-i-mz
25268224 bytes available (6664192 bytes used)
******** ATA Flash Card Geometry/Format Info ********
Using CompactFlash Memory Cards
OL-5596-01
3
How to Format CompactFlash Memory Cards
ATA CARD GEOMETRY
Number of Heads:
Number of Cylinders
Sectors per Cylinder
Sector Size
Total Sectors
ATA CARD FORMAT
Number of FAT Sectors
Sectors Per Cluster
Number of Clusters
Number of Data Sectors
Base Root Sector
Base FAT Sector
Base Data Sector
4
490
32
512
62720
31
8
7796
62560
155
93
187
Formatting CompactFlash Memory as a Class B Flash File System
Use the
erase flash:
command in privileged EXEC mode to
•
•
Format CF memory cards with a Class B flash file system
Remove the files from a CF memory card previously formatted with a Class B flash file system
Formatting CompactFlash Memory as a Class B Flash File System: Example
Router#
erase flash:
Erasing the flash filesystem will remove all files! Continue? [confirm]
Current DOS File System flash card in flash: will be formatted into Low
End File System flash card! Continue? [confirm]
Erasing device...
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
...erased
Erase of flash: complete
Formatting CompactFlash Memory as a Class C File System
Use the
format flash:
command in privileged EXEC mode to:
•
•
Format CF memory cards with a Class C flash file system
Remove the files from a CF memory card previously formatted with a Class C flash file system
Formatting CompactFlash Memory as a Class C Flash File System: Example
Router#
format flash:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in "flash:". Continue? [confirm]
Enter volume ID (up to 64 chars)[default flash]:
Current Low End File System flash card in flash will be formatted into DOS
File System flash card! Continue? [confirm]
Format:Drive communication & 1st Sector Write OK...
Writing Monlib sectors ..................................................................
Monlib write complete
Using CompactFlash Memory Cards
4
OL-5596-01
File Operations on CompactFlash Memory Cards
Format:All system sectors written. OK...
Format:Total sectors in formatted partition:250592
Format:Total bytes in formatted partition:128303104
Format:Operation completed successfully.
Format of flash complete
File Operations on CompactFlash Memory Cards
File and directory operations vary according to the formatted file system—Class B or Class C.
This section describes the following file operations for external CF memory cards:
•
•
•
•
•
•
Copying Files, page 5
Displaying Files, page 5
Displaying File Content, page 6
Displaying Geometry and Format Information (Class C Only), page 6
Deleting Files, page 7
Renaming Files, page 8
Copying Files
To copy files, enter the
copy
command in privileged EXEC mode. To indicate a file that is stored in a
CF memory card, precede the filename with
flash:.
Examples: Copying Files
In the following example, the file my-config1 on the CF memory card is copied into the startup-config
file in the system memory:
Router#
copy flash:my-config1 startup-config
Destination filename [startup-config]?
[OK]
517 bytes copied in 4.188 secs (129 bytes/sec)
In the following example, the file my-config2 on the CF memory card is copied into the running-config
file in the system memory:
Router#
copy flash:my-config2 running-config
Destination filename [running-config]?
709 bytes copied in 0.72 secs
Displaying Files
To display a list of files on a CF memory card, enter the
dir flash:
command in privileged EXEC mode:
Router#
dir flash:
Directory of flash:/
1580 -rw-
6462268
Mar 06 2004 06:14:02
3 -rw-
6458388
Mar 01 2004 00:01:24
63930368 bytes total (51007488 bytes free)
c28xx-i-mz.3600ata
c28xx-i-mz
Using CompactFlash Memory Cards
OL-5596-01
5
Plik z chomika:
musli_com
Inne pliki z tego folderu:
28hwinst.pdf
(13596 KB)
Addressing_and_Services.pdf
(4015 KB)
2800_qsg.pdf
(3460 KB)
IP_Communication_Solution_for_Group_Applications_Configuration_Example.pdf
(1733 KB)
basic_config_cli.pdf
(270 KB)
Inne foldery tego chomika:
17xx
2950
3550_Switch
3560_Switch
500_switch
Zgłoś jeśli
naruszono regulamin