on
01-10-2011
02:31 AM
- edited on
07-28-2024
05:53 PM
by
Rich R
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 <- not supported or needed on more recent AP models
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!!
tar -xtract tftp://192.168.100.101/images/c1140-k9w7-tar.124-21a.JY.tar flash:
There is a : at the end
Hello to all,
I tried to apply the process mentioned above to an 1552 Outdoor AP with little success. Once the IP Addr, Netmask and Default router was set the AP could do an ARP resolution for the TFTP server address. However, once the tftp_init command was entered the AP could no longer do ARP resolution causing the TFTP attempts to time out. Issuing the ether_init command didn't remedy things as well. The IP settings were retained and properly displayed with the set command at all times.
After a few tests I realized that for some reason the tftp_init command somehow interfered with the configuration of the Ethernet port. The order of steps finally used to recover the AP were:
1) ap: tftp_init
2) Set IP ADDR, NETMASK and DEFAULT ROUTER as mentioned above
3) ap: ether_init
4) tar -xtract tftp://URL flash:
5) The remaining steps in the process above
Best Regards
Hi All,
I was doing a software upgrade for an AP 1252 and I left the old image and the new one. After issue the commands:
ap: set BOOT flash:/image_X/image_X ap: boot
I noticed that the AP was loading the old image so I tried using the command reset:
ap: set BOOT flash:/image_X/image_X ap: reset
And that solved my issue.
regards,
Luis
Thanks! This worked great on an Air-ap 1242 AGAK9 that had no image.
When the .tar began extracting, I pressed the spacebar about 12 times in a row (in Teraterm).
This took care of all the "-more-" s that came up, so I didn't have to babysit the whole .tar extraction.
-nathan
Hello,
I seem to be getting a "no such file or directory found" when I tell the access point to grab the .tar file from my laptop.
I am using tftp64 software, the file is in this location C:\TFTP\ and I ve got my base directory set to that. Are there any other settings in the tftp software that could be causing the issue? The firewall on my laptop is down, and the IP settings are set correctly.
Any help will be appreciated, thank you!
Hello,
I seem to be getting a "no such file or directory found" when I tell the access point to grab the .tar file from my laptop.
I am using tftp64 software, the file is in this location C:\TFTP\ and I ve got my base directory set to that. Are there any other settings in the tftp software that could be causing the issue? The firewall on my laptop is down, and the IP settings are set correctly.
Any help will be appreciated, thank you!
Hello,
Not sure what I did, but it is working now. I think there was something off in my tftp server settings.
Hello,
Not sure what I did, but it is working now. I think there was something off in my tftp server settings.
Hello,
It will not boot with the new extracted image, I am not sure what I am doing wrong. I tell to use the new image after it extracts it like you show in your instructions. But it is not working, it keeps booting to the old image.
Thank you!
Hi friends,
I have one cisco AIR_CAP 3602I NK9 its not taking the configure command to enter into configuration mode and I had assigned the IP from rom mode and I tried with the below configuration in rom mode but it is getting an error like below
ap: tar -xtract tftp://192.192.192.40/images/ap3g2-k9w7-tar.152-2.JA.tar flash:
after giving this configuration its not extracting and I am getting this error and also the console access will be disconnecting frequently with ambiguous cmds
DPAA Set for Independent Mode
DPAA_INIT = 0x0
Kindly help me on this
This is the most perfect way of making it so easy to do this job. Thanks a lot.
I just tried it on my 1262 but with power injector connected directly to the laptop ip address 10.0.0.1 the same for D.G. worked fantastic.
I used this to convert a 1310 AP. The guide was almost perfect.
The AP booted to the old lightweight code.
I had to issue the boot command with the path of the code I wanted to load.
boot flash:/c1310-k9w7-mx.124-25d.JA2/c1310-k9w7-mx.124-25d.JA2
hope this helps someone.
Hi Brother's,
i want to delete files from the flash of AP.can any one help me.
Below are the files highlighted in red.
ap: dir flash:
Directory of flash:/
2 -rwx 282 <date> info
3 -rwx 136 <date> env_vars
37 drwx 2176 <date> ap3g2-k9w8-mx.153-3.JA1
4 -rwx 63 <date> mesh_cfg.txt
5 -rwx 85 <date> mesh_port_cfg.txt
6 drwx 384 <date> ap3g2-k9w7-mx.153-3.JAB
7 drwx 320 <date> ap3g2-k9w7-mx.153-3.JBB
8 drwx 0 <date> configs
271 -rwx 6168 <date> private-multiple-fs
7950848 bytes available (24047104 bytes used)
ap:
is there any command or something to remove this.
Actually i was trying to convert this AP from controller based to standalone.and while file transfer it got stopped due to some error.Now again i am trying to upload file is show's no enough space message.
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: