Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityIntermediate

Upgrading Cisco IOS XE: install mode, bundle mode, ISSU and a safe upgrade plan

In short: IOS XE devices can boot in install mode, where the software is unpacked into packages, or bundle mode, which boots the image file directly. Install mode is recommended and uses the install add, activate and commit commands, with an automatic rollback if you do not commit. A good upgrade plan covers release choice, backups, free space, stack handling and a tested rollback.

Before you touch the device

  • Choose the release. Prefer Cisco's recommended or "gold star" release for your platform, and read the release notes for known bugs and changed defaults. Check whether you need an interim step, for example upgrading through a specific release to update ROMMON first.
  • Check licensing and features. Smart Licensing changes between releases can affect what is enabled after the reload.
  • Back up. Copy the running configuration to a server and save a copy in flash: copy running-config flash:pre-upgrade.cfg.
  • Check free space. dir flash:. Remove old images with install remove inactive.
  • Verify the image. After copying, compare the MD5 or SHA512 hash with Cisco's published value: verify /md5 flash:cat9k_iosxe.17.12.04.SPA.bin.
  • Plan a window and a rollback. Even a "simple" upgrade means a reload, typically 8 to 15 minutes for a switch stack.
IOS XE boot modesInstall modePackages extracted to flashBoots packages.confFaster boot, less memoryRequired for many featuresBundle modeBoots the .bin file directlyImage unpacked at every bootUses more RAMMostly legacy
Figure 1. Cisco recommends install mode on Catalyst 9000 switches and modern routers.

Install mode upgrade

show version | include Installation mode
copy tftp://10.10.5.20/cat9k_iosxe.17.12.04.SPA.bin flash:
install add file flash:cat9k_iosxe.17.12.04.SPA.bin activate commit

The single command above adds the packages, activates them (which reloads the device) and commits automatically. Many engineers prefer to run the three steps separately:

  1. install add file flash:cat9k_iosxe...bin: unpacks and checks the packages.
  2. install activate: reloads into the new version. An automatic rollback timer starts.
  3. Test the device. If everything works, run install commit. If you do not commit before the timer ends, or you run install rollback to committed, the device returns to the previous version.

Check the result with show install summary and show version.

Bundle mode

In bundle mode the device boots the .bin file named in boot system flash:...bin. Upgrading means copying the new file, changing the boot statement and reloading. It is simpler to understand but slower to boot, uses more memory and some features need install mode. To convert, use install add file ... activate commit from bundle mode, and the device will switch.

Stacks and redundancy

  • In a Catalyst stack, install mode upgrades every member at once; all members reload together.
  • With StackWise Virtual or dual supervisors, ISSU (in-service software upgrade) can upgrade one side at a time with minimal disruption, if the release pair supports it.
  • SMUs (software maintenance upgrades) patch a specific bug without a full upgrade, and are installed with the same install commands.

After the upgrade

Compare show interfaces status, show ip route summary, routing neighbours, spanning tree root, PoE status and CPU and memory with outputs you saved before the change. Let users test critical applications before you close the change.

Real-world example: the switch that would not boot

An engineer copied a new image to a switch in bundle mode, changed the boot statement, and reloaded. The switch fell into ROMMON because the copy had been interrupted and the file was corrupt. It took a site visit with a console cable and a USB stick to recover. The team now verifies hashes before every reload and uses install mode, where a failed activation rolls back on its own.

Practice

What are the three install mode steps on IOS XE?
install add, install activate and install commit.
What happens if you activate a new release in install mode and never commit it?
The rollback timer expires and the device returns to the previous committed version.
How do you check that a copied image is not corrupt?
Run verify /md5 (or SHA512) on the file and compare it with the hash Cisco publishes.

Key takeaways

  • Install mode is recommended; bundle mode boots the .bin directly.
  • Use install add, activate and commit, and rely on the rollback timer.
  • Back up configs, check space, verify the image hash and plan a window.
  • Compare key show outputs before and after to confirm success.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: