Specifications

2-19
Cisco 12000 Series Internet Router Configuration Guide for Cisco IOS Release 12.0S
Chapter 2 Basic Configuration of the Cisco 12000 Series Internet Router
Upgrading and Backing Up Cisco IOS Software Images and Configuration Files
Use the dir command to verify that the configuration file was copied correctly to the Flash memory
media, as shown in the following example for the Flash memory card in slot 0:
Router# dir slot0:
-#- -length- -----date/time------ name
1 5200084 May 10 1997 19:24:12 gsr-p-mz.112-8
3 1215 May 10 1997 20:30:52 myfile1
4 6176844 May 10 1997 23:04:10 gsr-p-mz.112-8.1
5 1186 May 10 1997 16:56:50 myfile2
9197156 bytes available (11381148 bytes used)
Restoring a Configuration File
To restore a configuration file from a Flash memory card or disk in PCMCIA slot 0 or slot 1 to NVRAM,
follow these steps:
This completes the procedure for restoring a configuration file from a Flash memory card or disk to
NVRAM.
Recovering from Locked Blocks in Flash Memory Cards or Flash Disks
A locked block in a Flash memory card or Flash disk occurs when power is lost or a Flash memory card
or Flash disk is removed from its PCMCIA slot on the RP during a write or erase operation.
When a block of Flash memory is locked, it cannot be written to or erased. Any attempt at such an
operation will consistently fail at the blocked location. The only way to recover from locked blocks in a
Flash memory card or Flash disk is to reformat it using the format command. For more information, see
the “Formatting a Flash Memory Card or Flash Disk” section on page 2-11.
Caution Formatting a Flash memory card or disk erases all existing data on the card or disk.
Command Purpose
Step 1
Router# copy slot0:
filename
startup-config
Copies the configuration file located in the PCMCIA Flash
memory card in slot 0 to NVRAM (the system default). Use slot1:
to copy from a card in slot 1, disk0: to copy from a disk in slot 0,
disk1: to copy from a disk in slot 1.
Step 2
Router# copy startup-config running-config
Designates the startup configuration file stored in NVRAM to be
the default running configuration file for the system.