B-24
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Appendix B Working with the IOS File System , Configura tion Files, an d Software Ima g es
Working with Software Images
Note If the Flash device has suff icient space to hold two images and you want to overwrite one of these images
with the same version, you must specify the /overwrite option . However, the 2950 LRE o nly supports
one complete set of IOS, HTML, and LRE binary files, and one IOS binary on the flash. You cannot have
two complete sets of images with the 2950 LRE.
If you specify the /leave-old-sw option, the existing files are not removed. If there is not enough space
to install the new image and keep the current running image, the download process stops, and an error
message a ppea rs.
The algorithm installs the downloaded image on the system board Flash deviceThe image is placed
into a new directo ry named w ith the softwa re version strin g, and the BO OT environm ent variable is
updated to point to the newly installed image.
If you kept the old i mag e d uri ng the download p ro cess (y ou sp eci fied the /leave-old-sw keyword), you
can remove it by en terin g th e delete /force /recursive filesystem:/file-url privileged EXEC command.
For filesystem, use flash: for th e s y st em b oa rd Flash dev i ce. For file-url, enter the directory name of the
old im age . Al l the files in t he d ir ect ory a nd the d ire ctor y ar e removed.
Caution For the download and up load algor ithms to operate properl y, do not rename imag e name s.

Uploading an Image File By Using TFTP

You can upload an image from the switch to a TFTP server. You can later download this image to the
switch or to an other swit ch of the same type.
The u ploa d fea tur e is available onl y if the HTM L pa ge s assoc iate d wi th t he Cl uste r Ma nage me nt Suit e
(CMS) have been installed with the existing image.
Beginning in privileged EXEC mode, follow these steps to upload an image to a TFTP server:
The archive upload-sw privileged EXEC command builds an image file on the server by uploading
these f iles in ord er: info, the I OS image, the HT ML f iles, LRE bin ary files, and info.v er. After t hese fil es
are up lo ad ed , the uplo ad a lgor it h m c rea t es t he ta r file fo rm at .
Command Purpose
Step 1 Make sure the TFTP server is properly configured; see the
Preparing to Download or Uploa d an Imag e File By Usin g TFTP
section on pa ge B-22.
Step 1 Log into the switch through the console port or a Telnet session.
Step 2 archive upload-sw
tftp:[[//location]/directory]/image-name.tar Upload the currently running switch image to the TFTP server.
For //location, specify the IP address of the TFTP server.
Fo r / directory/image-name.tar, specify the directory
(optio nal) and the name of the soft war e im age to be up loaded.
Directory and image names are case sensitive. The
image-name.tar is the name of the softw are image to b e stored
on the server.