B-19
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
AppendixB Working with the Cisco IOS File System, Configuration Files, and Software Images Working with Software Images

Clearing Configuration Information

You can clear the configuration information from the startup configuration. If you reboot the swi tch with
no startup configuration, the switch enters the setup program so that you can r econfigure the switch with
all new settings.

Clearing the Startup Configuration File

To clear the contents of your startup configuration, use the erase nvram: or the erase startup-config
privileged EXEC command.
Caution You cannot restore the startup configuration file after it has been deleted.

Deleting a Stored Configuration File

To delete a saved configuration from flash memory, use the delete flash:filename privileged EXEC
command. Depending on the setting of the file prompt global configuration command, you might be
prompted for confirmation before you delete a file. By default, the switch promp ts for c onfirmation on
destructive file operations. For more information about the file prompt command, re fer to the Cisco IOS
Command Reference for Release 12.1.
Caution You cannot restore a file after it has been deleted.
Working with Software Images
This section describes how to archive (download and upload) software image files, whi ch con tai n t he
system software, Cisco IOS code, and the web management HTML files.
You download a switch image file from a TFTP, FTP , or RCP server to upgrade the switch software. You
can replace the current image with the new one or keep the current image in flash memory after a
download.
You upload a switch image file to a TFTP, FTP, or RCP server for backup purposes. You can use this
uploaded image for future downloads to the same switch or another of the same type.
The protocol that you use depends on which type of server tha t y ou are usin g. Th e FTP an d RCP
transport mechanisms provide faster performance and more reliable delivery of data than TFTP. These
improvements are possible because FTP and RCP are built on and use the TCP/IP stack, which i s
connection-oriented.
This section includes this information:
Image Location on the Switch, page B-20
tar File Format of Images on a Server or Cisco.com, page B-20
Copying Image Files By Using TFTP, page B-21
Copying Image Files By Using FTP, page B-24
Copying Image Files By Using RCP, page B-28