Chapter 2
Catalyst 2960 Switch Cisco IOS Commands
archive download-sw
Use the archive download-sw privileged EXEC command to download a new image from a TFTP server
to the switch and to overwrite or keep the existing image.
Syntax Description
/force-reload
/imageonly
/leave-old-sw
/no-set-boot
/overwrite
/reload
/safe
source-url
78-16882-01
archive download-sw {/force-reload | /imageonly | /leave-old-sw | /no-set-boot | /overwrite |
/reload | /safe} source-url
Unconditionally force a system reload after successfully downloading the
software image.
Download only the software image but not the HTML files associated with
the embedded device manager. The HTML files for the existing version are
deleted only if the existing version is being overwritten or removed.
Keep the old software version after a successful download.
Do not alter the setting of the BOOT environment variable to point to the new
software image after it is successfully downloaded.
Overwrite the software image in flash memory with the downloaded one.
Reload the system after successfully downloading the image unless the
configuration has been changed and not been saved.
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.
The source URL alias for a local or network file system. These options are
supported:
•
•
•
•
•
•
The image-name.tar is the software image to download and install on the
switch.
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 an HTTP server:
http://[[username:password]@]{hostname |
host-ip}[/directory]/image-name.tar
The syntax for a secure HTTP server:
https://[[username:password]@]{hostname |
host-ip}[/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
archive download-sw
Catalyst 2960 Switch Command Reference
2-5