10-3
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter10 Managing Your Cisco ONS 155 30 System
Using Flash Memory
Example
The following example shows how to format a CompactFlash c ard:
Switch# format disk0:
Format operation may take a while. Continue? [confirm] y
Format operation will destroy all data in `disk0:'. Continue? [confirm] y
Format:Drive communication & 1st Sector Write OK...
Writing Monlib
sectors.....................................................................
.......................
Monlib write complete
Format:All system sectors written. OK...
Format:Total sectors in formatted partition:81760
Format:Total bytes in formatted partition:49861120
Format:Operation completed successfully.
Format of disk0:complete
Note For more information on inserting a CompactFlash card, refer to the
Cisco ONS 15530 Hardware Installation Guide.
Copying the Startup Configuration Files to Flash Memory
To copy the startup configuration file from NVRAM to bootflash memory or to a CompactFlash card,
once the CompactFlash card is formatted and ready to use, use the following privileged EXEC com mand:
Example
The following example shows how to copy the startup configuration file to the CompactFlash card; the
default filename is used:
Switch# copy nvram:startup-config disk0:
Destination filename [startup-config]? y
386 bytes copied in 0.268 secs
Switch#
Copying Files Between Flash Memory Devices
On platforms with multiple Flash memory file systems, you can copy files from one Flash memory file
system, such as internal Flash memory or a CompactFlash card, to another Flash memory file system.
Copying files to different Flash memory file systems lets you create backup copi es of wo rking
configurations, duplicate configurations for other devices, and make c opie s o f syste m imag es.
Command Purpose
copy nvram:startup-config {bootflash: |
disk0: | sby-disk0:}Copies the startup-config file from NVRAM to Flash
memory.