10-4
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter10 Managing Your Cisco ONS 15530 System
Using Flash Memory
The following example describes how to copy a new system i m ag e fr om F lash m em or y o n th e ac tive
CPU switch module to a Flash memory on the standby CPU switch module t hat contains an old system
image. If you are copying to a CompactFlash card, first insert the CompactFlash card in the target CPU
switch module.
Tips Make sure that the new system image file fits on the CompactFlash card in the standby CPU switch
module along with the old system image file.
To copy the new system image file from the CompactFlash card on the active CPU switch module to the
CompactFlash card on the standby CPU switch module that contains the old system im age f ile, enter this
command from privileged EXEC mode:
Switch# copy disk0:image.new sby-disk0:image.new
Viewing the Contents of Flash Memory
This section describes commands you can use with the onboard Flash memory SIMM (bootflash) and
CompactFlash cards.

Determining the Current File System Device

To determine which file system device you are accessing, use the pwd (print working directory)
command, as shown in the following example:
Switch# pwd
disk0:/

Moving Between Flash Memory Devices

To move between Flash memory devices, use the cd command, as shown in the following example:
Switch# cd bootflash:
Switch# pwd
bootflash:/

Listing the Flash Memory Directory Contents

To list the directory contents of any Flash memory media, use the dir command, as shown in the
following example:
Switch# dir disk0:
Directory of disk0:/
1 -rw- 2438216 May 21 2001 11:44:35 ons15530-i-mz.1
2 -rw- 2426828 May 23 2001 16:02:49 ons15530-i-mz.2
Deleting Files from Bootflash Memory
When you delete a file from bootflash memory, the system marks the f ile as deleted, allowing you to later
recover a deleted file using the undelete command. Erased files cannot be recovered. To permanently
erase the configuration file, use the squeeze command.