Firmware Upgrade for Catalyst 9200 and 9300 Series Switches
When you upgrade to a newer release of the firmware or operating system on your switch, the boot loader may also be updated automatically, depending on the hardware version of the switch. This updated boot loader will come into effect the next time the switch is restarted or reloaded.
Follow these instructions to upgrade from one release to another in install mode. To perform a software image upgrade, you must boot into IOS through boot flash:packages.conf.
Step 1: Clean-up
install remove inactive
Use this command to clean-up old installation files in case of insufficient space and to ensure that you have at least 1GB of space in flash,
Switch# install remove inactive
install_remove: START
Cleaning up unnecessary package files
Do you want to remove the above files? [y/n]y
Step 2: OS upload in to the flash
Switch# copy tftp://10.8.0.6/image/cat9k_lite_iosxe.17.09.05.SPA.bin flash:
or
Switch# copy usbflash0:cat9k_lite_iosxe.17.09.05.SPA.bin flash:
Switch# dir flash:*.bin
Verify the image using md5
Switch# verify /md5 bootflash:cat9k_lite_iosxe.17.09.05.SPA.bin
Step 3: set boot variable
Switch(config)# boot system flash:packages.conf
Switch(config)# no boot manual
Switch(config)# exit
Switch# write memory
Verify the BOOT variable
Switch# show boot
BOOT variable = flash:packages.conf;
Manual Boot = no
Step 4: Install image to flash
Switch# install add file flash:cat9k_lite_iosxe.17.09.05.SPA.bin activate commit
install_add_activate_commit: START
This operation may require a reload of the system. Do you want to proceed? [y/n]y
Step 5: Verify installation
After the software has been successfully installed, use this command to verify that the flash partition has four new .pkg files and two .conf files.
Switch# dir flash:*.pkg
Switch# dir flash:*.conf
Directory of flash:/*.conf
Directory of flash:/
16631 -rw- 4882 Apr 25 2024 05:39:42 +00:00 packages.conf
16634 -rw- 4882 Apr 25 2024 05:34:06 +00:00 cat9k_lite_iosxe.17.09.05.SPA.conf
Step 6: Reload and verify version
Use this command to reload the switch. When you boot the new image,
Switch# reload
After the image boots up, use this command to verify the version of the new image.
Switch# show version
Cisco IOS XE Software, Version 17.09.05
Cisco IOS Software [Cupertino], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 17.09.05, RELEASE SOFTWARE (fc1)
***Thank you***
No comments:
Post a Comment