How to upgrade the IOS on a 4400 series Cisco router
Verify enough room to copy over new software. Remove old files if necessary. New IOS is in this case is 630 MB.
Router#dir bootflash:
(Output omitted)
6650826752 bytes total (4807917568 bytes free)
Copy over new IOS, either USB or via FTP
Router#copy ftp://ftpUser:[email protected]/isr4400-universalk9.16.12.04.SPA.bin bootflash:
or
Router#copy usb0://isr4400-universalk9.16.12.04.SPA.bin bootflash:
Verify integrity of new IOS, check against hash on cisco.com
Router#verify bootflash:isr4400-universalk9.16.12.04.SPA.bin
Hash = 337da36bb1c683d0dd42ab1146d9ff55
Change boot statement on router:
Router#show run | include bootflash
boot system boot system bootflash:isr4400-universalk9.16.06.08.SPA.bin
(On 4400v2 models use "flash" instead of bootflash)
Router#config t
Router(config)#no boot system boot system bootflash:isr4400-universalk9.16.06.08.SPA.bin
Router(config)#boot system bootflash:isr4400-universalk9.16.12.04.SPA.bin
(On 4400v2 models use "flash" instead of bootflash --- Router(config)#boot system flash:isr4400v2-universalk9.17.16.03a.SPA.bin )
Router(config)# do wr mem
Now verify the boot statement is correct:
Router#show run | include bootflash
boot system boot system bootflash:isr4400-universalk9.16.12.04.SPA.bin
Now reload and verify it boots with the correct image.
Verify enough room to copy over new software. Remove old files if necessary. New IOS is in this case is 630 MB.
Router#dir bootflash:
(Output omitted)
6650826752 bytes total (4807917568 bytes free)
Copy over new IOS, either USB or via FTP
Router#copy ftp://ftpUser:[email protected]/isr4400-universalk9.16.12.04.SPA.bin bootflash:
or
Router#copy usb0://isr4400-universalk9.16.12.04.SPA.bin bootflash:
Verify integrity of new IOS, check against hash on cisco.com
Router#verify bootflash:isr4400-universalk9.16.12.04.SPA.bin
Hash = 337da36bb1c683d0dd42ab1146d9ff55
Change boot statement on router:
Router#show run | include bootflash
boot system boot system bootflash:isr4400-universalk9.16.06.08.SPA.bin
(On 4400v2 models use "flash" instead of bootflash)
Router#config t
Router(config)#no boot system boot system bootflash:isr4400-universalk9.16.06.08.SPA.bin
Router(config)#boot system bootflash:isr4400-universalk9.16.12.04.SPA.bin
(On 4400v2 models use "flash" instead of bootflash --- Router(config)#boot system flash:isr4400v2-universalk9.17.16.03a.SPA.bin )
Router(config)# do wr mem
Now verify the boot statement is correct:
Router#show run | include bootflash
boot system boot system bootflash:isr4400-universalk9.16.12.04.SPA.bin
Now reload and verify it boots with the correct image.
How to upgrade the IOS on a Cisco switch stack
* See notes in 9200 / 9300 upgrade at bottom of page *
* See notes in 9200 / 9300 upgrade at bottom of page *
How to upgrade the IOS-XE on a Cisco 3850 switch using the INSTALL mode
Copy the .bin file over to the switch flash as instructed in the other methods:
Switch#copy ftp://WLC:[email protected]/cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin flash:
Destination filename [cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin]?
Accessing ftp://*****:*****@10.16.11.199/cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin...
Loading cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(Output omitted for brevity)
[OK - 303753780/4096 bytes]
303753780 bytes copied in 147.100 secs (2064948 bytes/sec)
Switch#
Now use the INSTALL command to proceed with the upgrade:
Switch#software install file flash:cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin
or, depending on the version currently installed on the switch, it could be:
Switch#install add file flash:cat3k_caa-universalk9.16.06.05.SPA.bin
Preparing install operation ...
[1]: Starting install operation
[1]: Expanding bundle flash:cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin
[1]: Copying package files
[1]: Package files copied
(Output omitted for brevity)
[1]: Creating pending provisioning file
[1]: Finished installing software. New software will load on reboot.
[1]: Committing provisioning file
[1]: Do you want to proceed with reload? [yes/no]: yes
System configuration has been modified. Save? [yes/no]: yes
Building configuration...
Compressed configuration from 2208 bytes to 1233 bytes[OK]Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]
Reboot the switch and after it comes back up, verify the installation with "show version" and look for "INSTALL" to be listed next to the switch and software.
Note: Some newer versions of IOS-XE do not provide the "software install" command option and require the following command, or something similar:
Switch#request platform software package install Switch all file flash:cat3k_caa-universalk9.16.03.06.SPA.bin
Update:
For Catalyst 9200 & 9300 series switches:
Switch# install remove inactive
Switch#copy usbflash0://cat9k_lite_iosxe.16.12.01.SPA.bin flash:
Switch# dir flash:*.bin
Switch(config)# boot system flash:packages.conf
Switch#write memory
Switch#show boot system
Switch# install add file flash:cat9k_lite_iosxe.16.12.01.SPA.bin activate commit
(Switch installs new IOS)
When done:
Switch# dir flash:*.conf
Reload
Show ver
During the install process the IOS is copied from switch 1 to other members and the install process is completed on all members.