cc/td/doc/product/access/acs_mod/cis3600
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Installing and Configuring Flash Memory Cards in Cisco 3600 Series Routers

Installing and Configuring Flash Memory Cards in Cisco 3600 Series Routers

Product Numbers: MEM3600-4FC=, MEM3600-8FC=, MEM3600-16FC=, MEM3600-32FC=

This document describes how to install Flash memory cards in Cisco 3600 series routers, how to partition the cards, and how to copy files.


Note In this document, the term "Cisco 3600 series" represents these router models:
- Cisco 3620 router
- Cisco 3640 router
- Cisco 3660 router

Use this document with the Cisco 3600 Series Hardware Installation Guide and the Regulatory Compliance and Safety Information document for Cisco 3600 series routers. If you have questions or need help, refer to the "Cisco Connection Online" section.

This document contains the following sections:

Preventing Electrostatic Discharge Damage

Flash memory cards are sensitive to electrostatic discharge (ESD) damage. ESD damage, which can occur when electronic cards or components are handled improperly, results in complete or intermittent failures.

Follow these guidelines to prevent ESD damage:

Caution
For safety, periodically check the resistance value of the antistatic strap. The measurement should be between 1 and 10 megohms (Mohms).

Installing a Flash Memory Card

The router includes two Personal Computer Memory Card International Association (PCMCIA) slots. You can install 4-, 8-, 16-, or 32-MB (for the Cisco 3660 router only) Flash memory cards in these slots.


Note The PCMCIA slots are also compatible with Cisco 1000 series fast Flash memory cards.

Follow these steps to install a Flash memory card:

Step 1 Verify that the Flash memory card's write-protect switch is OFF.
The write-protect switch is at the top left edge of the card, when you view it with the label side toward you. (See Figure 1.)


Figure 1: Setting the Write-Protect Switch


Step 2 Locate the PCMCIA slots, labeled 1 and 0, at the bottom right corner of the front panel of the chassis. (See Figure 2 and Figure 3.)

Step 3 If you have a Cisco 3620 or Cisco 3640 router, insert the connector end of the Flash memory card, label side up, into one of the PCMCIA slots until the card is seated in the connector. (See Figure 2.)

If you have a Cisco 3660 router, move the slot button to the front of the router and then insert the connector end of the Flash memory card, label side up, into the PCMCIA slot until the card is seated in the connector. (See Figure 3.)


Figure 2: Installing a Flash Memory Card in the Cisco 3620 or Cisco 3640 Router



Figure 3:
Installing a Flash Memory Card in the Cisco 3660 Router


Removing a Flash Memory Card

Follow these steps to remove a Flash memory card:

Step 1 On a Cisco 3620 or Cisco 3640 router, grasp the card near the slot and pull it free from the connector. (See Figure 4.)

On a Cisco 3660 router, press the button next to the PCMCIA slot to be evacuated.
(See Figure 5.)

Caution
Do not remove the Flash memory card while it is performing a read or write operation, because the router will shut down.

Step 2 Place the removed Flash memory card on an antistatic surface or in a static shielding bag.


Figure 4: Removing a Flash Memory Card from the Cisco 3620 or Cisco 3640 Router



Figure 5:
Removing a Flash Memory Card from the Cisco 3660 Router


Partitioning a Flash Memory Card

Flash memory cards ordered from Cisco Systems ship blank (without software installed). Before copying files to a Flash memory card, you might want to partition it.

Follow these steps to partition a Flash memory card:

Step 1 Enter privileged EXEC mode:

    Router> enable 
    Password: <password>
    Router# 
     
    

Step 2 Enter global configuration mode:

    Router# configure terminal 
    Router(config)#
     
    

Step 3 Enter the partition {slot0: | slot1:} [partition-number] [partition1-size] [partition2-size] command:

    Router(config)# partition slot1: 1 2 4
     
    

The partition size is expressed in megabytes (MB).


Note If only one partition size is specified, or if the size(s) are out of acceptable range, the following error messages are displayed:
%Error: Too few partition size parameters
%Error: Requested partitions not valid

Displaying the Contents of a Flash Memory Card

To display the contents of a Flash memory card, enter the show {slot0: | slot1:} command, for example:

Router# show slot1:
 
PCMCIA Slot1 flash directory, partition 1:
File  Length   Name/status
  1   1933052  c3640-i-mz.111-6.3.AA
[1933116 bytes used, 6455492 available, 8388608 total]
8192K bytes of processor board PCMCIA Slot1 flash (Read/Write)
 
PCMCIA Slot1 flash directory, partition 2:
File  Length   Name/status
  1   3399444  c3640-j-mz.111-7.AA
[3399508 bytes used, 794796 available, 4194304 total]
4096K bytes of processor board PCMCIA Slot1 flash (Read/Write)
 
PCMCIA Slot1 flash directory, partition 3:
File  Length   Name/status
  1   2359     running-config
[2424 bytes used, 4191880 available, 4194304 total]
4096K bytes of processor board PCMCIA Slot1 flash (Read/Write) 
 

Similarly, you can display the contents of system (onboard) Flash memory by entering the show flash: command.

