Cisco Catalyst 2950 Command Reference Manual page 41

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
Command History
Release
12.1(11)YJ
Usage Guidelines
Use the /overwrite option to overwrite the image on the flash device with the downloaded one.
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.
If you specify the command without the /overwrite option, the download algorithm verifies that the new
image is not the same as the one on the switch flash device. If the images are the same, the download
does not occur. If the images are different, the old image is deleted, and the new one is downloaded.
The /imageonly option removes the device manager files for the existing image if the existing image is
being removed or replaced. Only the software image (without the device manager files) is downloaded.
Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient
flash space.
If you used the /leave-old-sw option and did not overwrite the old image when you downloaded the new
one, you can remove the old image by using the delete privileged EXEC command. For more
information, see the
If you leave the existing software in place before downloading the new image, an error results if the
existing software prevents the new image from fitting onto flash memory.
After downloading a new image, enter the reload privileged EXEC command to begin using the new
image, or specify the /reload or /force-reload option in the archive download-sw command.
Examples
This example shows how to download a new image from a TFTP server at 172.20.129.10 and to
overwrite the image on the switch:
Switch# archive download-sw /overwrite tftp://172.20.129.10/test-image.tar
This example shows how to download only the software image from a TFTP server at 172.20.129.10 to
the switch:
Switch# archive download-sw /imageonly tftp://172.20.129.10/test-image.tar
This example shows how to keep the old software version after a successful download:
Switch# archive download-sw /leave-old-sw tftp://172.20.129.10/test-image.tar
Related Commands
Command
archive tar
archive upload-sw
delete
OL-10102-01
Modification
This command was introduced.
delete
command.
Description
Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
Uploads an existing image on the switch to a server.
Deletes a file or directory on the flash memory device.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
archive download-sw
2-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents