B-28
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
The algorithm installs the downloaded image onto the system board Flash device (flash:). The image is
placed into a ne w di rectory na med wit h the softw are v ersion s tring, and the BOOT en vi ronmen t v ariable
is updated to point to the newly installed ima ge.
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 sy s tem b oa rd Fla s h device. For file-url, enter the directory name of the
old sof tware i mag e. Al l t he files in the dir ect ory and the d irec tor y are removed.
Caution For the download and up load al gorithm s to opera te properl y, do not re name im age name s.

Uploading an Image File By Using FTP

You can upload an image from the switch to an FTP server. You can later download this image to the
same switch or to another switch of t he 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 an FTP server:
Command Purpose
Step 1 Verify that the FTP server is properly configured by referring
to t he Preparing to Download or Upload a Configuration
File By Using FTP section on page B-13.
Step 2 Log into the switch through the console port or a Telnet
session.
Step 3 configure terminal Enter glob al configura tion mod e.
This step is required only if you override the default remote
username or pa ssword (see Steps 4, 5, and 6).
Step 4 ip ftp username username (Optiona l) Change th e default re mote user name.
Step 5 ip ftp password password (Optional) Change the default password.
Step 6 end Return to privileged EXEC mode.
Step 7 archive upload-sw
ftp:[[//[username[:password]@]location]/directory]/
image-name.tar
Upload the currently running switch image to the FTP serv er .
For //username:password, specify t he us er na me a nd
password. Th ese must be a ssociated with an account on
the FTP server. For more information, see the
Preparing to Download or Upload an Image File By
Usin g FT P section on page B-25.
For @location, specif y th e IP ad dre s s of the FTP se rver.
For /directory/image-name.tar, specify the direct ory
(optional) and the name of the software image to be
uploaded. Directory and image names are case sensitive.
The image-name.tar is the name of the software image
to be stored on the server.