Access Point ROMMON Recovery AP: prompt Recovery Example

Document

Tue, 08/08/2017 - 08:19
Jan 10th, 2011
User Badges:
  • 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.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!!

Loading.
Leo Laohoo Mon, 01/10/2011 - 16:11
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Hi Surendra,


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

Surendra BG Mon, 01/10/2011 - 17:27
User Badges:
  • 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

shah.a.jawad Sun, 05/17/2015 - 02:00
User Badges:

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.

Scott Fella Sun, 05/17/2015 - 07:06
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 Wireless

Try this from the cli:

delete /recursive /force flash:/ap3g2-k9w7-mx.153-3.JAB

delete /recursive /force flash:/ap3g2-k9w7-mx.153-3.JBB

This will delete the directory and the files in the directory.

-Scott

Scott Fella Sun, 05/17/2015 - 07:40
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 Wireless

That command is not available in ROMMON mode as you can see.  Boot the AP and run the command when it boots up.

-Scott

Scott Fella Sun, 05/17/2015 - 07:54
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 Wireless

You can erase flash, but you better understand how to get the AP to work again. Look at this link before trying to do this:

https://supportforums.cisco.com/discussion/11011226/restoring-1131ag-acc...

-Scott

shah.a.jawad Sun, 05/17/2015 - 08:23
User Badges:

Yes brother it worked,

 

Thanks alot..

Your quick response saved me...Thanks a lot once again...

Vinay Sharma Mon, 05/18/2015 - 04:22
User Badges:
  • Gold, 750 points or more

Thank you Scott for helping Shahbaz (particularly on weekend) with lighting fast response, much appreciated.

 

Many Regards,

Vinay Sharma
Community Manager

Peter3434 Sun, 04/10/2016 - 22:18
User Badges:

Hello forum,

I hope someone can help me with my situation. Let me start by saying I am a total beginner when it comes to configuring Cisco Access Points / Routers. So please in advance pardon my ignorance for some of my entries. 


So I am going to try to give you all the information I have and hopefully someone can help me solve my problem. 


I have a wireless access point, Cisco Aironet 1240ag series. When I turn it on it boots up to ap: prompt.


When I do "set" and enter I get the following:

               BOOT=flash:/c1240-k9w7-mx.123-8.JEA/c1240-k9w7-mx.123-8.JEA

               ENABLE_BREAK=no  (can someone tell me what this does?)

               IOS_STATIC_IP_ADDR=192.168.10.70  (can someone tell me what this does?)

               IOS_STATIC_NETMASK=255.255.255.0

               IP_ADDR=10.0.0.1   (I think this sets the IP to the WAP)

               NETMASK=255.255.255.2554

               TERMLINES=0      (can someone tell me what this does?)


Not sure what each of those lines mean but after doing some research I was able to find that I should clear all this out using the "unset" command. And start with a new set of entries.


After using the "unset" command for each line, I typed the "set" command again to make sure everything is gone. I got the following output. "ap: ". All the entries were gone.


The WAP is connected to one computer via serial RS232. This is used to run my putty.

I also have a Ethernet connection to another computer where I have my TFTP server running. The IP to this computer is 172.19.134.1, Mask 255.255.255.0, GATEWAY 172.19.134.1


The IOS file is located at C:\Program Files\Tftpd32

The IOS file name is "c1240-k9w7-tar.123-8.JEA.tar"

 

 

 

The Tftp server settings are:

Current Directory: C:\Program Files\Tftpd32

Server Interface : 172.19.134.1

Base Directory: C:\Program Files\Tftpd32

Tftp Security: none

Timeout  3 seconds

Max Retransmit  6

Tftp Port     69


Under Advance TFTP Options

Option Negotiation is checked off

Show Progress Bar is checked off

Translate Unix Files Names is checked off

Bind TFTP to this address is checked off to IP 172.19.134.1

 

My putty settings are:

Comp1

Speed 9600

Data Bits 8

Stop bit 1

Parity  None

Flow control None

 

 

I entered the following settings in the WAP.

 

ap: set IP_ADDR 172.19.134.20   (I thing this assigns the IP to the WAP)

ap: set NETMASK 255.255.255.0

ap: set DEFAULT_ROUTER 172.19.134.1   (Same IP as my tftp server)

ap: tftp_init

ap: ether_init

ap: flash_init

tar -xtract tftp:// 172.19.134.1/ c1240-k9w7-tar.123-8.JEA.tar flash:

After entering this command I get a popup  box with the title bar showing my IOS file (c1240-k9w7-tar.123-8.JEA.tar ), file size 512000, 0 Bytes sent, 0 Bytes /sec


Under the Tftp Server tab I see this information:

 Peer    172.19.134.20:1030                (WAP IP address)

 File      <c1240-k9w7-tar.123-8.JEA.tar>        (IOS file located in tftp)

Start Time 17:29:42

Progress 0%

after a few seconds I get "info device busy" message.

 

Both computers have the firewall disabled. Is it possible I need to change the baud rate higher to my putty?

 

Thanks,

 

Peter

 

 

 


Leo Laohoo Sun, 01/16/2011 - 13:37
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless


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.

Leo Laohoo Mon, 01/17/2011 - 21:36
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

No worries.

panayiotiscy Wed, 01/19/2011 - 02:54
User Badges:

Does this apply to c1522?

I just applied  Surendra's guidelines to c1522 succesfully!

The hulk is now functional !

Thank you

shah.a.jawad Thu, 06/09/2016 - 14:19
User Badges:

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

Leo Laohoo Thu, 06/09/2016 - 19:27
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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.

t.fiala Thu, 09/06/2012 - 10:14
User Badges:

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)

shah.a.jawad Sat, 10/01/2016 - 02:40
User Badges:

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

panayiotiscy Thu, 09/06/2012 - 22:13
User Badges:

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 Tue, 09/11/2012 - 04:57
User Badges:

Hi Panyiotiscy,

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

andychen Mon, 10/22/2012 - 11:02
User Badges:
  • Cisco Employee,

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

Peter3434 Wed, 04/13/2016 - 05:30
User Badges:

Hi Andy,

I saw your post helping someone else so I was hoping you solve my problem too.

Let me start by saying I am a total beginner when it comes to configuring Cisco Access Points / Routers. So please in advance pardon my ignorance for some of my entries. 


So I am going to try to give you all the information I have and hopefully you can help me solve my problem. 


I have a wireless access point, Cisco Aironet 1240ag series. 

when I turn it on it boots up to ap: prompt.


When I do "set" and enter I get the following:

               BOOT=flash:/c1240-k9w7-mx.123-8.JEA/c1240-k9w7-mx.123-8.JEA

               ENABLE_BREAK=no  (can someone tell me what this does?)

               IOS_STATIC_IP_ADDR=192.168.10.70  (can someone tell me what this does?)

               IOS_STATIC_NETMASK=255.255.255.0

               IP_ADDR=10.0.0.1   (I think this sets the IP to the WAP)

               NETMASK=255.255.255.2554

               TERMLINES=0      (can someone tell me what this does?)


Not sure what each of those lines mean but after doing some research I was able to find that I should clear all this out using the "unset" command. And start with a new set of entries.


After using the "unset" command for each line, I typed the "set" command again to make sure everything is gone. I got the following output. "ap: ". All the entries were gone.


The WAP is connected to one computer via serial RS232. This is used to run my putty.

I also have a Ethernet connection to another computer where I have my TFTP server running. The IP to this computer is 172.19.134.1, Mask 255.255.255.0, GATEWAY 172.19.134.1


The IOS file is located at C:\Program Files\Tftpd32

The IOS file name is "c1240-k9w7-tar.123-8.JEA.tar"

 

 

 

The Tftp server settings are:

Current Directory: C:\Program Files\Tftpd32

Server Interface : 172.19.134.1

Base Directory: C:\Program Files\Tftpd32

Tftp Security: none

Timeout  3 seconds

Max Retransmit  6

Tftp Port     69


Under Advance TFTP Options

Option Negotiation is checked off

Show Progress Bar is checked off

Translate Unix Files Names is checked off

Bind TFTP to this address is checked off to IP 172.19.134.1

 

My putty settings are:

Comp1

Speed 9600

Data Bits 8

Stop bit 1

Parity  None

Flow control None

 

 

I entered the following settings in the WAP.

 

ap: set IP_ADDR 172.19.134.20   (I think this assigns the IP to the WAP)

ap: set NETMASK 255.255.255.0

ap: set DEFAULT_ROUTER 172.19.134.1   (Same IP as my tftp server)

ap: tftp_init

ap: ether_init

ap: flash_init

tar -xtract tftp:// 172.19.134.1/ c1240-k9w7-tar.123-8.JEA.tar flash:

After entering this command I get a popup  box with the title bar showing my IOS file (c1240-k9w7-tar.123-8.JEA.tar ), file size 512000, 0 Bytes sent, 0 Bytes /sec


Under the Tftp Server tab I see this information:

 Peer    172.19.134.20:1030                (WAP IP address)

 File      <c1240-k9w7-tar.123-8.JEA.tar>        (IOS file located in tftp)

Start Time 17:29:42

Progress 0%

after a few seconds I get "info device busy" message.

 

Both computers have the firewall disabled. Is it possible I need to change the baud rate higher to my putty?

 

Thanks,

 

Peter

 

 

 


Surendra BG Tue, 12/03/2013 - 18:05
User Badges:
  • Cisco Employee,

Hi,


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



Regards

Surendra

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!

Peter3434 Tue, 04/05/2016 - 20:35
User Badges:

Hi there, 


Hope you can help me. I am having the same problem you are "no such file or directory found". I used the following command tar -xtract tftp://192.168.130.222/c350-k9w7-tar.122-13.JA1.tar flash: 

after I execute the command i can see the file transfer box pop up but then I get no such file in directory. Did you change the file name extension to default? 

my ios folder is located at Program Files/tftpd32 . I tried using tar -xtract tftp://192.168.130.222/Program Files/tftpd2/c350-k9w7-tar.122-13.JA1.tar flash:  

but got an error. also tried to use tar -xtract tftp://192.168.130.222/tftpd32/c350-k9w7-tar.122-13.JA1.tar flash:    

and got no such directory . firewall and anti virus is disabled

Can you tell me what command line you used and the location your file in tftp? 


thank you for your help,


Peter

lalitbogra Tue, 04/05/2016 - 21:47
User Badges:

Hi Peter,

First of all open your tftpd32 and check if ip binding is proper then try with this

tftp://192.168.130.222/c350-k9w7-tar.122-13.JA1.tar flash:

There is no need to change extension

Let me know how it goes


Peter3434 Wed, 04/06/2016 - 19:21
User Badges:

Lalitbogra,

Let me start by saying thank you so much for replying to my post. Also, I want to let you know I am a total beginner when it comes configuring Cisco Access Points / Routers. So please in advance pardon my ignorance for some of my entries.  

So I am going to try to give you all the information I have and hopefully you can solve my problem.  

 

  1. I have a wireless access point, Cisco Aironet 1240ag series. When I turn it on it boots up to ap: prompt.
  2. When I do "set" and enter I get the following:

               BOOT=flash:/c1240-k9w7-mx.123-8.JEA/c1240-k9w7-mx.123-8.JEA

               ENABLE_BREAK=no

               IOS_STATIC_IP_ADDR=192.168.10.70

               IOS_STATIC_NETMASK=255.255.255.0

               IP_ADDR=10.0.0.1

               NETMASK=255.255.255.2554

               TERMLINES=0

  1. Not sure what each of those lines mean but after doing some research I was able to find that I should clear all this out using the "unset" command.
  2. After using the "unset" command for each line, I typed the "set" command again to make sure everything is gone. I got the following output. "ap: ". All the entries were gone.
  3. The WAP is connected to one computer via serial RS232. This is used to run the putty.
  4. I also have a Ethernet connection to another computer where I have my TFTP server running. The IP to this computer is 172.19.134.1.
  5. The IOS file is located at C:\Program Files\Tftpd32
  6. The IOS file name is "c1240-k9w7-tar.123-8.JEA.tar"
  7. The Tftp server settings are:

               Current Directory: C:\Program Files\Tftpd32

               Server Interface : 172.19.134.1

               Base Directory: C:\Program Files\Tftpd32

               Tftp Security: none

               Timeout  3 seconds

               Max Retransmit  6

               Tftp Port     69

Under Advance TFTP Options

               Option Negotiation is checked off

               Show Progress Bar is checked off

               Translate Unix Files Names is checked off

               Bind TFTP to this address is checked off to IP 172.19.134.1.

 

My putty settings are:

Comp1

Speed 9600

Data Bits 8

Stop bit 1

Parity  None

Flow control None

 

I entered the following settings in the WAP.

ap: set IP_ADDR 172.19.134.20   (I thing this assigns the IP to the WAP)

ap: set NETMASK 255.255.255.0

ap: set DEFAULT_ROUTER 172.19.134.1   (Same IP as my tftp server)

ap: tftp_init

ap: ether_init

ap: flash_init

tar -xtract tftp:// 172.19.134.1/ c1240-k9w7-tar.123-8.JEA.tar flash:

 

After entering this command I get a popup  box with the title bar showing my IOS file (c1240-k9w7-tar.123-8.JEA.tar ), file size 512000, 0 Bytes sent, 0 Bytes /sec

 

Under the Tftp Server tab i see this:

 Peer 172.19.134.20:1030  (WAP IP address)

 File  <c1240-k9w7-tar.123-8.JEA.tar>  (IOS file located in tftp)

Start Time 17:29:42,

 Progress 0%

after taking a few seconds I get "info device busy" message.

