C H A P T E R 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Product Numbers: MEM-I/O-FLC16M=, MEM-I/O-FLC20M=, MEM-I/O-FLD48M=, MEM-I/O-FLD64M=, MEM-I/O-FLD128M=, MEM-7100-FLD48M=, MEM-7100-FLD128M=, MEM-NPE-G1-FLD64=, MEM-NPE-G1-FLD128=, MEM-NPE-G1-FLD256=, MEM-NPE-G2-FLD256= This chapter describes the CompactFlash Disk, Flash Disk, and Flash Memory card options and specifications, as well as information regarding installation, reformatting, and copying bootable images.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Product Description • Flash Disks, also known as Flash Memory Disks. Flash Disks are Flash memory-based devices that conform to the PC card standard (formerly called Personal Computer Memory Card International Association or PCMCIA) and present an ATA (AT Attachment) interface to the system. This interface complies with the ANSI ATA Interface Document X3T13.1153 D Rev. 9 specification.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Boot Environment Variables Table 1-3 PC Card Options1 Memory Size Product Number Supported I/O Controllers 16 MB MEM-I/O-FLC16M C7200-I/O, C7200-I/O-FE, C7200-I/O-FE-MII, UBR7200-I/O, UBR7200-I/O/FE 20 MB MEM-I/O-FLC20M C7200-I/O, C7200-I/O-FE, C7200-I/O-FE-MII, UBR7200-I/O, UBR7200-I/O/FE 1.
Chapter 1 Installing and Removing a CompactFlash Disk, Flash Disk, or Flash Memory Card CompactFlash Disk, Flash Disk, and Flash Memory Card Information Enter configuration mode and specify a filename and PC card slot from which to boot using the configure terminal and boot system commands as follows: Router# configure terminal Enter configuration commands, one per line. End with CTRL-Z. System(config)# boot system flash disk0:c7200-p-mz.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Installing and Removing a CompactFlash Disk, Flash Disk, or Flash Memory Card See the “Reformatting a CompactFlash Disk, Flash Disk, or Flash Memory Card” section on page 1-7 for instructions on how to reformat a memory card. Note For safety warnings for the memory cards, see the “Safety Guidelines” section on page 3-8. An I/O controller has two physical PC card slots: slot 0 (lower) and slot 1 (upper). (See Figure 1-1.
Chapter 1 Installing and Removing a CompactFlash Disk, Flash Disk, or Flash Memory Card CompactFlash Disk, Flash Disk, and Flash Memory Card Information Step 1 Attach an ESD wrist or ankle strap, connecting the equipment end of the strap to an unfinished chassis surface. Step 2 Orient the Flash Disk or PC card so that its connector end faces the appropriate slot. (See a in Figure 1-1 or 1 in Figure 1-2.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Reformatting a CompactFlash Disk, Flash Disk, or Flash Memory Card Reformatting a CompactFlash Disk, Flash Disk, or Flash Memory Card Depending on the circumstances, you might need to use a Compact Flash Disk, Flash Disk, or PC card from another system to copy images or to back up configuration files; however, you cannot boot from a CompactFlash Disk, Flash Disk, or PC card that was formatted on another type of system.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Reformatting a CompactFlash Disk, Flash Disk, or Flash Memory Card the NPE-G1 or NPE-G2 and is addressed as the disk2: device. Flash Disks or PC cards are inserted into the slot0 and slot1 physical slots but are addressed as the disk0: and disk1: devices. PC cards are addressed as the slot0: and slot1: devices.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Copying a Bootable Image onto a CompactFlash Disk, Flash Disk, or Flash Memory Card Copying a Bootable Image onto a CompactFlash Disk, Flash Disk, or Flash Memory Card After you have reformatted your CompactFlash Disk, Flash Disk, or PC (Flash memory) card, you can copy a bootable image onto it.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Copying Bootable Images Between Flash Disks or Flash Memory Cards [OK - 7799951/15599616 bytes] CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCC Router# Note Step 4 In the preceding example, the exclamation points (!!!) appear as the file is downloaded, and the “C” characters signify calculat
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card the PC card in slot 0, remove this card (place it in an antistatic bag and store it in a safe place), and insert the new PC card (with the new.image file) in slot 0. Proceed to Step 5 and use the boot system flash slot0:new.image command to designate the new.image file as the default boot helper image. Step 1 Boot the router. By default, the boot.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card The CompactFlash Disk, Flash Disk, or Flash memory cards, along with other locations in your system, are defined as file systems, which are locations where you can store, use, or retrieve files and software images.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card Table 1-4 Flash Disk-Related Software Commands Command and Arguments cd [dev:]directory-name Purpose 1 Changes current directory. Allows you to move between directories on a file system, where directory-name is the directory to which you want to move. copy [dev:]source-filename [dev:]destination-filename Copies from one file to another.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card Tip For complete command information, see the “File Management Commands” chapter in the Configuration Fundamentals Command Reference document. Using Software Commands This section provides examples of some of the basic software commands you can use with the CompactFlash Disk, Flash Disk, or Flash memory cards.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card • Total Sectors is the total number of sectors on the Flash Disk. • Number of FAT Sectors is the number of sectors used to track allocation of clusters to files. • Sectors Per Cluster is the number of sectors contained in each cluster. (Files grow by a minimum of one cluster.) • Number of Clusters is the total number of clusters available for use by files.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card System# Note that the size of the CompactFlash Disk, Flash Disk, or PC card is shown in the output of the dir command. (A 48-MB Flash 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. (See Table 1-4.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card Using the copy Command To copy an image from a CompactFlash Disk, Flash Disk, or PC card to another file system or from another file system to the Flash Disk, use the copy command: copy [dev:]source-filename [dev:]destination-filename In this example: • The file you want to copy is located in a file system (tftp:, bootflash:, slot0:, disk1:, and so forth).
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card Step 3 Verify that the file new.image is now on the Flash Disk in PC card slot 0: System# pwd disk0:/ System# dir Directory of disk0:/ 1 -rw- 3393 Jul 26 1998 17:44:47 new.image 48755200 bytes total (48747008 bytes free) Using the mkdir Command To create a directory on a CompactFlash Disk or Flash Disk, use the mkdir command.
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card The following example shows how to find a file (called fun1) on the Flash Disk in PC card slot 0, delete the file, and then verify that it is deleted: Step 1 Find the file you want to delete: System# dir Directory of disk0:/ 1 drw- 0 May 10 1998 09:54:53 fun1 48755200 bytes total (48742912 bytes free) Step 2 Delete the file fun1: System# delete disk0:fun1 St
Chapter 1 CompactFlash Disk, Flash Disk, and Flash Memory Card Information Working with a CompactFlash Disk, Flash Disk, or Flash Memory Card Use the following procedure to enable booting the file myfile from a Flash memory card: Step 1 Enter configuration mode and specify an image filename in the PC card slot from which to boot by using the configure terminal command, as follows: System# configure terminal Enter configuration commands, one per line. End with CTRL-Z.