cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Access Point ROMMON Recovery AP: prompt Recovery Example

270195
Views
65
Helpful
70
Comments

                                    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.tar

OR

ap: set BOOT flash:/ c1140-k9w7-tar.124-21a.JY


Step 9 Enter the set command to check your bootloader entries.

ap: set

BOOT=flash:/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
Beginner

hi

i have 2600 series ap,

i was trying to upload autonomous file... while file was transfering my laptop got shut,

therefore file didnt transfered completely.

so i want to remove that file which was not completly transfered . Thereare few commands to remove it. could you please helpe me to remove it so that i can start the process again

Hall of Fame Community Legend

could you please helpe me to remove it so that i can start the process again

No need to remove the files.  Just re-run the entire process and the automation will take care of itself.

Community Member

I am getting this same issue and its very difficult to solve this problem without any third party app, i guess the best thing to do is to use a third party app like Long Path Tool. Just download it and use it to solve this issue. I hope this would help.

Beginner

Hi,

i HAVE CISCO OUTDOOR ACCESS POINT AIR-CAP1552E-A-K9.

ALSO WE HAVE CONTROLLER AIR -CT5508-50-K9.

THE PROBELM GOES LIKE THIS :

the image in AIR-CAP1552E-A-K9 by factory is " c1520-k9w7-mx.152-2.JB " which is standalone image. As we have controller i am trying to change this image to controller based image .Therefore i have downloaded a controller image file from cisco website  c1520-k9w8-mx.153-3.JD

after uploading the controller based image file on the out door access point succesfully, i am trying to boot the access point from new image "set BOOT flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD"  

but i am getting this error 

ap: set BOOT flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD

ap: boot
Loading "flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD"...flash:/c1520- k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD: no such file or directory

Error loading "flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD"

Interrupt within 5 seconds to abort boot process.
Loading "flash:/c1520-k9w7-mx.152-2.JB/c1520-k9w7-mx.152-2.JB"...##############

File "flash:/c1520-k9w7-mx.152-2.JB/c1520-k9w7-mx.152-2.JB" uncompressed and ins talled, entry point: 0x3000
executing...

as you can see in the above error it is showing error loading and again booting from old file which K9W7 standalone image

could please tell me what do or is there any work around for this

Beginner

Hi,

i HAVE CISCO OUTDOOR ACCESS POINT AIR-CAP1552E-A-K9.

ALSO WE HAVE CONTROLLER AIR -CT5508-50-K9.

THE PROBELM GOES LIKE THIS :

the image in AIR-CAP1552E-A-K9 by factory is " c1520-k9w7-mx.152-2.JB " which is standalone image. As we have controller i am trying to change this image to controller based image .Therefore i have downloaded a controller image file from cisco website  c1520-k9w8-mx.153-3.JD

after uploading the controller based image file on the out door access point succesfully, i am trying to boot the access point from new image "set BOOT flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD"  

but i am getting this error 

ap: set BOOT flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD

ap: boot
Loading "flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD"...flash:/c1520- k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD: no such file or directory

Error loading "flash:/c1520-k9w8-tar.153-3.JD/c1520-k9w8-tar.153-3.JD"

Interrupt within 5 seconds to abort boot process.
Loading "flash:/c1520-k9w7-mx.152-2.JB/c1520-k9w7-mx.152-2.JB"...##############

File "flash:/c1520-k9w7-mx.152-2.JB/c1520-k9w7-mx.152-2.JB" uncompressed and ins talled, entry point: 0x3000
executing...

as you can see in the above error it is showing error loading and again booting from old file which K9W7 standalone image

could please tell me what do or is there any work around for this

Community Member

The following should work in most cases, at least on newer APs;
debug capwap console cli
debug capwap client no-reload
archive tar /xtract tftp://10.10.10.10/c1520-k9w8-tar.153-3.JD
flash: delete /force /recursive flash:c1520-k9w7-mx.152-2.JB reload

Hope this helps

Chanda

Great article.... help me to recovery my CISCO AP.

Thanks

Beginner

Dear Surendra,

 

I found your article extremely helpful in getting the autonomous image loaded on to my 2602e AP.

 

Much obliged!

 

Cheers

John

Beginner

Hello Sir,

I did all command start with set.

1. I am not able to ping the ip address from my lapi.

2. When I am running tar command getting permission denied error.

3. All firewall are turn off.

4. My network is one eth cable from adapter to ap , one from adapter to switch. Lapi is directly connected to switch and both are in same switch.

5. After that I told to user remove all from network and connect laptop to ap by eth cable and console cable.  Still I am not able to ping in same network.

6. What is the problem plz help.

Buongiorno

 

perche' con questa procedura no parte l'estrazione del file e mi scrive questo:

 

tftp://10.0.0.2/images/ap3g2-k9w7-tar.153-3.JF5.tar: connection timed out.

 

Dov'e lo sbaglio?

 

Io ho un AIR-CAP2602I-e-k9.

CreatePlease to create content
Content for Community-Ad

Cisco COVID-19 Survey