How to Update Firmware on a Cisco WLC with AP Predownload from CLI

NOTE* When you download an image to a Cisco WLC, it will go in the “Primary” slot and the previous Primary image will be moved to the Backup slot.

 

Verify Primary Boot Image is set to Default:

(Cisco Controller) > show boot

 

Download new firmware to Controller via sftp:

(You’ll need a copy of the firmware in the root of your sftp server)

(Cisco Controller) >  transfer download datatype code

(Cisco Controller) >  transfer download mode sftp

(Cisco Controller) >  transfer download filename <filename>

(Cisco Controller) >  transfer download serverip <ip address of sftp server>

(Cisco Controller) >  transfer download start

 

It is recommended to update Firmware as well as Field Upgrade Software if available.  The same procedure is used for FUS.

 

Set the Backup Boot Image as Default in case the controller reboots before you are ready to upgrade:

(Cisco Controller) > config boot backup

 

Verify the Backup Boot Image is set as Default and the new Firmware is in the Primary slot:

(Cisco Controller) > show boot

 

Save Configuration

(Cisco Controller) > save config

 

Predownload Primary Boot Image to APs:

(Cisco Controller) > config ap image predownload primary all

 

Verify Predownload is complete on all APs:

(Cisco Controller) > show ap image all

 

Swap the AP image on all APs:

(Cisco Controller) > config ap image swap all

 

Verify the AP image is swapped on all APs:

(Cisco Controller) > show ap image all

 

Set the Primary Boot Image as Default:

(Cisco Controller) > config boot primary

 

Verify Primary Boot Image is set to Default:

(Cisco Controller) > show boot

 

Schedule the Reboot Controller to Upgrade the Firmware:

(Cisco Controller) > reset system in 00:01:01 image no-swap reset-aps save-config

 

*Note – I’ve noticed that if I don’t “reset-aps save-config” at the scheduled reboot, the AP will download the image again.  I think this is because the old firmware is still set as primary.