Installing Autonomous IOS (aIOS) on a Lightweight AP from the CLI
This tip shows how to install an autonomous IOS image (i.e. the k9w7 feature set) on an access point running lightweight IOS.
Set up the TFTP Server
As the first step, set up a TFTP server as needed. Tftpd32 for Windows works well. Put the TFTP server somewhere on the network where the AP can reach it via IP. Put the desired aIOS (k9w7) image on the TFTP server. In this case, we will use ap3g1-k9w7-tar.124-25d.JA1, the aIOS image for the 1260 series AP.
Connect to the AP CLI (Exec)
Next, set up a terminal session to the AP's CLI (exec.) This can be done with an asynchronous serial connection to the AP console, from a terminal emulator program such as PuTTY. You may also use a TELNET/SSH session to the AP, if and only if it is running a lightweight IOS version of 12.4(21a)JA2 (126.96.36.199), 12.4(10b)JDE (188.8.131.52), or above. (See CSCsz95595).
Enter the IOS commands
If the AP is running a pre-CAPWAP image - i.e. one prior to 12.4(18a)JA (5.2) - then first enter the following hidden command.
ap#debug lwapp console cli
If the AP is running a CAPWAP image - i.e. 12.4(18a)JA (5.2) or above - enter this hidden command:
ap#debug capwap console cli
The above command is necessary in order to permit you to enter the archive command.
If the AP is now joined to a WLC, then proceed to the Archive Command step below. If not, then the AP is going to cycle through DHCP release/renewal, and will possibly reboot, defeating your efforts to load in the autonomous IOS, unless you take the following steps:
ap#debug capwap client no-reload
(this hidden command prevents the AP from reloading when it can't join a controller)
And create a DHCP scope with a fixed lease for the AP - you can do this on an IOS DHCP server with:
ip dhcp pool APNAME
host 10.2.3.4 /24
client-id 01<LAN MAC>
(or just create a scope with a single address ... otherwise, the AP will release its DHCP address and renew with a new address, breaking the TFTP operation.)
In either case, now enter the archive download-sw command to copy the aIOS image from the TFTP server, and install it onto AP flash, overwriting the currently installed image as needed:
Deleting current version: flash:/ap3g1-k9w8-mx.124-23c.JA2...done. New software image installed in flash:/ap3g1-k9w7-mx.124-25d.JA1 Configuring system to use new image...done. archive download: takes 129 seconds
Reload the AP running IOS
Now validate that the AP is configured to boot the aIOS image, and reload:
AP1260#more flash:/env_vars | include BOOT BOOT=flash:/ap3g1-k9w7-mx.124-25d.JA1/ap3g1-k9w7-mx.124-25d.JA1 AP1260i#reload Proceed with reload? [confirm] Writing out the event log to nvram... y *Sep 1 00:41:58.714: %SYS-5-RELOAD: Reload requested by Cisco on console. Reload Reason: Reload command. [ ... ]
I am trying to setup a 1852 with Mobility Express. I can get it working with most items, however we have a Security Policy in place that says that management traffic should be segmented from other traffic. In a normal WLC situation all the APs are on vlan...
Hello,I have a Cisco 3702i setup in autonomous mode that has been running for a few weeks. I can SSH into it using my new username and password, but can't use this to log into the GUI I have to use the default of Cisco:Cisco, it seems to be the only...
Hello,I only did this a few weeks ago and it was easier, but today I can't reset another spare AP and set it to autonomous. I was originally connected to our WLC so I've consoled in and removed the config.txt and the private-multiple-fs anre reboote...
Hi All, I thought I was getting to grips with the wireless world but I am finding that I am a little out of my depth setting up a test Cisco Catalyst 9800-CL Wireless Controller. This will be my third controller, this one I am testing in a ...