Backup of Your Switch Configuration: Avoid Disaster
Backing up a switch configuration is an important part of network administration. It provides a way to restore…

Upgrading the IOS (Internetwork Operating System) image on your Cisco Catalyst switches is an essential part of network maintenance.
Whether your switch operates in Layer 2 or 3, the IOS software handles all network protocols and delivers the necessary features you need for your network.
Therefore, keeping your IOS software up to date ensures that your network is continually protected from the latest security threats and equipped with the latest features.
There are a few main reasons to upgrade the IOS image on Cisco Catalyst switches:
Before starting the upgrade process, it’s crucial to determine the current IOS version that your switch is running. You can do this by logging into your switch and executing the show version command. This command displays detailed information about the currently running IOS software.
Next, you need to obtain the new IOS image. Cisco provides these images on its official website. Ensure that you download the correct image that matches your specific switch model and supports all the necessary features.
To verify if the IOS image is correct or not, you can follow these steps:
certUtil on Windows or md5 on macOS and Linux to calculate the MD5 hash.show flash: command to list all files in the flash memory of your switch. This will show you the details of the IOS image file, including its name and size. Make sure that these details match with what’s expected for your downloaded IOS image.show boot command to verify that your switch is set to boot from the correct IOS image.Here’s a general guide on how to upgrade the IOS image in Catalyst switches, both Layer 2 and Layer 3.
Please note that the exact steps may vary depending on the specific model of your switch.
First, you need to check the current IOS version of your switch. You can do this by logging into your switch and using the show version command.
Next, you need to obtain the new IOS image. You can download this from the official Cisco website. Make sure to choose the correct image for your specific switch model and that it supports the features you need.
After downloading the new IOS image, you need to copy it to your switch. You can do this using TFTP or SCP. Here’s an example command for copying via TFTP:
copy tftp: flash:
You will be prompted to enter the IP address of your TFTP server and the name of the IOS image file.
Once the new IOS image is on your switch, you need to update your boot system configuration so that your switch knows to boot from the new image. You can do this with the following commands:
conf t
boot system flash:/<IOS_image_filename>
exit
Replace <IOS_image_filename> with the name of your new IOS image file.
Finally, save your changes and reboot your switch with these commands:
write memory
reload
After your switch reboots, you can verify that it is using the new IOS image with the show version command again.
Upgrading the IOS image on a stack of Cisco Catalyst switches involves a similar process to upgrading a single switch but with a few additional steps. Here’s a general guide:
First, check the current IOS version of your switch stack. You can do this by logging into your switch and using the show version command.
Next, obtain the new IOS image from the official Cisco website. Make sure to choose the correct image for your specific switch model and that it supports the features you need.
After downloading the new IOS image, copy it to your master switch using TFTP or SCP. Here’s an example command for copying via TFTP:
copy tftp: flash:
You will be prompted to enter the IP address of your TFTP server and the name of the IOS image file.
Once the new IOS image is on your master switch, update your boot system configuration so that your switch knows to boot from the new image. You can do this with the following commands:
conf t
boot system flash:/<IOS_image_filename>
exit
Replace <IOS_image_filename> with the name of your new IOS image file.
Next, copy the new IOS image from your master switch to all other switches in your stack. You can do this with the following command:
archive copy-sw /destination-system <switch_number> flash:/<IOS_image_filename>
Replace <switch_number> with the number of each switch in your stack and <IOS_image_filename> with the name of your new IOS image file.
Finally, save your changes and reboot your switch stack with these commands:
write memory
reload
After your switch stack reboots, you can verify that it is using the new IOS image with the show version command again.
Upgrading the IOS image on a Virtual Switching System (VSS) involves a similar process to upgrading a single switch but with a few additional steps. Here’s a general guide:
First, check the current IOS version of your VSS. You can do this by logging into your switch and using the show version command.
Next, obtain the new IOS image from the official Cisco website. Make sure to choose the correct image for your specific switch model and that it supports the features you need.
After downloading the new IOS image, copy it to your active switch using TFTP or SCP. Here’s an example command for copying via TFTP:
copy tftp: bootflash:
You will be prompted to enter the IP address of your TFTP server and the name of the IOS image file.
Once the new IOS image is on your active switch, update your boot system configuration so that your switch knows to boot from the new image. You can do this with the following commands:
conf t
boot system flash bootflash:<IOS_image_filename>
exit
Replace <IOS_image_filename> with the name of your new IOS image file.
Finally, save your changes and reboot your VSS with these commands:
write memory
reload
After your VSS reboots, you can verify that it is using the new IOS image with the show version command again.
Remember, always make sure to have a backup of your switch configuration before making any changes. Also, it’s recommended to perform these steps during a maintenance window as your switches will be unavailable during the reboot.
In a VSS setup, both switches should be running the same IOS version. The upgrade process should be non-disruptive if done correctly, as one switch can remain active while the other is being upgraded.
Yes, it is possible to upgrade the IOS image on a Virtual Switching System (VSS) without downtime by using the In-Service Software Upgrade (ISSU) feature. This feature allows you to upgrade the IOS image while the system continues to forward traffic.
Here’s a general guide:
First, check if your current and new IOS versions support ISSU. You can do this by checking the release notes on the Cisco website.
Next, obtain the new IOS image from the official Cisco website. Make sure to choose the correct image for your specific switch model and that it supports ISSU.
After downloading the new IOS image, copy it to both your active and standby switches using TFTP or SCP. Here’s an example command for copying via TFTP:
copy tftp: bootflash:
You will be prompted to enter the IP address of your TFTP server and the name of the IOS image file.
Prepare your VSS for ISSU with the following command:
issu loadversion rp active bootflash:<IOS_image_filename> standby bootflash:<IOS_image_filename>
Replace <IOS_image_filename> with the name of your new IOS image file.
Run ISSU with this command:
issu runversion
This will start the upgrade process. The standby switch will be upgraded first, and then it will take over as the active switch while the original active switch is upgraded.
After ISSU completes, verify that both switches are running the new IOS version with the show version command.
Remember, always make sure to have a backup of your switch configuration before making any changes. Also, it’s recommended to perform these steps during a maintenance window as a precaution, even though traffic should continue to be forwarded during the upgrade.