cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
392663
Views
85
Helpful
97
Comments
Surendra BG
Cisco Employee
Cisco Employee

                                    Access Point ROMMON Recovery AP: prompt Recovery

Here is the step by step procedure for 1140 series AP.. Its the same for almost 90% or all the Aironet product series

Image used
c1140-k9w7-tar.124-21a.JY.tar

Assuming We have the IP 192.168.100.101 assigned to the LAPTOP or the DESKTOP Ethernet port which runs as the TFTP server and assigning 192.168.100.100 as the IP to AP.

Make sure you have the TFTP server or download it from google (tftpd32.exe)

Using the CLI

Follow   the steps below to reload the access point image using the CLI. When   the access point 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 access point.

First of all, I would like to let you know that there is a problem if you don’t see the extensions of the files in your folders. The problem is that, when you rename the file, you just rename the name, and not the extension.

The solution for this is:

Go to the folder that contains the IOS image and go to the tools option in the window bar. Click on folder options
Go to the view tab and uncheck the option that says: “Hide file extensions for known file types”.

Note Your access point 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 access point console port.

Step 2 Reboot the access point by removing power and reapplying power.

Step 3 Let the access point boot until it begins to inflate the image. When you see these lines on the CLI, press Esc:
Loading "flash:/c1140-k9w7-tar.124-21a.JY.tar"
...###########################################################################
################################################################################
################################################################################
####################

Step   4 When the ap: command prompt appears, enter the set command to assign   an IP address, subnet mask, and default gateway to the access point.

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.100.100
ap: set NETMASK 255.255.255.0
ap: set DEFAULT_ROUTER 192.168.100.1

Step 5 Enter the tftp_init command to prepare the access point for TFTP.
ap: tftp_init
ap: ether_init
ap: flash_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 access point Flash)

Your entry might look like this example:
ap: tar -xtract tftp://192.168.100.101/images/c1140-k9w7-tar.124-21a.JY.tar flash:

