Class Notes
Class Notes
Upgrade
Contents
Introduction
Prerequisites
Requirements
Components Used
Platforms Supported
WLC Software Upgrade Procedure
GUI Upgrade Procedure
CLI Upgrade Procedure
Use the Cisco Prime Infrastructure (PI) to upgrade the WLC
Upgrading WLC in HA AP-SSO environment
Remove the Primary or Secondary Image on the Wireless LAN Controller
Verify
Debugging Options
Troubleshoot
Related Information
Introduction
This document covers general procedures and explains the procedure and requirements in order
to upgrade software on a Wireless LAN Controller (WLC).
See WLC Software Release Notes for an accurate upgrade path, download information, and
upgrade procedure information for each specific release.
For example, if you migrate to Release 8.8.111.0, see the "Upgrading Cisco Wireless Release"
section of Release Notes for Cisco Wireless Controllers and Lightweight Access Points for Cisco
Wireless Release 8.8.111.0.
Prerequisites
Requirements
In addition to basic networking knowledge and familiarity with the basic configuration and
installation of Cisco Wireless LAN Controllers, ensure that you read the Guidelines and
Recomendations present in the release notes. For example, for version 8.8.111.0 you have them
here.
Do not power down the controller or any access point during this process; otherwise, you might
corrupt the software image. Upgrading a controller with a large number of access points can take
as long as 30 minutes, depending on the size of your network. However, with the increased
number of concurrent access point upgrades supported in the controller software release, the
upgrade time should be significantly reduced. The access points must remain powered, and the
controller must not be reset during this time.
You can reduce the network downtime using the following options:
1. You can predownload the AP image.This feature allows you to download the upgrade image
to the controller, and then download the image to the access points while the network is still
up. A new CLI allows you to specify the boot image for both devices and to reset the access
points when the controller resets.For information on how to configure the WLC and LAPs for
this feature read the section Predownloading an Image to an Access Point section of Cisco
Wireless LAN Controller Configuration Guide, Release 8.8.
2. For FlexConnect access points, use the FlexConnect Efficient AP upgrade feature to reduce
traffic between the controller and the AP (main site and the branch).For more information
about configuring FlexConnect AP upgrades, see the Configuring FlexConnect AP Upgrades
for FlexConnect APs chapter of Cisco Wireless LAN Controller Configuration Guide,
Release 8.8..
Components Used
The information in this document is based on these software and hardware versions:
Platforms Supported
Note: It is highly recommended to back up the configuration on the Wireless LAN controller
before you perform the upgrade.
In this section, you are presented with the information to upgrade the WLC with the use of the GUI
on the controller.
When you upgrade the WLC with use of the GUI, you lose Layer 3 (IP) connectivity within the
periods of time when the controller reboots. For this reason, it is recommended that you use a
console port connection in order to check the state of the controller during the upgrade process
and expedite any recovery procedures, if necessary.
1. Upload your controller configuration files to a server to back up the configuration files.
2. Follow these steps to obtain controller software: Browse to the Software Download portal at:
https://software.cisco.com/download/home.Search for the controller model: Downloads
Home > Wireless > Wireless LAN Controller > Standalone Controllers.Click on the WLC
model you have and then on Wireless LAN Controller Software.The software releases are
labeled as described here to help you determine which release to download. Click a
controller software release number: Early Deployment (ED)—These software releases
provide new features and new hardware platform support as well as bug fixes.Maintenance
Deployment (MD)—These software releases provide bug fixes and ongoing software
maintenance.Deferred (DF)—These software releases have been deferred. We recommend
that you migrate to an upgraded release.Click the filename <filename.aes>.Click
Download.Read the Cisco End User Software License Agreement and click Agree.Save the
file to your hard drive.
3. Copy the controller software file <filename.aes> to the default directory on your TFTP, FTP,
or SFTP server.
4. (Optional) Disable the controller 802.11 networks. Note: For busy networks, controllers on
high utilization, and small controller platforms, we recommend that you disable the 802.11
networks as a precautionary measure.
5. Choose Commands > Download File to open the Download File to Controller page.
6. From the File Type drop-down list, choose Code.
7. From the Transfer Mode drop-down list, choose TFTP, FTP, SFTP or HTTP. If you choose
HTTP you will be prompted for the location of the file. You need to have the file available
from the PC you are using to access the GUI of the WLC. Proceed to step 13 if you choose
HTTP.
8. If you choose TFTP, FTP, or SFTP server, enter the IP address of the TFTP, FTP, or SFTP
server.
9. If you are using a TFTP server, the default value of 10 retries for the Maximum Retries field,
and 6 seconds for the Timeout field should work correctly without any adjustment. However,
you can change these values, if required. To do so, enter the maximum number of times the
TFTP server attempts to download the software in the Maximum Retries field and the
amount of time (in seconds) for which the TFTP server attempts to download the software, in
the Timeout field.
10. In the File Path field, enter the directory path of the software.
11. In the File Name field, enter the name of the software file <filename.aes>.
12. If you are using an FTP server, perform these steps: In the Server Login Username field,
enter the username with which to log on to the FTP server.In the Server Login Password
field, enter the password with which to log on to the FTP server.In the Server Port Number
field, enter the port number on the FTP server through which the download occurs. The
default value is
21.
13. Click Download to download the software to the controller. A message indicating the status
of the download is displayed.
14. After the download is complete, click Reboot.
15. If you are prompted to save your changes, click Save and Reboot.
16. Click OK to confirm your decision to reboot the controller.
17. If you have disabled the 802.11 networks, reenable them.
18. (Optional) To verify that the controller software is installed on your controller, on the
controller GUI, click Monitor and view the Software Version field under Controller
Summary.
In this section, you are presented with the information to upgrade the WLC with use of the CLI on
the controller accessing the files in an FTP server.
Complete these steps:
1. Make sure that the FTP server is reachable from the controller, and make sure the upgrade
file resides in a directory of the FTP server.
2. It is best to complete this procedure via the console port, but you can also SSH or Telnet (if
enabled) to the controller's management IP address in order to complete the procedure. The
use of SSH or Telnet results in the loss of connectivity with the controller during the reboot
process following the image download. Therefore, console access should be available in
order to expedite troubleshooting and recovery of the controller if the upgrade fails. Log in to
the controller and issue the show sysinfo command in order to verify the current software
that runs on the controller.This is sample output of the show sysinfo command, which
shows that the controller runs 8.5.131.0:
(Cisco Controller) >show sysinfo
Mode............................................. FTP
Data Type........................................ Code
FTP Server IP.................................... 192.168.1.2
FTP Server Port.................................. 21
FTP Path......................................... /Shared/AIR-CT3504/
FTP Filename..................................... AIR-CT3504-K9-8-8-111-0.aes
FTP Username..................................... admin
FTP Password..................................... *********
Configuration Saved!
System will now restart!
Updating license storage ... Done.
Exiting SL process !
There was change in the boot image, System will go for a reboot
Cannot Cancel the WDT. Not petting the WDT.
Collect the core using oct utility
Rebooting the system..
[74411.034881] reboot: Restarting system
Cisco bootloader . . .
Cisco BootLoader Version : 8.5.103.0 (Cisco build) (Build time: Jul 25 2017 - 07:47:10)
[...]
Manually upgrading your devices to the latest software version can be error prone and time
consuming. Cisco Prime Infrastructure simplifies the version management and routine deployment
of software updates to your devices by helping you plan, schedule, download, and monitor
software image updates. You can also view software image details, view recommended software
images, and delete software images. The software image management page provides a
consolidated view of the various aspects of image management such as software image
management lifecycle widget, software image summary, and job details.
Prime Infrastructure stores all of the software images for the devices in your network. The images
are stored according to the image type and version.
Please visit the Manage Device Software Images chapter of the Cisco PI User Guide for detailed
information and guidelines.
● A software upgrade on the active controller ensures the upgrade of the standby-hot controller.
● An in-service upgrade is not supported. Therefore, you should plan your network downtime
before you upgrade the controllers in an HA environment.
● Rebooting the active controller after a software upgrade also reboots the standby-hot
controller.
● We recommend that both active and standby-hot controllers have the same software image in
the backup before running theconfig boot backupcommand. If both active and standby-hot
controllers have different software images in the backup, and if you run theconfig boot
backupcommand in the active controller, both the controllers reboot with their respective
backup images breaking the HA pair due to a software mismatch.
● A schedule reset applies to both the controllers in an HA environment. The peer controller
reboots a minute before the scheduled time expires on the active controller.
● You can reboot the standby-hot controller from the active controller by entering thereset peer-
systemcommand if the scheduled reset is not planned. If you reset only the standby-hot
controller with this command, any unsaved configurations on the standby-hot controller is lost.
Therefore, ensure that you save the configurations on the active controller before you reset
the standby-hot controller.
● A preimage download is reinitiated if an SSO is triggered at the time of the image transfer.
● Onlydebugandshowcommands are allowed on the standby-hot controller.
● After a switchover, if a peer controller has a controller software release that is prior to Release
7.5, all the mobility clients are deauthenticated.
For detailed instruction to upgrade the WLC in HA AP-SSO setup, please follow the steps in the
High Availability (SSO) Deployment Guide document.
The WLC, by default, maintains two images. These images are the primary image and the backup
image. The primary image is the active image used by the WLC while the backup image is used
as a backup for the active image.
When you upgrade the WLC with a new image, the WLC automatically copies the new image over
the backup image.
In order to see the active image that your controller currently runs (the primary image), click
Monitor from the WLC GUI and look at the Software Version field under Controller Summary on
the WLC GUI. From the CLI, you can use the command show boot in order to view the primary
and backup image present on the WLC. Here is an example.
You can also change the active booting image of the WLC manually with the command config
boot <primary/backup>.
(Cisco Controller) >config boot ?
Note: You need to save and reboot the WLC configuration so that the WLC uses the new
active image.
Verify
In order to verify the version of WLC software that is running, log in to the controller after the
system reboots.
Debugging Options
You can use the debug transfer all enable command in order to view the events that occur
during the controller software upgrade process. Here is an example, which shows the debug
command output used and the for a successful software upgrade:
Mode............................................. FTP
Data Type........................................ Code
FTP Server IP.................................... 192.168.1.2
FTP Server Port.................................. 21
FTP Path......................................... /Shared/AIR-CT3504/
FTP Filename..................................... AIR-CT3504-K9-8-8-111-0.aes
FTP Username..................................... admin
FTP Password..................................... *********
*TransferTask: Mar 06 14:59:25.451: RESULT_STRING: Writing new AP Image Bundle to flash disk.
Troubleshoot
Use this section to troubleshoot your software upgrade.
During the upgrade process, you might encounter errors. This section explains several common
errors, along with typical causes and corrective actions you can take to complete the WLC
software upgrade:
● "% Error: Code file transfer failed - Couldn't connect to the server" - You get this error
message if the server is not reachable. Check WLC to Server ip connectivity and make sure
the that the TFTP/FTP/SCP traffic is not blocked by any firewall in the network. Also
determine if the TFTP/FTP/SCP service is enabled/running on the server. In some cases the
machine that runs the server application might have the firewall turned on. This could be one
reason why the WLC upgrade does not happen as expected.
● "% Error: Code file transfer failed - Failure with receiving network data" - You get this
error if there was an error during file transfer like packets lost or out of order. You may want to
troubleshoot using packet captures along the network path to find the hop where the packet
are getting lost or out of order.
● "% Error: Code file transfer failed - Server returns login failure" - You get this error if the
ftp/scp username/password do not match the user credentials in the server. You may want to
verify if the username and password configured match the ones configured in the server side.
● "% Error: Code file transfer failed - The URL does not exist, wrong path or filename" -
You get this error message if the software upgrade file is not present in the default directory of
the server or if you have entered the incorrect file name in the 'File Name' field of the
controller upgrade page. In order to eliminate this error, copy the image file to the default
directory on the server and verify that the name and file extension are exactly the same on the
server and the 'File Name' field of the Controller Upgrade page.
Related Information
● Cisco Wireless Controller Configuration Guide, Release 8.8
● High Availability (SSO) Deployment Guide