C-32
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
AppendixC Working with the Cisco IOS File System, Configura tion Files, and Software Images
Working with Software Images
username global configuration command. This new name will be used during all archive operations.
The new username is stored in NVRAM. If you are accessing the switch through a Telnet session
and you have a valid username, this username is used, and you do not need to set the FTP username.
Include the username in the archive download-sw or archive upload-sw privileged EXEC
command if you want to specify a username for that operation only.
When you upload an image file to the FTP server, it must be properly configured to accept the write
request from the user on the switch.
For more information, see the documentation for your FTP server.
Downloading an Image File By Using FTP
You can download a new image file and overwrite the current image or keep the current image.
Beginning in privileged EXEC mode, follow Steps 1 through 7 to download a new image from an FTP
server and overwrite the existing image. To keep the current image, go to Step 7.
Command Purpose
Step1 Verify that the FTP server is properly configured by referring
to the “Preparing to Download or Upload an Image File By
Using FTP” section on page C-31.
Step2 Log into the switch through the console port or a Telnet
session.
Step3 configure terminal Enter global configuration mode.
This step is required only if you override the default remote
username or password (see Steps 4, 5, and 6).
Step4 ip ftp username username (Optional) Change the default remote username.
Step5 ip ftp password password (Optional) Change the default password.
Step6 end Return to privileged EXEC mode.
Step7 archive download-sw /allow-feature-upgrade
/overwrite /reload
ftp:[[//username[:password]@location]/directory]
/image-name.tar
Download the image file from the FTP server to the switch,
and overwrite the current image.
The /allow-feature-upgrade option allows installation of
an image with a different feature set.
The /overwrite option overwrites the software image in
flash memory with the downloaded image.
The /reload option reloads the system after downloading
the image unless the configuration has been changed and
not been saved.
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 C-31.
For @location, specify the IP address of the FTP server.
For directory/image-name.tar, specify the directory
(optional) and the image to download. Directory and
image names are case sensitive.