2-10
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
archive download-sw
archive download-sw
Use the archive download-sw privileged EXEC command to download a new image from a TFTP server
to a Catalyst 2950 Long-Reach Ethernet (LRE) switch and to overwrite or to keep the existing image.
archive download-sw {/force-reload | /imageonly | /leave-old-sw | /no-set-boot | /overwrite |
/reload | /safe} source-url
This command is available only on the Catalyst 2950 LRE switches.
Syntax Description
Defaults Both the software image and device manager files are downloaded.
The new image is downloaded to the flash: file system.
The BOOT environment variable is changed to point to the new software image on the flash: file system.
Image names are case sensitive; the image file is provided in tar format.
Command Modes Privileged EXEC
/force-reload Unconditionally force a system reload after successfully downloading the
software image.
/imageonly Download only the software image but not the files associated with the device
manager. The device manager files for the existing version are deleted only if
the existing version is being overwritten or removed.
/leave-old-sw Keep the old software version after a successful download.
/no-set-boot Do not alter the setting of the BOOT environment variable to point to the new
software image after it is successfully downloaded.
/overwrite Overwrite the software image in flash memory with the downloaded image.
/reload Reload the system after successfully downloading the image unless the
configuration has been changed and not been saved.
/safe Keep the current software image; do not delete it to make room for the new
software image before the new image is downloaded. The current image is
deleted after the download.
source-url The source URL alias for a local or network file system. These options are
supported:
• The syntax for the local flash file system:
flash:
• The syntax for the FTP:
ftp:[[//username[:password]@location]/directory]/image-name.tar
• The syntax for the Remote Copy Protocol (RCP):
rcp:[[//username@location]/directory]/image-name.tar
• The syntax for the TFTP: tftp:[[//location]/directory]/image-name.tar
The image-name.tar is the software image to download and install on the
switch.