Both computers have the firewall disabled. Is it possible I need to change the baud rate higher to my putty?

Thanks again for all your help,

 

Peter

lalitbogra Tue, 04/12/2016 - 23:18
User Badges:

Dear Peter,

from your above details point 2 commands are to set IP of AP  and default router which you can use IP of your computer. (I would suggest to do it in separate computer not linked with your network) This is temporary settings just to convert AP in to standalone mode.

Just use same set of command as in the main post under step 4 and 5

As I can see from your details above your computer IP and TFTP are seems to be different.

In Short just follow main post and you are done. I am also not very much expert in Cisco but if required I can help via teamviewer.


dapot.simarmata Fri, 01/10/2014 - 01:04
User Badges:

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!

eberd Wed, 04/02/2014 - 07:12
User Badges:

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

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!

Donytello Fri, 08/28/2015 - 05:51
User Badges:

Hello, Eberd,

I have 1552 Outdoor AP, I can't download ois in rommon mode. I did all steps in above. When I did 

tar -xtract tftp:/URL flash:   connection time out

 

I closed all firewalls, I can't ping AP from PC. I tried to replace PC.

 

ap: arp  <ip address PC> is shown

 

Please help

 

 

 

luisrher Tue, 05/20/2014 - 05:57
User Badges:
  • Cisco Employee,

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

nathan0016 Mon, 07/21/2014 - 12:58
User Badges:

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

Sridharnc538 Sat, 12/20/2014 - 05:30
User Badges:

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&nbsp;&nbsp;I am getting this error and also the console access will be disconnecting frequently with ambiguous cmds
&nbsp;&nbsp;DPAA Set for Independent Mode
DPAA_INIT = 0x0
Kindly help me on this
 
Attachment: 
Fereidoun Fatahiany Sun, 01/11/2015 - 15:29
User Badges:

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.

JASON SIMMONS Wed, 02/04/2015 - 12:51
User Badges:

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.

Anthony Cook Wed, 05/20/2015 - 07:19
User Badges:

Hi Surendra

Thanks, this post was very useful and worked well. I only had a couple of issues, when I first set up the tftpd32 server on my laptop I had the AP going through a switch to the laptop and the ftp connection was timing out (the connection would start but no data was transferred). Once I connected the AP directly in the laptop and rebooted it, the ftp download was successful.

I then tried to use the boot command you have documented but this failed to load the image and it booted back into the lightweight image once more. 

The error I got was the following:

"Loading "flash:/c1140-k9w7-mx.124-25d.JA2"...flash:/c1140-k9w7-mx.124-25d.JA2: is a directory

Error loading "flash:/c1140-k9w7-mx.124-25d.JA2" "

 

I noticed that the old image used a different format to load the image.

The boot command should be in the following format:

ap: set BOOT flash:/image_name/image_name

The command I used that worked was:

ap: set BOOT flash:/c1140-k9w8-mx.124-25e.JA/c1140-k9w8-mx.124-25e.JA

This then tells the router to uncompress the image and then install it.

 

This took me a while to figure out so hope this helps someone avoid the same struggle in the future.

Regards

Anthony

Chanda Nsofu Tue, 08/11/2015 - 15:51
User Badges:

Hi Anthony.

Product/Model Number: AIR-AP1131AG-E-K9

I keep on getting the below message

Loading "flash:/c1130-k9w7-mx.124-25d.JA2/c1130-k9w7-mx.124-25d.JA2"...flash:/c1130-k9w7-mx.124-25d.JA2/c1130-k9w7-mx.124-25d.JA2: no such file or directory
 
Error loading "flash:/c1130-k9w7-mx.124-25d.JA2/c1130-k9w7-mx.124-25d.JA2"

 

and this other message when I try to load the tar image. Any idea what I am dong wrong?

 

tar /xtract tftp://10.211.55.7/c1130-k9w7-tar.124-25d.JA2.tar flash:
usage: tar <-table | -xtract> <tar file> <destination>

 

I have tried on five different AP's which I need to be autonomous from LWAP.

 

Thanks for your help geeks out there. By the I am using a MacBook Pro to work on this. If any of you have experience with doing this on a Mac please help me out.

 

 

ericniner Fri, 06/26/2015 - 07:40
User Badges:

Hi, thanks for the awesome tutorial.  I have one issue though, when my aironet 1250 is loading the flash I cannot press esc to get into the ap: mode.  I've also had no luck with using the tftp server mode button method.  

A little background, I tried to update the firmware via the GUI and it failed out after about 400 minutes.  I can no longer access the GUI but I can get in with CLI.  Am I even on the right page?

Actions

This Document

Related Content