Table Of Contents
Using the Compact Flash on the Catalyst 4000 Family Supervisor Engine III
Product Numbers: MEM-C4K-FLD64M=, MEM-C4K-FLD128M=
This document contains installation and configuration information for the Catalyst 4000 family Supervisor Engine III compact Flash storage device.
This configuration note includes the following sections:
This configuration note is a standalone publication that provides instructions for installing, removing, and using the Catalyst 4000 family Supervisor Engine III compact Flash storage device.
The compact Flash storage device provides increased storage—64 or 128 MB—for storage of system configuration files, Cisco IOS software images, and other types of system-related files. Table 1 provides memory information for the compact Flash storage device.
Table 1 Compact Flash Memory Options
Memory Size Product Number
Throughout this publication, safety warnings appear in procedures that, if performed incorrectly, may harm you. A warning symbol precedes each warning statement.
Warning Only trained and qualified personnel should be allowed to install or replace this equipment.
Following are safety guidelines that you should follow when working with any equipment that connects to electrical power or which might be prone to electrostatic discharge (ESD) damage.
Electrical Equipment Guidelines
Follow these basic guidelines when working with any electrical equipment:
•Before beginning any procedures requiring access to the chassis interior, locate the emergency power-off switch for the room in which you are working.
•Disconnect all power and external cables before moving a chassis.
•Do not work alone when potentially hazardous conditions exist.
•Never assume that power has been disconnected from a circuit; always check.
•Do not perform any action that creates a potential hazard or makes the equipment unsafe.
•Carefully examine your work area for possible hazards such as damp floors, ungrounded power extension cables, and missing safety grounds.
Preventing Electrostatic Discharge
ESD damage, which can occur when electronic cards or components are improperly handled, can cause complete or intermittent failures.
Use the following guidelines to prevent ESD damage:
•Always wear an ESD wrist or ankle strap and ensure that it makes good skin contact; connect the equipment end of the strap to an unfinished chassis surface.
•Avoid contact between the printed circuit boards and clothing. The wrist strap only protects components from ESD voltages on the body; ESD voltages on clothing can still cause damage.
Warning For safety, periodically check the resistance value of the antistatic strap. The measurement should be between 1 and 10 megaohms (Mohms).
Hardware and Software Requirements
The compact Flash storage device provides file storage for the Catalyst 4000 family Supervisor Engine III running Cisco IOS Release 12.1(8a) EW or later.
Required Tools and Parts
You need some or all of the following tools and parts to install a compact Flash storage device:
•MEM-C4K-FLD64M or MEM-C4K-FLD128M compact Flash storage device kit
•Antistatic wrist strap
•Access to a Trivial File Transfer Protocol (TFTP) server
You must format the compact Flash storage device before using it in the Catalyst 4000 Family Supervisor Engine III.
Boot Environment Variables
The contents of the boot environment variables, which are stored in the configuration file in NVRAM, determine the actions your system takes on bootup. To see the current settings of these variables, use the show bootvar command, as follows:Switch> show bootvarBOOT variable =CONFIG_FILE variable =Current CONFIG_FILE variable =BOOTLDR variable does not existConfiguration register is 0x100
Following are explanations for each of these boot environment variables and instructions for changing them:
•BOOT variable—Points to the Cisco IOS software image that you want to boot; you set the variable in configuration mode.
Using the configure terminal and boot system commands, enter configuration mode and specify a filename to boot from. Here is an example:Switch# configure terminalEnter configuration commands, one per line. End with CTRL-Z.System(config)# boot system flash slot0:<image>
The result of this configuration file entry is that the BOOT variable is slot0:<image>
•CONFIG_FILE (configuration file) variable—Determines where the configuration is read from on bootup; you set it in configuration mode, as follows:Switch# configure terminalEnter configuration commands, one per line. End with CTRL-Z.System(config)# boot config slot0:filename
The result of this configuration file entry is that the CONFIG_FILE variable is slot0:filename.
Sample Upgrade Process
This section applies to users who want to use the compact Flash storage device for simple file storage. Use the following procedure to upgrade your compact Flash storage device:
Format your compact Flash storage device for IOS mode. See "Using the format Command" section for more information.
Copy an image to slot0 from bootflash or the network:switch# copy bootflash:imagename slot0:imagename
orswitch# copy tftp://<image path>/imagename slot0:imagename
After you finish these tasks, you should be able to store configuration files and Cisco IOS software images on your Flash Disk.
Installing a Compact Flash Storage Device
Warning Before you install, operate, or service the system, read the Site Preparation and Safety Guide. This guide contains important safety information you should know before working with the system.
This section provides the compact Flash storage device installation procedures.
Use the show version command to verify that a compact Flash-compatible version of Cisco IOS software is running on your system:Switch>show verCisco Internetwork Operating System SoftwareIOS (tm) Catalyst 4000 L3 Switch Software (cat4000-IS-M), ExperimentalVersion 12.1(20011221:004927) [cisco 130]Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Wed 02-Jan-02 11:21 byImage text-base:0x00000000, data-base:0x00BBF110ROM:12.1(10r)EWSwitch uptime is 5 hours, 25 minutesSystem returned to ROM by reloadSystem image file is"tftp://184.108.40.206/tftpboot/cisco/cat4000-is-mz"cisco WS-C4006 (MPC8245) processor (revision 6) with 262144K bytes ofmemory.Processor board ID FOX0519S2RRLast reset from ReloadBridging software.97 FastEthernet/IEEE 802.3 interface(s)2 Gigabit Ethernet/IEEE 802.3 interface(s)479K bytes of non-volatile configuration memory.Configuration register is 0x920
If Cisco IOS software version12.1(8a)EW or later is running on your system, proceed with the installation procedure. If Cisco IOS software version12.1(8a)EW or later is not running on your system, install an appropriate software image before proceeding with the installation procedure.
See Figure 1 and perform the following steps to install and eject a compact Flash storage device:
Step 1 Face the front panel of your supervisor engine.
Step 2 Hold the compact Flash storage device with its connector end toward the compact Flash storage device slot and its label facing up.
The compact Flash storage device is keyed and cannot be seated the wrong way.
Step 3 Insert the compact Flash storage device into the PC Card slot until the compact Flash storage device completely seats in the connector at the rear of the slot, and the ejector button pops out toward you (see a and b on Figure 1).
The ejector button does not pop out if the Flash Disk is not completely inserted.
Figure 1 Installing and Removing the Compact Flash Storage Device
Step 4 To eject a compact Flash storage device, press the ejector button—located to the left of the slot, as shown in Figure 1c— until the Flash Disk is free of the connector at the rear of the PC Card slot.
Step 5 Remove the compact Flash storage device from the slot and place it in an antistatic bag.
This completes the procedure for installing and removing a compact Flash storage device. Proceed to the "Working with a Compact Flash Storage Device" section.
Working with a Compact Flash Storage Device
This section provides basic instructions for working with a compact Flash storage device in your system. Refer to the Catalyst 4000 Family Supervisor Engine III Installation and Configuration Note for more information.
Note These and all publications are available on the Documentation CD-ROM and Cisco.com.
This section includes the following subsections:
Software Command Overview
This section lists some of the basic software commands you can use with the compact Flash storage device. Examples of these commands are included in the sections that follow.
The compact Flash storage device 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.
You can use the compact Flash storage device in the compact Flash slot on your Supervisor Engine III. The compact Flash slot is called slot0: and internal Flash is called bootflash:.Switch#show file systemFile Systems:Size(b) Free(b) Type Flags Prefixes* 61341696 42939612 flash rw bootflash:63897600 63897600 flash rw slot0:524260 523584 flash rw cat4000_flash:491500 489411 nvram rw nvram:
Table 2 lists the software commands for slot0.
Note You can use other arguments with some of the commands listed in Table 2; however, in Table 2 and throughout this document, command arguments are limited to those that apply to the compact Flash storage device 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."
Using Software Commands
The following sections provide examples of some of the basic software commands you can use with the Flash Disk. See Table 2, above, for optional arguments you can use with some of the following commands.
Using the show Command
To display information about compact Flash format, use the show [slot0: | bootflash:] command:System# show slot0:
Using the pwd Command
To determine which directory you are in, use the pwd command:System# pwdbootflash:/System#
The preceding example indicates that you are currently in the working directory called bootflash:, which is the internal Flash on the Supervisor Engine III.
Using the dir Command
To list the directory structure and contents of the memory card from which you are currently working, use the dir command with no arguments:Switch#dirDirectory of bootflash:/1 -rw- 5789296 --- -- ---- --:--:-- cat4000-is-mz.121_75_EK2_0822 -rw- 6051 Jan 09 2000 17:17:01 jsmith13 -rw- 6331880 --- -- ---- --:--:-- ddimage4 -rw- 6274200 --- -- ---- --:--:-- cat4000-is-mz.save5 -rw- 15 Feb 10 2000 21:09:59 ken.txt61341696 bytes total (42939612 bytes free)
Note that the size of the memory card is shown in the output of the dir command. You can also view the contents of other directories and file systems using specific optional arguments with the dir command. (See Table 2.)
Using the format Command
To format a new compact Flash storage device, use the format [slot0:] command.
You must format a new compact Flash storage device before you can use it. If you plan to use a compact Flash storage device that was formatted and used on another type of system, you must first reformat the compact Flash storage device for your current system.
Caution The formatting procedure erases all information on the compact Flash storage device. To prevent the loss of important data that might be stored on a compact Flash storage device, proceed carefully. If you want to save data that is currently on your compact Flash storage device, copy the data to a TFTP server or to another device before you format the new compact Flash storage device.
A compact Flash storage device is shipped blank; therefore, you must format it before you can use it.
Use the following procedure to format a new compact Flash storage device using the format command. (The procedure assumes you have already booted your system.)
Step 1 Insert the compact Flash storage device into the compact Flash slot on your Supervisor Engine III.
Step 2 Use the format slot0: command to format the compact Flash storage device in PC Card slot 0, as follows:Switch#format slot0:Format operation may take a while. Continue? [confirm]Format operation will destroy all data in "slot0:". Continue? [confirm]Enter volume ID (up to 64 chars)[default slot0]:Formatting sector 950Format of slot0 complete
The new compact Flash storage device is now formatted and ready to use in the system on which you formatted it.
Using the copy Command
To copy an image from a compact Flash storage device to another file system or from another file system to the Flash Disk, use the copy command:
copy [tftp: | bootflash: | slot0:]source-filename [tftp: | bootflash: | slot0:]destination-filename
In this example:
•The file you want to copy is located in a file system (tftp:, bootflash:, and so forth).
•The variable source-filename is the name of the file you want to copy to another file system (tftp:, bootflash:, and so forth).
•The variable destination-filename is the name you want to apply to this file after it is copied.
You do not need to change the filename; doing so is optional.
Using the delete Command
To delete a file from a compact Flash storage device, use the delete command. Use the dir command to find the file you want to delete, and then use the delete command to delete it.
The following procedure shows how to find a file (called fun1) on the compact Flash storage device in PC Card slot 0, delete the file, and then verify that it is deleted:
Step 1 Find the file you want to delete:Switch# dirDirectory of slot0:/1 -rw- 6051 Feb 22 2000 22:31:18 fun163897600 bytes total (63891420 bytes free)
Step 2 Delete the file fun1:Switch#del slot0:fun1Delete filename [fun1]?Delete slot0:fun1? [confirm]
Step 3 Verify that the file fun1 is deleted:Switch# dirDirectory of slot0:/No files in directory63897600 bytes total (63891420 bytes free)Switch#
Using the squeeze command
Use the squeeze command to reclaim space on bootflash:or slot0:devices after files have been deleted using the delete command. The squeeze command does not have to be used after every deletion, only when you start running out of space on bootflash:or slot0:.
Enabling Booting from a Compact Flash Storage Device
This section explains how to enable booting from a compact Flash storage device.
To enable booting from a compact Flash storage device, set the configuration register option to boot from the BOOT environment variable in conjunction with the boot system [slot0:]filename configuration command. Refer to the Catalyst 4000 Family Supervisor Engine III Installation and Configuration Note for more information. This section includes only descriptions of boot commands specific to the compact Flash storage device. (You can use either the bootflash: argument or the tftp argument for boot commands.)
Following is the definition of the compact Flash boot command:
boot system flash slot0:filename:—Makes slot0:filename part of the BOOT environment variable. During boot up time, this command will cause the ROM monitor to boot from files specified in BOOT.
For more information about BOOT and boot procedures, refer to the Catalyst 4000 Family Supervisor Engine III Installation and Configuration Note.
For more detailed installation and configuration information, refer to these publications:
•Regulatory Compliance and Safety Information
•Site Preparation and Safety Guide
•Catalyst 4000 Family Supervisor Engine III Installation and Configuration Note
•Software Configuration Guide—Release 12.1(8a)EW
•Command Reference—Release 12.1(8a)EW
•System Message Guide—Release 12.1(8a)EW
•Catalyst 4000 Family IOS Software Documentation Map
The following sections explain how to obtain documentation from Cisco Systems.
World Wide Web
You can access the most current Cisco documentation on the World Wide Web at the following URL:
Translated documentation is available at the following URL:
Cisco documentation and additional literature are available in a Cisco Documentation CD-ROM package, which is shipped with your product. The Documentation CD-ROM is updated monthly and may be more current than printed documentation. The CD-ROM package is available as a single unit or through an annual subscription.
Cisco documentation is available in the following ways:
•Registered Cisco Direct Customers can order Cisco product documentation from the Networking Products MarketPlace:
•Registered Cisco.com users can order the Documentation CD-ROM through the online Subscription Store:
•Nonregistered Cisco.com users can order documentation through a local account representative by calling Cisco corporate headquarters (California, USA) at 408 526-7208 or, elsewhere in North America, by calling 800 553-NETS (6387).
If you are reading Cisco product documentation on Cisco.com, you can submit technical comments electronically. Click Leave Feedback at the bottom of the Cisco Documentation home page. After you complete the form, print it out and fax it to Cisco at 408 527-0730.
You can e-mail your comments to email@example.com.
To submit your comments by mail, use the response card behind the front cover of your document, or write to the following address:
Attn: Document Resource Connection
170 West Tasman Drive
San Jose, CA 95134-9883
We appreciate your comments.
Obtaining Technical Assistance
Cisco provides Cisco.com as a starting point for all technical assistance. Customers and partners can obtain documentation, troubleshooting tips, and sample configurations from online tools by using the Cisco Technical Assistance Center (TAC) Web Site. Cisco.com registered users have complete access to the technical support resources on the Cisco TAC Web Site.
Cisco.com is the foundation of a suite of interactive, networked services that provides immediate, open access to Cisco information, networking solutions, services, programs, and resources at any time, from anywhere in the world.
Cisco.com is a highly integrated Internet application and a powerful, easy-to-use tool that provides a broad range of features and services to help you to
•Streamline business processes and improve productivity
•Resolve technical issues with online support
•Download and test software packages
•Order Cisco learning materials and merchandise
•Register for online skill assessment, training, and certification programs
You can self-register on Cisco.com to obtain customized information and service. To access Cisco.com, go to the following URL:
Technical Assistance Center
The Cisco TAC is available to all customers who need technical assistance with a Cisco product, technology, or solution. Two types of support are available through the Cisco TAC: the Cisco TAC Web Site and the Cisco TAC Escalation Center.
Inquiries to Cisco TAC are categorized according to the urgency of the issue:
•Priority level 4 (P4)—You need information or assistance concerning Cisco product capabilities, product installation, or basic product configuration.
•Priority level 3 (P3)—Your network performance is degraded. Network functionality is noticeably impaired, but most business operations continue.
•Priority level 2 (P2)—Your production network is severely degraded, affecting significant aspects of business operations. No workaround is available.
•Priority level 1 (P1)—Your production network is down, and a critical impact to business operations will occur if service is not restored quickly. No workaround is available.
Which Cisco TAC resource you choose is based on the priority of the problem and the conditions of service contracts, when applicable.
Cisco TAC Web Site
The Cisco TAC Web Site allows you to resolve P3 and P4 issues yourself, saving both cost and time. The site provides around-the-clock access to online tools, knowledge bases, and software. To access the Cisco TAC Web Site, go to the following URL:
All customers, partners, and resellers who have a valid Cisco services contract have complete access to the technical support resources on the Cisco TAC Web Site. The Cisco TAC Web Site requires a Cisco.com login ID and password. If you have a valid service contract but do not have a login ID or password, go to the following URL to register:
If you cannot resolve your technical issues by using the Cisco TAC Web Site, and you are a Cisco.com registered user, you can open a case online by using the TAC Case Open tool at the following URL:
If you have Internet access, it is recommended that you open P3 and P4 cases through the Cisco TAC Web Site.
Cisco TAC Escalation Center
The Cisco TAC Escalation Center addresses issues that are classified as priority level 1 or priority level 2; these classifications are assigned when severe network degradation significantly impacts business operations. When you contact the TAC Escalation Center with a P1 or P2 problem, a Cisco TAC engineer will automatically open a case.
To obtain a directory of toll-free Cisco TAC telephone numbers for your country, go to the following URL:
Before calling, please check with your network operations center to determine the level of Cisco support services to which your company is entitled; for example, SMARTnet, SMARTnet Onsite, or Network Supported Accounts (NSA). In addition, please have available your service agreement number and your product serial number.