Copying a File from System Flash Memory to a Flash Memory Card

You can use a Flash memory card to store a backup copy of a Cisco IOS image or other file. Follow these steps to copy a file from system (onboard) Flash memory to a Flash memory card:

Step 1 Enter privileged EXEC mode:

    Router> enable 
    Password: <password> 
    Router#
     
    

Step 2 Enter the copy flash:[partition:filename] {slot0: | slot1:}[partition:filename] command. Replace partition with the partition number and filename with the name of the file, for example:

    Router# copy flash:2:TESTFILE slot0:3:TESTFILE
     
    PCMCIA Slot0 flash directory, partition 3:
    No files in PCMCIA Slot0 flash
    [0 bytes used, 4194304 available, 4194304 total]
    Verifying checksum for 'TESTFILE' (file # 1)...  OK
    Erase flash device before writing? [confirm] n
    

Step 3 Press Return or type y to erase the current contents of the partition, or enter n to save the contents. Then confirm your selection:

    Copy 'TESTFILE' from flash: device
      as 'TESTFILE' into slot0: device WITHOUT erase? [yes/no] y
    !
     [OK - 68/4194304 bytes]
     
    Flash device copy took 00:00:05 [hh:mm:ss]
    Verifying checksum...  OK (0x4ACD) 
    

Copying a Running Configuration File to a Flash Memory Card

You can also use a Flash memory card to store a backup copy of a configuration file. Follow these steps to copy a configuration file to a Flash memory card:

Step 1 Enter privileged EXEC mode:

    Router> enable 
    Password: <password> 
    Router#
     
    

Step 2 Enter the copy running-config {slot0: | slot1:}[partition:filename] command. Replace partition with the partition number and filename with the name of the file, for example:

    Router# copy running-config slot0:3:myconfig
     
    PCMCIA Slot0 flash directory, partition 3:
    File  Length   Name/status
      1   68       TESTFILE
    [132 bytes used, 4194172 available, 4194304 total]
    Building configuration...
     
    Erase flash device before writing? [confirm] n
    

Step 3 Press Return or enter y to erase the current contents of the partition, or enter n to save the contents. Then confirm your selection:

    Copy 'running-config'
      as 'myconfig' into flash device WITHOUT erase? [yes/no] y
    !
     [OK - 922/4194172 bytes]
     
    Verifying checksum...  OK (0xC4D4)
    Flash device copy took 00:00:00 [hh:mm:ss]
    Router# 
    

Copying a File from a Flash Memory Card to System Flash Memory

You can copy files from a Flash memory card to system (onboard) Flash memory (for instance, when restoring a backup). Follow these steps to copy a file from a Flash memory card to system Flash memory:

Step 1 Enter privileged EXEC mode:

    Router> enable 
    Password: <password> 
    Router#
     
    

Step 2 Enter the copy {slot0: | slot1:}[partition:filename] flash:[partition:filename] command. Replace partition with the partition number and filename with the name of the file, for example:

    Router# copy slot0:3:TESTFILE flash:2:TESTFILE2
     
    System flash directory, partition 2:
    File  Length   Name/status
      1   68       TESTFILE
      2   3399444  myfile
    [3399640 bytes used, 794664 available, 4194304 total]
    Verifying checksum for 'TESTFILE' (file # 1)...  OK
    Erase flash device before writing? [confirm] n
    

Step 3 Press Return or type y to erase the current contents of the partition, or enter n to save the contents. Then confirm your selection:

    Copy 'TESTFILE' from slot0: device
      as 'TESTFILE2' into flash: device WITHOUT erase? [yes/no] y
    !
     [OK - 68/794664 bytes]
     
    Flash device copy took 00:00:04 [hh:mm:ss]
    Verifying checksum...  OK (0x4ACD)
    Router# 
    

Copying a File between Slots

This section describes how to copy a file from one Flash memory card to another Flash memory card in the other slot.


Note The source and destination slots cannot be the same. For example, if the source file is on the card in slot 0, you cannot copy the file to the same card in slot 0.

Follow these steps to copy a file between two slots:

Step 1 Enter privileged EXEC mode as follows:

    Router> enable 
    Password: <password>
    Router# 
     
    

Step 2 Insert the Flash memory card that contains the source file into the slot labeled 0.

Step 3 Insert a second Flash memory card into the slot labeled 1. This card does not have to be partitioned.

Step 4 Enter the copy {slot0: | slot1:}[partition:filename]{slot0: | slot1:} [partition:filename] command to copy a file from one slot to the other. In the following example, there are no partitions on the destination Flash memory card:

    Router# copy slot0:3:TESTFILE slot1:
     
    PCMCIA Slot1 flash directory:
    File  Length   Name/status
      1   1783471 FILE1
    [1783536 bytes used, 313616 available, 2097152 total]
    Destination file name [TESTFILE]?
    Verifying checksum for 'TESTFILE' (file # 1)...  OK
    Erase flash device before writing? [confirm] n
    

Step 5 Press Return or enter y to erase the current contents of the destination partition (if any), or enter n to save the contents. Then confirm your selection:

    Copy 'TESTFILE' from slot0: device
      as 'TESTFILE' into slot1: device WITHOUT erase? [yes/no] y
    !
     [OK - 68/313616 bytes]
     
    Flash device copy took 00:00:05 [hh:mm:ss]
    Verifying checksum...  OK (0x4ACD)
    Router# 
     
    

Booting from a Flash Memory Card

You can configure the router to boot from a Cisco IOS image on the Flash memory card, rather than from system Flash memory. The router boots the image on the Flash memory card, copies the image to onboard DRAM, and then executes the image from DRAM. The router does not execute the image directly from the Flash memory card.

Follow these steps to specify the image on the Flash memory card as the boot image:

Step 1 Enter privileged EXEC mode:

    Router> enable 
    Password: password
    Router# 
     
    

Step 2 Enter global configuration mode:

    Router# configure terminal 
    Router(config)#
     
    

Step 3 Enter the boot system flash {slot0: | slot1:}[partition:filename] command to specify the boot image location and name. In the following example, the boot image is located on the Flash memory card in the 0 slot, partition 3, and the filename is new.image:

    Router(config)# no boot system 
    Router(config)# boot system flash slot0:3:new.image 
    

Step 4 Set the configuration register to 0x2102 (the default setting), which indicates that the router should attempt to boot a Cisco IOS image from Flash memory:

    Router(config)# config-register 0x2102 
     
    

Step 5 Exit global configuration mode:

    Router(config)# exit
    Router#
     
    

Step 6 Enter the copy running-config startup-config command to save the configuration changes to NVRAM.

Step 7 Enter the reload command to reload the router. When the router reloads, it will boot the image new.image from the Flash memory card in slot 0.

Erasing the Contents of a Flash Memory Card

To erase a partition or the entire contents of a Flash memory card, enter the command erase {slot0: | slot1:} [partition:]. Replace partition with the partition number. You cannot specify a filename. The following example erases the contents of partition 2 of the card in slot 1.


Note Cisco recommends first displaying the contents of the partition that you plan to erase.
Router# show slot1:
 
PCMCIA Slot1 flash directory, partition 1:
File		 	 Length	 	 Name/status
1	 	 	 	 	 1583	 	 	 	 test1
[1648 bytes used, 4192656 available, 4194304 total]
4096K bytes of processor board PCMCIA Slot1 flash (Read/Write)
 
PCMCIA Slot1 flash directory, partition 2:
File		 	 Length	 	 Name/status
1	 	 	 	 	 1611	 	 	 	 running-config
2	 	 	 	 	 1583	 	 	 	 configfile
[3324 bytes used, 4190980 available, 4194304 total]
4096K bytes of processor board PCMCIA Slot1 flash (Read/Write)
 
Router# erase slot1:2:
Erasing the slot1:2 filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased
Erase of slot1:2: complete
 
Router# 
 

Note If you omit the partition variable, you are prompted for it.

Cisco Connection Online

Cisco Connection Online (CCO) is Cisco Systems' primary, real-time support channel. Maintenance customers and partners can self-register on CCO to obtain additional information and services.

Available 24 hours a day, 7 days a week, CCO provides a wealth of standard and value-added services to Cisco's customers and business partners. CCO services include product information, product documentation, software updates, release notes, technical tips, the Bug Navigator, configuration notes, brochures, descriptions of service offerings, and download access to public and authorized files.

CCO serves a wide variety of users through two interfaces that are updated and enhanced simultaneously: a character-based version and a multimedia version that resides on the World Wide Web (WWW). The character-based CCO supports Zmodem, Kermit, Xmodem, FTP, and Internet e-mail, and it is excellent for quick access to information over lower bandwidths. The WWW version of CCO provides richly formatted documents with photographs, figures, graphics, and video, as well as hyperlinks to related information.

You can access CCO in the following ways:

For a copy of CCO's Frequently Asked Questions (FAQ), contact cco-help@cisco.com. For additional information, contact cco-team@cisco.com.


Note If you are a network administrator and need personal technical assistance with a Cisco product that is under warranty or covered by a maintenance contract, contact Cisco's Technical Assistance Center (TAC) at 800 553-2447, 408 526-7209, or tac@cisco.com. To obtain general information about Cisco Systems, Cisco products, or upgrades, contact 800 553-6387, 408 526-7208, or cs-rep@cisco.com.




Documentation CD-ROM

Cisco documentation and additional literature are available in a CD-ROM package, which ships with your product. The Documentation CD-ROM, a member of the Cisco Connection Family, is updated monthly. Therefore, it might be more current than printed documentation. To order additional copies of the Documentation CD-ROM, contact your local sales representative or call customer service. The CD-ROM package is available as a single package or as an annual subscription. You can also access Cisco documentation on the World Wide Web at http://www.cisco.com, http://www-china.cisco.com, or http://www-europe.cisco.com.

If you are reading Cisco product documentation on the World Wide Web, you can submit comments electronically. Click Feedback in the toolbar and select Documentation. After you complete the form, click Submit to send it to Cisco. We appreciate your comments.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Jul 29 08:46:07 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.