Cisco Systems 2955 Switch User Manual


 
B-21
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Appendix B Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Software Images
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.
The download algorithm verifies that the image is appropriate for the switch model and that enough
DRAM is present, or it stops the process and reports an error. If you specify the /overwrite option, the
download algorithm removes the existing image on the flash device whether or not it is the same as the
new one, downloads the new image, and then reloads the software.
Note If the flash device has sufficient space to hold two images and you want to overwrite one of these images
with the same version, you must specify the /overwrite option. The Catalyst 2950 LRE switch supports
only one complete set of Cisco IOS, HTML, LRE binary files, and one Cisco IOS binary file on the flash
device. You cannot have two complete image sets on the flash device.
Command Purpose
Step 1
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 page B-20.
Step 2
Log into the switch through a Telnet session.
Step 3
archive download-sw /overwrite /reload
tftp:[[//location]/directory]/image-name.tar
Download the image file from the TFTP server to the switch, and
overwrite the current image.
The /overwrite option overwrites the software image in flash
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 //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.
Step 4
archive download-sw /leave-old-sw /reload
tftp:[[//location]/directory]/image-name.tar
Download the image file from the TFTP server 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.