6-13
Cisco 7204 Installation and Configuration Guide
OL-5101-02
Chapter6 Maintaining the Cisco 7204 Replacing or Recovering a Lost Password
Step2 Copy all the files on the Flash memory card to a TFTP server or a seco nda ry Fl as h m emor y ca rd. The
following example is for copying files to a TFTP server. Refer to Copying a Bootable Image onto a
Flash Memory Card section on page6-9 for Flash memory card examples.
Router> en
Password:
Router# copy slot0:image.name tftp
Enter destination file name [image.name]: image.name
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Address or name of remote host [tftp.server.name]? tftp.server.name
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Router#
Step3 Reformat the Flash memory card using the format slot0: (or format slot1:) command as follows.
Router# format slot0:
All sectors will be erased, proceed? [confirm]
Enter volume id (up to 30 characters): MyNewCard
Formatting sector 1
Format device slot0 completed
Router#
Step4 Copy the files you saved to the TFTP server back to the Flash memory card as follows.
Router# copy tftp slot0
Enter source filename: image.name
20575008 bytes available on device slot0, proceed? [confirm]
address or name of remote host [tftp.server.name]? tftp.server.name
loading new.image from tftp.server.name (via Ethernet1/0):!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 7799951/15599616 bytes]
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#
The Flash memory card is now reformatted and rea dy to u s e.
Replacing or Recovering a Lost Password
This section describes how to recover a lost enable or console login password, and how to replace a l ost
enable secret password on your Cisco 7204 router.
Note It is possible to recover the enable or console login password. The enable secret password is encry pt ed,
however, and must be replaced with a new enable secret password.