Step 7 When the display becomes full the CLI pauses and displays --MORE--. Press the spacebar to continue.
extracting info (229 bytes)
c1140-k9w7-tar.124-21a.JY/ (directory) 0 (bytes)
c1140-k9w7-tar.124-21a.JY/html/ (directory) 0 (bytes)
c1140-k9w7-tar.124-21a.JY/html/level1/ (directory) 0 (bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/appsui.js (558 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/back.htm (205 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/cookies.js (5027 bytes).
extracting c1140-k9w7-tar.124-21a.JY/html/level1/forms.js (15704 bytes)...
extracting c1140-k9w7-tar.124-21a.JY/html/level1/sitewide.js (14621 bytes)...
extracting c1140-k9w7-tar.124-21a.JY/html/level1/config.js (2554 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/stylesheet.css (3215 bytes)
c1140-k9w7-tar.124-21a.JY/html/level1/images/ (directory) 0 (bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/ap_title_appname.gif (1422 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_1st.gif (1171 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_cbottom.gif (318 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_current.gif (348 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_last.gif (386 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_last_filler.gif (327 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_last_flat.gif (318 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_button_nth.gif (1177 bytes)
extracting c1140-k9w7-tar.124-21a.JY/html/level1/images/apps_leftnav_dkgreen.gif (869 bytes)

-- MORE --

If you do not press the spacebar to continue, the process eventually times out and the access point stops inflating the image.

Step   8 Enter the set BOOT command to designate the new image as the image   that the access point uses when it reboots. The access point 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:/c1140-k9w7-tar.124-21a.JY/c1140-k9w7-tar.124-21a.JY

And save the boot variable
ap: sync

Step 9 Enter the set command to check your bootloader entries.
ap: set
BOOT=flash:/c1140-k9w7-tar.124-21a.JY/c1140-k9w7-tar.124-21a.JY
DEFAULT_ROUTER=192.168.100.1
IP_ADDR=192.168.100.100
NETMASK=255.255.255.0

Step 10 Enter the boot command to reboot the access point. When the access point reboots, it loads the new image.
ap: boot

This will get the AP to Autonomous image AP# prompt after reload..

Drop a comment if we are facing any issues!!

Comments
Leo Laohoo
Hall of Fame
Hall of Fame

Hi Surendra,

Wouldn't it be easier just to use the "mode" button instead?

Surendra BG
Cisco Employee
Cisco Employee

Good Day Leo!!!

I Expected this reply from you i mean.. i tot you wil provide the mode button precedure and tell "This is the easiest way to do!!" Yes i agree with you and i wanted to you to comment so that this post will have all the methods!!

Thanks Leo!!

Regards

Surendra

Leo Laohoo
Hall of Fame
Hall of Fame

Using a TFTP Server to Return to a Previous Release

Note This section does not apply to Cisco C3201WMIC and Cisco C3201LAP.


Follow these steps to revert from LWAPP mode to autonomous mode by loading a Cisco IOS release using a TFTP server:


Step 1 The static IP address of the PC on which your TFTP server software runs should be between 10.0.0.2 and 10.0.0.30.

Step 2 Make sure that the PC contains the access point image file (such as c1200-k9w7-tar.122-15.JA.tar for a 1200 series access point) in the TFTP server folder and that the TFTP server is activated.

Step 3 Set the timeout value on the TFTP server to 30 seconds.

Step 4 On the PC where the TFTP server is located, perform these steps:

a. Disable any software firewall products, such as Windows firewall, ZoneAlarm firewall, McAffee firewall, or others.

b. Ensure all Windows files are visible. From Windows Explorer, click Tools > Folder Options > View; then uncheck the Hide extensions for known file types check box.

Step 5 Rename the access point image file in the TFTP server folder to c1200-k9w7-tar.default for a 1200 series access point, c1130-k9w7-tar.default for an 1130 series access point, c1240-k9w7-tar.default for a 1240 series access point, and c1250-k9w7-tar.default for a 1250 series access point.

Step 6 Connect the PC to the access point using a Category 5 (CAT5) Ethernet cable.

Step 7 Disconnect power from the access point.

Step 8 Press and hold MODE while you reconnect power to the access point.

Step 9 Hold the MODE button until the status LED turns red (approximately 20 to 30 seconds) and then release.

Step 10 Wait until the access point reboots, as indicated by all LEDs turning green followed by the Status LED blinking green.

Step 11 After the access point reboots, reconfigure it using the GUI or the CLI.

Surendra BG
Cisco Employee
Cisco Employee

Nice One Leo!!! Appreciated..

Leo Laohoo
Hall of Fame
Hall of Fame

No worries.

panayiotiscy
Level 4
Level 4

Does this apply to c1522?

I just applied  Surendra's guidelines to c1522 succesfully!

The hulk is now functional !

Thank you

t.fiala
Level 1
Level 1

Hi all,

I have corrupted my 1142N inadvertently by upgrading from  c1140-k9w7... to c1140-k9w8 ... and none of above described procedures does not help. It seems that AP cannot connect the tftp server. Is there another possibility how to load the correct image?  (I used formerly a xmodem procedure for this purpose.) Or another idea? Please help.

Tomas

Abbreviated log of conversation:

First attempt (setting network parameters):

The system is unable to boot automatically.  The BOOT

environment variable needs to be set to a bootable

image.

C1140 Boot Loader (C1140-BOOT-M) Version 12.4(23c)JA3, RELEASE SOFTW

Technical Support: http://www.cisco.com/techsupport

Compiled Tue 18-Oct-11 14:51 by prod_rel_team

ap: set IP_ADDR 10.26.211.200

ap: set NETMASK 255.255.255.0

ap: set DEFAULT_ROUTER 10.26.211.1

ap: tftp_init

ap: tar -xtract tftp://10.26.211.5/c1140-k9w7-tar.152-2.JA.tar flash:

tftp://10.26.211.5/c1140-k9w7-tar.152-2.JA.tar: connection timed out

(My notebook has 10.26.211.5 and tftp server works, I have successfully transferred a test file to other switch.)

Second attempt (default recovery procedure):

button is pressed, wait for button to be released...

button pressed for 34 seconds

process_config_recovery: set IP address and config to default 10.0.0.1

process_config_recovery: image recovery

image_recovery: Download default IOS tar image tftp://255.255.255.255/c1140-k9w7-tar.default

examining image...

%Error opening tftp://255.255.255.255/c1140-k9w7-tar.default (connection timed out)

panayiotiscy
Level 4
Level 4

Hi Fiala,

Maybe your network adapter is firewalled?

Have you disabled the windows firewall or any other firewall related with your computer ethernet connection?

t.fiala
Level 1
Level 1

Hi Panyiotiscy,

thanks for your advice. It was of course Windows firewall on my notebook.

andychen
Cisco Employee
Cisco Employee

I need to do an "ether_init" before "tftp_init" for my AP to start the download with tar command.

Excellent job!

prasadvenu
Community Member

Hi I did the same but i am getting the below error

ap: tar -xtract tftp://172.16.1.1/tar/c1140-k9w7-mx.124-21a.tar flash:

tftp://172.16.1.1/tar/c1140-k9w7-mx.124-21a.tar: no such file or directory

Could someone help on this

Surendra BG
Cisco Employee
Cisco Employee

Hi,

try to place the file in the tftp root foldre and test once

Regards

Surendra

dapot.simarmata
Level 1
Level 1

Got difficulties before for 3620 model.

Found out that need to rename the OS to "ap3g2-k9w7-tar.default" (not documented but could see from the console message).

Thanks!

it
Community Member

Hi,everybody

i tried a lot of times but after i write

tar -xtract tftp://192.168.100.101/images/c1140-k9w7-tar.124-21a.JY.tar flash

tftp://192.168.100.101/images/c1140-k9w7-tar.124-21a.JY: invalid argument

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: