Working with Software Images
The algorithm installs the downloaded image onto the system board Flash device (flash:). The image is
placed into a new directory named with the software version string, and the BOOT environment variable
is updated to point to the newly installed image.
If you kept the old image during the download process (you specified the /leave-old-sw keyword), you
can remove it by entering the delete /force /recursive filesystem:/file-url privileged EXEC command.
For filesystem, use flash: for the system board Flash device. For file-url, enter the directory name of the
old software image. All the files in the directory and the directory are removed.
Caution
For the download and upload algorithms to operate properly, do not rename image names.
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 the same type.
The upload feature should be used only if the HTML pages associated with the 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
Step 1
Step 2
Step 3
configure terminal
Step 4
ip ftp username username
Step 5
ip ftp password password
Step 6
end
Step 7
archive upload-sw
ftp:[[//[username[:password]@]location]/directory]/
image-name.tar
Catalyst 3560 Switch Software Configuration Guide
B-28
Appendix B
Working with the Cisco IOS File System, Configuration Files, and Software Images
Purpose
Verify that the FTP server is properly configured by
referring to the
Configuration File By Using FTP" section on page
Log into the switch through the console port or a Telnet
session.
Enter global configuration mode.
This step is required only if you override the default remote
username or password (see Steps 4, 5, and 6).
(Optional) Change the default remote username.
(Optional) Change the default password.
Return to privileged EXEC mode.
Upload the currently running switch image to the FTP
server.
•
For //username:password, specify the username and
password. These must be associated with an account on
the FTP server. For more information, see the
"Preparing to Download or Upload an Image File By
Using FTP" section on page
For @location, specify the IP address of the FTP server.
•
For /directory/image-name.tar, specify the directory
•
(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.
"Preparing to Download or Upload a
B-25.
B-13.
78-16156-01