Useful Cisco WLC commands – Preparing for code upgrade

I recently starting doing the prep work to be ready for doing the initial testing with a Cisco Clean Air LWAP when it arrives. One of the first things I had to do was the upgrade the controller I am using to the 7.x code that recently became available that you need in order to support the Clean Air AP’s. For the most part, I have always used the WLC GUI to do the configuration after the initial setup. I took this as the opportunity to see if I could start doing some tasks via CLI. Here is the first thing that I figured out how to do. The use of the upload/download keywords are a little confusing. When you want to copy new code to the controller, you “download” the code. When you want to copy the configuration from the WLC to a backup, you “upload” the code to the tftp server.

The first thing I recommend that you do is to make a backup copy of the current config just in case things go awry during the code upgrade or reboot process.

Config download
—————–
transfer upload mode tftp (you can also use ftp as well)
transfer upload datatype config
transfer upload serverip x.x.x.x (replace with ip address of tftp server)
transfer upload filename name-of-file (I usually us date-name of controller.txt
transfer upload start (actually starts the configuration copy process)

Now that you have made a backup of the configuration, you can go with the installation of the code upgrade.

Code upgrade
—————–
transfer download serverip x.x.x.x (replace with ip address of TFTP Server)
transfer download mode tftp
transfer download datatype code
transfer download filename name-of-file (replace with name of .aes file that you are installing on the WLC)
transfer download start

(You will see a good step by step report of the code being copied to the WLC followed by the steps involved in the installation process)

reset system
(Necessary to manually restart the WLC after the code has been installed in order for it to become active)

After the system has finished rebooting and is up on the new code, the updated code will automatically be pushed out to the LWAP’s after which they will reboot as well.

Send to Kindle
This entry was posted in Blog Entries. Bookmark the permalink.