FAQ banner
Get the Help and Supports!

This help center can answer your questions about customer services, products tech support, network issues.
Select a topic to get started.

ICT Tech Savings Week
2025 MEGA SALE | In-Stock & Budget-Friendly for Every Project

How to Upgrade Cisco IOS XE


Cisco IOS XE is a modular operating system designed for Cisco routers and switches, providing advanced networking features, programmability, and improved security. Keeping your IOS XE up to date helps maintain network stability and security by addressing vulnerabilities and adding new features.

Upgrade Cisco IOS XE

Upgrade Prerequisites

Before upgrading, follow these preparations:

1. Connect via console cable to avoid SSH session drops during the upgrade.

2. Back up configurations and system images:

  • Save the current config:
    copy running-config startup-config
  • Back up to a remote server:
    copy startup-config tftp:

3. Check available storage:

  • Images often exceed 1GB. Check:
    dir bootflash:
  • Free up space:
    install remove inactive

4. Download and verify the image:

  • Download the required IOS XE .bin file from Cisco.com.
  • Verify the file integrity:
    verify /md5 flash:[filename]

5. Schedule a maintenance window: Upgrading requires a device reboot, causing temporary downtime.


Step-by-Step Upgrade Process on Catalyst 9300 (Install Mode)

Using Catalyst 9300 as an example:

  1. Copy the image to the device:
    copy tftp:[server_ip]/[image_name] flash:
  2. Verify the image integrity:
    verify /md5 flash:[image_name]
  3. Clear existing boot settings and configure new boot parameters:
    no boot system
    boot system flash:packages.conf
    write memory
  4. Run the install command and commit:
    install add file flash:[image_name] activate commit

    The device will extract and prepare the image. Confirm the prompt with Y to proceed.
  5. Monitor the reboot process: Keep a continuous ping running to track downtime and when the device comes back online.


Verify the Upgrade

After the device reboots, run:

show version

to confirm the IOS XE version has been successfully upgraded.


Common Issues and Troubleshooting

  • Corrupted image: If the hash does not match, re-download and transfer the image.
  • Insufficient space: Run
    install remove inactive
    to clear unused packages.
  • Device boots into ROMmon: Check
    boot system
    settings or manually boot via the console.
  • Stack compatibility issues: In stack environments, use
    software auto-upgrade
    to automatically upgrade member switches to a compatible version.


Related FAQs


Categories: Product FAQs Routers Switches