Copying To The Flash Memory Card; Recovering From Locked Blocks - Cisco 7000 Hardware Installation And Maintenance

Hide thumbs Also See for 7000:
Table of Contents

Advertisement

When you enter boot commands, pay attention to the use of the Spacebar, which influences the way
the router interprets the command. For example, notice the difference in the following commands:
Router(config)# boot system flash slot0:myfile
Router(config)# boot system flash slot0: myfile
In the first case, the router boots the file specified (
filename field blank, and boots the first file on the Flash memory card.

Copying to the Flash Memory Card

Copying to the Flash memory card might be required whenever a new image or maintenance release
becomes available.
Use the command copy tftp:filename [ bootflash | slot0]:filename for the copy procedure, where
tftp:filename is the source of the file and [ bootflash | slot0]:filename is the destination in onboard
Flash memory or on either of the Flash memory cards.
An example of the copy tftp:filename command follows:
Router# copy tftp:myfile1 slot0:myfile1
20575008 bytes available on device slot0, proceed? [confirm]
Address or name of remote host [1.1.1.1]?
Loading new.image from 1.1.1.1 (via Ethernet1/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 7799951/15599616 bytes]
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#
Note
the "C" characters signify calculation of the checksum, which is a verification that the file has been
correctly downloaded to the Flash memory card.

Recovering from Locked Blocks

A locked block of Flash memory occurs when power is lost or a Flash memory card is unplugged
during a write or erase operation. When a block of Flash memory is locked, it cannot be written to
or erased, and the operation will consistently fail at a particular block location. The only way to
recover from locked blocks is by reformatting the Flash memory card with the format command.
Caution
be lost.
For complete command descriptions and configuration information, refer to the Router Products
Command Reference publication and the Router Products Configuration Guide.
In the preceding example, the exclamation points (!!!) appear as the file is downloaded and
Formatting a Flash memory card to recover from locked blocks will cause existing data to
Using the Flash Memory Card
(correct command)
(incorrect command)
). In the second case, the router finds the
myfile
Installing the Router 3-149

Advertisement

Table of Contents
loading

Table of Contents