B-22
Cisco Systems IntelligentGigabit Ethernet Switch Modules for the IBMBladeCenter, Software Configuration Guide
24R9746
AppendixB Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Software Images
Before uploading the image file, you might need to create an empty file on the TFTP server. To
create an empty file, enter the touch filename command, where filename is the name of the file you
will use when uploading the image to the server.
During upload operations, if you are overwriting an existing file (including an empty file, if you ha d
to create one) on the server, ensure that the permissions on the file are set correctly. Permissions on
the file should be world-write.
Downloading an Image File By Using TFTP
You can download a new image file and replace the current image or keep the current image.
Beginning in privileged EXEC mode, follow Steps 1 through 3 to download a new image from a TFTP
server and overwrite the existing image. To keep the current image, omit Step 3.
Command Purpose
Step1 Copy the image to the appropriate TFTP directory on the
workstation. Make sure that the TFTP server is properly
configured; see the “Preparing to Download or Upload an Image
File By Using TFTP” section on pageB- 21.
Step2 Log into the switch through a Telnet session.
Step3 archive download-sw /overwrite /reload
tftp:[[//location]/directory]/image-name.tar
Download the image file from the TFTP se rver to the switch, and
overwrite the current image.
The /overwrite option overwrites the software image in flash
with the downloaded image only if the version of the image
being downloaded is the same as the existing copy in flash
memory.
The /reload option reloads the system after downloading the
image unless the configuration has been changed and not been
saved.
For //location, specify the IP address of the TFTP server.
For /directory/image-name.tar, specify the directory
(optional) and the image to download. Directory and image
names are case sensitive.
Step4 archive download-sw /leave-old-sw /reload
tftp:[[//location]/directory]/image-name.tar
Download the image file from the TFTP se rver to the switch, and
keep the current image.
The /leave-old-sw option keeps the old software version after
a download.
The /reload option reloads the system after downloading the
image unless the configuration has been changed and not been
saved.
For //location, specify the IP address of the TFTP server.
For /directory/image-name.tar, specify the directory
(optional) and the image to download. Directory and image
names are case sensitive.