Introduction
How to reload the IOS image on a Cisco AP using the MODE button
Resolution
If the wireless device has a firmware failure, you must reload the image file using the Web browser interface or on 1100 and 1200 series access points, by pressing and holding the MODE button for around 30 seconds.
However you cannot use the MODE button to reload the AP image file on Cisco 350 series APs. For information on how to reload the AP image file on the Cisco 350 series AP, refer to the instructions in the Using the CLI section of the same document.
This method can be used when the IOS image on the AP is corrupt. When there is a firmware failure all the LEDs on the AP will glow red.
Using the CLI
Follow the steps below to reload the wireless device image using the CLI. When the wireless device begins to boot, you interrupt the boot process and use boot loader commands to load an image from a TFTP server to replace the image in the wireless device.
Note
Your wireless device configuration is not changed when using the CLI to reload the image file.
Step 1
Open the CLI using a Telnet session or a connection to the wireless device console port.
Step 2
Reboot the wireless device by removing power and reapplying power.
Step 3
Let the wireless device boot until it begins to inflate the image. When you see these lines on the CLI, press Esc:
Loading "flash:/c350-k9w7-mx.v122_13_ja.20031010/c350-k9w7-mx.v122_13_ja.20031010"
...###########################################################################
################################################################################
################################################################################
####################
Step 4
When the ap: command prompt appears, enter the set command to assign an IP address, subnet mask, and default gateway to the wireless device.
Note
You must use upper-case characters when you enter the IP-ADDR, NETMASK, and DEFAULT_ROUTER options with the set command.
Your entries might look like this example:
ap: set IP_ADDR 192.168.133.160
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 192.168.133.1
Step 5
Enter the tftp_init command to prepare the wireless device for TFTP.
ap: tftp_init
Step 6
Enter the tar command to load and inflate the new image from your TFTP server. The command must include this information:
•
the -xtract option, which inflates the image when it is loaded
•
the IP address of your TFTP server
•
the directory on the TFTP server that contains the image
•
the name of the image
•
the destination for the image (the wireless device Flash)
Your entry might look like this example:
ap: tar -xtract tftp://192.168.130.222/images/c350-k9w7-tar.122-13.JA1.tar flash:
Step 7
When the display becomes full, the CLI pauses and displays --MORE--. Press the spacebar to continue. extracting info (229 bytes)
c350-k9w7-mx.122-13.JA1/ (directory) 0 (bytes)
c350-k9w7-mx.122-13.JA1/html/ (directory) 0 (bytes)
c350-k9w7-mx.122-13.JA1/html/level1/ (directory) 0 (bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/appsui.js (558 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/back.htm (205 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/cookies.js (5027 bytes).
extracting c350-k9w7-mx.122-13.JA1/html/level1/forms.js (15704 bytes)...
extracting c350-k9w7-mx.122-13.JA1/html/level1/sitewide.js (14621 bytes)...
extracting c350-k9w7-mx.122-13.JA1/html/level1/config.js (2554 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/stylesheet.css (3215 bytes)
c350-k9w7-mx.122-13.JA1/html/level1/images/ (directory) 0 (bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/ap_title_appname.gif (1422 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_button_1st.gif (1171 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_button_cbottom.gif (318 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_button_current.gif (348 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_button_last.gif (386 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_button_last_filler.gif (327 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_buton_last_flat.gif (318 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_button_nth.gif (1177 bytes)
extracting c350-k9w7-mx.122-13.JA1/html/level1/images/apps_leftnav_dkgreen.gif (869 bytes)
-- MORE --
Note
If you do not press the spacebar to continue, the process eventually times out and the wireless device stops inflating the image.
Step 8
Enter the set BOOT command to designate the new image as the image that the wireless device uses when it reboots. The wireless device creates a directory for the image that has the same name as the image, and you must include the directory in the command. Your entry might look like this example:
ap: set BOOT flash:/c350-k9w7-mx.122-13.JA1/c350-k9w7-mx.122-13.JA1
Step 9
Enter the set command to check your bootloader entries.
ap: set
BOOT=flash:/c350-k9w7-mx.122-13.JA1/c350-k9w7-mx.122-13.JA1
DEFAULT_ROUTER=192.168.133.1
IP_ADDR=192.168.133.160
NETMASK=255.255.255.0
Step 10
Enter the boot command to reboot the wireless device. When the wireless device reboots, it loads the new image.
ap: boot
Problem Type
How to...
Upgrade
Products
AP 1200
AP 340, 350
AP 1100
Product OS
IOS
Device Access Method
GUI Interface
Telnet
Terminal Server / Console
Client Adapter Errors, Warnings, Statistics and Log Messages
firmware upgrade failed
Reference
For information on how to reload the AP image with the MODE button, refer to Using the MODE button section of the document Cisco IOS Software Configuration Guide for Cisco Aironet Access Points, 12.3(8)JA:
For information on how to reset the AP to the default configuration, refer to the Resetting to the Default Configuration section.