Cisco Systems 3 manual Erasing Files from a Full Boot Flash Memory SIMM, Router# dir bootflash

Models: 3

1 18
Download 18 pages 57.05 Kb
Page 9
Image 9
Erasing Files from a Full Boot Flash Memory SIMM

Chapter 3 Initial Switch Router Configurations

Using the Boot Flash Memory SIMM

Router# dir bootflash:

Directory of bootflash:/

1

-rw-

3173128

<no

date>

cat2948g-in-mz.120-7.W5.14.45

2

-rw-

3173364

<no

date>

cat2948g-in-mz.120-7.W5.14.46

16777216 bytes total (10430596 bytes free)

Note To retain existing images on boot flash, enter no when you are prompted to confirm erasing boot flash.

Erasing Files from a Full Boot Flash Memory SIMM

In the event that the boot flash memory is full, you must erase all the files in the boot flash memory file system before copying a new image file from the TFTP server.

Note When boot flash memory is full, it is important to first make a copy of a known good image

 

file, and then copy a new system image file. In case the new image file you copy from the

 

TFTP server is corrupted, you can revert to the copy of the known good system image file.

 

For a detailed example on how to first make a copy of a known good image file, and then

 

copy a new system image file, refer to the “Copying the System Image to the Switch

 

Router” section on page 3-14.

 

 

 

 

 

 

 

 

 

Use the following commands to first erase and clean boot flash memory and then copy the new system

 

image from the TFTP server to boot flash memory beginning in privileged EXEC mode:

 

 

 

 

 

Command

Purpose

Step 1

 

 

 

Router# dir bootflash:

Displays the contents of boot flash memory,

 

 

including the names of the images that

 

 

currently reside there.

Step 2

 

 

 

Router# copy tftp: bootflash:

Erases boot flash memory and copies a file

 

 

from a TFTP server to boot flash memory.

 

 

 

 

 

 

 

Catalyst 2948G-L3 and Catalyst 4908G-L3 Software Feature and Configuration Guide

 

 

 

 

 

 

 

78-10408-01, Cisco IOS Release 12.0(7)W5(15d)

 

 

3-9

 

 

 

 

 

Page 9
Image 9
Cisco Systems 3 manual Erasing Files from a Full Boot Flash Memory SIMM, Router# dir bootflash, Router# copy tftp bootflash