Upgrading your Cisco Catalyst 9200 switch firmware is a critical maintenance task that ensures optimal performance, security patches, and access to the latest features. This guide walks you through upgrading a Cisco 9200 switch using install mode, the recommended method for IOS-XE devices.
Install mode is the preferred upgrade method for Cisco IOS-XE devices, including the Catalyst 9200 series. Unlike bundle mode, install mode provides several advantages.
Document current system information:
show version show install summary show boot show file systems
Backup the current configuration:
copy running-config startup-config copy startup-config tftp://your-tftp-server/backup-config.txt
Check available flash storage:
show flash: | include bytes dir flash:
Verify current install packages:
show install summary
Download the correct IOS-XE image for your Catalyst 9200 model from Cisco Software Download.
Example filename format:
cat9k_lite_iosxe.17.15.03.SPA.bin
Remove unnecessary files to ensure sufficient space.
install remove inactiveunnecessary files will be delete
delete flash:old-image-name.bin delete flash:*.log delete flash:*.tmp delete flash:tracelogs/* delete /force /recursive flash:/old_version_directory show flash: | include bytes
Using TFTP:
copy tftp://192.168.10.10/cat9k_lite_iosxe.17.15.03.SPA.bin flash:
Using USB:
copy usbflash0:cat9k_lite_iosxe.17.15.03.SPA.bin flash:
dir flash: | include cat9k_lite_iosxe.17.15.03.SPA.bin verify /md5 flash:cat9k_lite_iosxe.17.15.03.SPA.bin 0d4acfb1e3f269271bc8eb095d907014
show boot configure terminal boot system flash:packages.conf exit copy running-config startup-config show boot
install add file flash:cat9k_lite_iosxe.17.15.03.SPA.bin activate commit
install add file flash:cat9k_lite_iosxe.17.15.03.SPA.bin install activate install commit
Installing image flash:cat9k_lite_iosxe.17.15.03.SPA.bin Extracting image Installing image Verifying image Image validation successful Preparing to activate image Success
show version | include Version show install summary show boot show processes cpu | include five show memory statistics
ping gateway-ip show ip interface brief
show interface status show interface description
show spanning-tree summary show vlan brief show ip route
show processes cpu history show memory statistics history show logging | include ERROR|WARN
show install rollback install rollback to id 1
show install inactive install activate id previous-package-id install commit
install remove inactive dir flash: | include bytes
SWITCH_NUMBER=1 BOOT=flash:packages.conf
verify /md5 flash:image-name.bin expected-md5-hash
Upgrading Cisco Catalyst 9200 switches using install mode is reliable and efficient when properly planned. Always back up configurations, verify images, and monitor the system after upgrades.