08-09-2010 09:34 AM - edited 07-03-2021 07:03 PM
I have an AP that has joined a WLC previously. I want to move it to a different LAN segment and assign it a static IP address. How can I configure this AP? I tried using the CLI,
AP#lwapp ap hostname testAP
ERROR!!! Command is disabled.
AP#clear lwapp private-config
ERROR!!! Command is disabled.
AP#config ap username admin password admin
^
% Invalid input detected at '^' marker.
AP#dir
Directory of flash:/
3 -rwx 84304 Aug 6 2010 15:40:26 +00:00 event.log
4 -rwx 5144 Mar 1 2002 00:01:10 +00:00 private-multiple-fs
5 drwx 128 Mar 1 2002 00:01:51 +00:00 c1140-rcvk9w8-mx
8 drwx 192 Feb 24 2010 22:10:51 +00:00 c1140-k9w8-mx.124-18a.JA2
12 -rwx 23940 Jul 12 2010 21:30:47 +00:00 lwapp_reap.cfg
13 -rwx 268 Aug 6 2010 15:40:26 +00:00 env_vars
32385024 bytes total (25820160 bytes free)
AP#
Delete filename [lwapp_reap.cfg]?
Delete flash:lwapp_reap.cfg? [confirm]
reload
>>> It still does not let me configure it.
Solved! Go to Solution.
08-09-2010 09:42 AM
Greetings,
Very good question. In order to issue the static configuration commands on a LAP, you'll need to be running the CAPWAP Recovery Image on the AP. In order to accomplish this, we'll need to remove the full image already installed:
debug capwap con cli
delete /force /recursive flash:/c1140-k9w8-mx.124-18a.JA2
You can also free free to remove the configuration files as well:
delete /force flash:private-multiple-fs
delete /force flash:lwapp_reap.cfg
Be sure to reload the LAP when complete. Once reloaded, the AP will boot the c1140-rcvk9w8-mx image, and then will allow for the static configuration commands:
lwapp ap ip address
lwapp ap controller ip address
lwapp ap hostname
lwapp ap ip default-gateway
Cheers.
Drew
08-09-2010 09:42 AM
Greetings,
Very good question. In order to issue the static configuration commands on a LAP, you'll need to be running the CAPWAP Recovery Image on the AP. In order to accomplish this, we'll need to remove the full image already installed:
debug capwap con cli
delete /force /recursive flash:/c1140-k9w8-mx.124-18a.JA2
You can also free free to remove the configuration files as well:
delete /force flash:private-multiple-fs
delete /force flash:lwapp_reap.cfg
Be sure to reload the LAP when complete. Once reloaded, the AP will boot the c1140-rcvk9w8-mx image, and then will allow for the static configuration commands:
lwapp ap ip address
lwapp ap controller ip address
lwapp ap hostname
lwapp ap ip default-gateway
Cheers.
Drew
08-09-2010 10:23 AM
Thanks Drew! This worked like a charm. However, one quick question - it does not let me save the changes. I guess, I will have to move it to the new segment first and then configure it there to join the controller. Then the changes will be saved by the controller on this AP. Right?
08-09-2010 10:26 AM
Glad to hear. That's exactly right! Unlike conventional IOS-based devices, the LAPs can only save their configuration via the WLC (not through the CLI). Once the AP is joined, please verify the static IP assignment. If there are any inconsistencies, go ahead, and apply the changes once the AP is joined to the WLC.
Take Care,
Drew
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide