Upgrade Catalyst IOS & features

Cisco
Cisco

Downloading an Image File 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 Step 1 to download a new image from a TFTP server and to overwrite the existing image. To keep the current image, follow Step 2.

CommandPurpose
Step 1archive download-sw [ /directory ] /overwrite /reload tftp: [[ // location ] / directory ] / image-name1 .tar [ image-name2 .tar image-name3 .tar image-name4 .tar ]Example:Switch# archive download-sw /overwrite /reload tftp://172.20.10.30/saved/myImage.tar(Optional) Downloads the image files from the TFTP server to the switch, and overwrites the current image.directory—(Optional) Specifies a directory for the images./overwrite— Overwrites the software image in flash memory with the downloaded image./reload— Reloads the system after downloading the image unless the configuration has been changed and not been saved.// location —The IP address of the TFTP server./ directory / image-name1 .tar [/ directory / image-name2 .tar image-name3 .tar image-name4 .tar ]—The directory (optional) and the images to download.
Step 2archive download-sw [ /directory ] /leave-old-sw /reload tftp: [[ // location ] / directory ] / image-name1 .tar [ image-name2 .tar image-name3 .tar image-name4 .tar ]Example:Switch# archive download-sw /leave-old-sw /reload tftp://172.20.10.30/saved/myImage.tar(Optional) Downloads the images file from the TFTP server to the switch, and saves the current image.directory—(Optional) Specifies a directory for the images./leave-old-sw —Saves the old software version after a download./reload— Reloads the system after downloading the image unless the configuration has been changed and not been saved.// location —The IP address of the TFTP server./ directory / image-name1 .tar [/ directory / image-name2 .tar image-name3 .tar image-name4 .tar ]—The directory (optional) and the images to download.

If you get those error messages :

Error: The image in the archive which would be used to upgrade

Error: system number 1 does not support the same feature set.

This is because Cisco has added a check into there upgrade process to prevent you from accidentally changing the feature set during an IOS upgrade. This is a really nice sanity check since changing feature sets on a production switch could really ruin your day.

To bypass this check, add the /allow-feature-upgrade parameter to the archive download-sw command.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.