Using the Flash Disk Product Numbers: MEM-I/O-FLD64M=, MEM-I/O-FLD128M=, MEM-7100-FLD48M=, MEM-7100-FLD128M=, MEM-7201-FLD256=, MEM-COMP-FLD64M=, MEM-COMP-FLD128M=, MEM-NPE-G1-FLD64=, MEM-NPE-G1-FLD128=, MEM-NPE-G1-FLD256=, MEM-NPE-G2-FLD256=, MEM-RSP8-FLD48M(=), MEM-RSP8-FLD64M(=), MEM-RSP8-FLD128M(=), MEM-RSP16-FLD48M(=), MEM-RSP16-FLD64M(=), MEM-RSP16-FLD128M(=) Document Revision History The Document Revision History beginning with online part number OL-6452-02, records technical changes in this documen
Contents Contents This configuration note includes the following sections: • Related Documentation, page 2 • Installation Prerequisites, page 2 • Safety Guidelines, page 8 • Product Description, page 9 • Installing a Flash Disk, page 10 • Working with a Flash Disk, page 16 • Obtaining Documentation, Obtaining Support, and Security Guidelines, page 25 Related Documentation Your Cisco router and the Cisco IOS software running on it contain extensive features and functionality, which are documen
Installation Prerequisites • Boot Environment Variables, page 6 • Sample Upgrade Process, page 7 Software Requirements The Flash Disk provides file storage for the Cisco products listed in the section “Hardware Requirements” if these systems are running the applicable Cisco IOS release listed in Table 1, Table 2, or a later release. Table 1 Minimum Supported Cisco IOS Release for the Flash Disk Platform Minimum Supported Cisco IOS Release or a Later Release Cisco 7120 and Cisco 7140 routers 12.
Installation Prerequisites For convenience throughout this publication, the I/O controller, Route Switch Module (RSM), network processing engine (NPE), and RSP8 are referred to as the system processor. Specific differences are clearly noted.
Installation Prerequisites Note Formatting an Cisco 7500 series routers RSP-8 Flash Disk on any other RSP causes the Flash Disk to not work on the RSP8. The same is true for an RSP16 Flash Disk. You must format a Flash Disk only on the router with the RSP that you plan to use with the Flash Disk.
Installation Prerequisites The boot image, when loaded, looks in the boot environment variables—stored in nonvolatile random-access memory (NVRAM)—to determine the location of the Cisco IOS software image and the configuration to use. If boot environment variables are not defined, the system will boot the first image found on a Flash Disk, or if no such image is found, it will boot the first image found on a linear Flash memory card.
Information About Flash Disk OIR System(config)# config-register 0x102 The result of this configuration file entry is that the configuration register is set to hexadecimal 0x102. Please see the Cisco 7200 VXR Installation and Configuration Guide (Chapter 4, “Observing System Startup and Performing a Basic Configuration”) at http://www.cisco.com/univercd/cc/td/doc/product/core/7200vx/72vxicg/configvx.htm for more information about the configuration register.
Safety Guidelines • Insert a Flash Disk only when the router is not in the process of booting or powering off. If the router is in ROMmon, the bootloader, or Cisco IOS, and is not booting, you may safely insert a Flash Disk. • Remove a Flash Disk only when the disk is not being accessed or written to. If the Flash Disk activity LED is on or blinking, the Flash Disk is being accessed.
Product Description Product Description Flash Disks are Flash memory-based devices that conform to the PC Card (formerly PCMCIA) standard 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.
Installing a Flash Disk Note • Network file systems—File Transfer Protocol (FTP), Remote Copy Protocol (rcp), and TFTP • Any other endpoint for reading or writing data—NVRAM, the running configuration, ROM, raw system memory, system bundled microcode, Xmodem, Flash load helper log, modems, and BRI MUX interfaces A complete discussion of the Cisco IOS File System feature is beyond the scope of this publication.
Installing a Flash Disk Step 3 Insert the Flash Disk into the PC Card slot until the Flash Disk completely seats in the connector at the rear of the slot and the ejector button pops out toward you. (See b of Figure 1.) The Flash Disk does not insert all the way inside the PC Card slot. A portion of the Flash Disk remains outside the slot. Do not attempt to force the Flash Disk past this point.
Installing a Flash Disk Installing and Removing a Flash Disk in Horizontally Oriented Systems The procedures in this section describe how to insert and eject a Flash Disk in systems in which the PC Card slots are horizontally oriented. The following two procedures are discussed: • Installing and Removing a Flash Disk in Cisco 7100 Series Routers, page 12 This procedure is specific to Cisco 7100 series routers.
Installing a Flash Disk The Flash Disk is keyed and cannot be seated the wrong way. The ejector button does not pop out if the Flash Disk is not completely inserted. Figure 3 Installing and Ejecting a Flash Disk in a Cisco 7100 Series Router Back label (faces up) a Slot 0 Slot 1 Front label (faces down) b 22881 c Step 5 Insert the Flash Disk into the PC Card slot until the Flash Disk completely seats in the connector at the rear of the slot, and the ejector button pops out toward you.
Installing a Flash Disk Step 8 Remove the Flash Disk from the PC Card slot and place it in an antistatic bag. Step 9 Close the cover and use a 3/16-inch flat-blade screwdriver to tighten the captive screw. This completes the procedure for installing and removing a Flash Disk in a Cisco 7100 series router. Proceed to the “Working with a Flash Disk” section on page 16.
Installing a Flash Disk Figure 4 Installing and Ejecting a Flash Disk in a Horizontally Oriented System a T EC EJ UP b T EC EJ UP c T EC EJ 13335 UP Step 3 Hold the Flash Disk with its connector end toward the PC Card slot and its front label facing up. The Flash Disk is keyed and cannot be seated the wrong way. The ejector button does not pop out if the Flash Disk is not completely inserted.
Working with a Flash Disk Step 6 Remove the Flash Disk from the PC Card slot and place it in an antistatic bag. This completes the procedure for installing and removing a Flash Disk in a horizontally oriented system. Proceed to the “Working with a Flash Disk” section on page 16. Working with a Flash Disk This section provides basic instructions for working with a Flash Disk in your system.
Working with a Flash Disk File Systems: Size(b) Free(b) Type Flags Prefixes (Additional displayed text omitted from this example.) 48755200 7995392 48747008 4717276 flash flash rw rw disk0: slot1: Table 5 lists the software commands that you can use with the Flash Disk. Note You can use other arguments with some of the commands listed in Table 5; however, in Table 5 and throughout this document, command arguments are limited to those that apply to the Flash Disk and related file systems.
Working with a Flash Disk Table 5 Flash Disk-Related Software Commands (continued) Command and Arguments Purpose format [flash: | bootflash: | disk0: | disk1:] Formats a file system. Allows you to format a linear Flash memory card (flash:), onboard Flash memory (bootflash:), or a new Flash Disk (disk0: or disk1:). This command also allows you to reformat a linear Flash memory card or Flash Disk that was formatted on another type of system.
Working with a Flash Disk Using the show Command To display information about Flash Disk format and geometry, use the show [disk0: | disk1:] command: System# show disk0: ******** ATA Flash Card Geometry/Format Info ******** ATA CARD GEOMETRY Number of Heads: Number of Cylinders Sectors per Cylinder Sector Size Total Sectors 16 840 32 512 430080 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 105 16 2682
Working with a Flash Disk Using the cd Command To move back and forth between installed Flash Disks, use the cd command by defining a specific path name. Then to verify your working directory, use the pwd command: System# System# disk1:/ System# System# disk0:/ cd disk1: pwd cd disk0: pwd You can also move up (or back) one level in the Flash Disk directory hierarchy using the cd .. command, and then verify your working directory with the pwd command: System# pwd disk1:daily_dir/ System# cd ..
Working with a Flash Disk Note A spare Flash Disk is shipped blank; therefore, you must format it before you can use it. Use the following procedure to format a new Flash Disk using the format command. (The procedure assumes you have already booted your system.
Working with a Flash Disk The following assumptions are made for this command: • You have a system processor with a Flash Disk-compatible Cisco IOS software image in the onboard Flash memory—called boot flash memory—so you can start the system. • Your system is running Cisco IOS Release 12.0(2) or later.
Working with a Flash Disk System# mkdir disk1:daily_dir Created dir disk1:daily_dir System# dir Directory of disk1:/ 1 drw- 0 Jul 25 1998 10:15:43 daily_dir 48755200 bytes total (48751104 bytes free) System# Note If you create a directory and place a file in it that you plan to access or use later on, be sure to define the entire directory path to the file as you enter the appropriate software commands. For example, if you placed the file itsa.
Working with a Flash Disk Directory of disk0:/ No files in directory. 48755200 bytes total (48742912 bytes free) System# Enabling Booting from a Flash Disk This section explains how to enable booting from a Flash Disk. To enable booting from a Flash Disk, set configuration register bits 3, 2, 1, and 0 to a value between 2 and 15 in conjunction with the boot system [disk0: | disk1:]filename configuration command. This section includes only descriptions of boot commands specific to the Flash Disk.
Obtaining Documentation, Obtaining Support, and Security Guidelines This command, with the hexadecimal value 0x2102, results in the following: Step 3 • Enables the system to boot the default boot ROM software if the Flash Disk-based image fails to boot—hexadecimal value 0x2000 • Disables Break—hexadecimal value 0x0100 • Enables the image myfile as the default boot image—hexadecimal value 0x0002 Press Ctrl-Z to exit configuration mode: System(config)# Crtl-Z System# Step 4 Save the new configurati
Obtaining Documentation, Obtaining Support, and Security Guidelines This document is to be used in conjunction with the appropriate documents available for use with your router. CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.