cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
653
Views
10
Helpful
8
Replies

REALLY factory defaulting an LAP

I want to completely factory default the config. of an LAP.

It happens to be a 1242AG.

I configured these values at Console of the LAP,

IP addr, mask, name, WLC IP.

It LWAPP Joined successfully to the WLC.

From the WLC CLI I did,

clear ap (rest of syntax I can't remember) which the CLI Help says will factory-default the LAP.

It rebooted & Console command

show lwapp ip config

showed the above config & LAP name still there.

1) What should I do to REALLY factory default the LAP config from WLC CLI?

2) How would I do this from LAP Console?

Regards, MH

8 Replies 8

Rob Huffman
Hall of Fame
Hall of Fame

Hi Mark,

Here is one method;

To clear or remove the manually entered controller information, you can use these EXEC mode CLI commands:

clear lwapp ap ip address

clear lwapp ip default-gateway

clear lwapp controller ip address

clear lwapp ap hostname

Manually Resetting the Access Point to Defaults

You can manually reset your access point to default settings using this EXEC mode CLI command:

--------------------------------------------------------------------------------

Note This command requires the controller configured Enable password to enter the CLI EXEC mode.

--------------------------------------------------------------------------------

clear lwapp private-config

From this Troubleshooting doc;

http://www.cisco.com/en/US/docs/wireless/access_point/1130/installation/guide/113h_c4.html#wp1091061

Hope this helps!

Rob

Hi Rob,

Thanks so much.

It is so very useful the way you refer to the doco. I wouldn't have guessed to to look in Troubleshooting for this.

I wish the TAC would point to doco this way.

So is it correct to say that the minimum amount of effort required to completely factory-default an LAP is,

From WLC: clear ap-config

From LAP Console: clear lwapp private-config

?

I found it interesting & unusual that these Console commands are inherently non-volatile (ie. no explicit save to NVRAM required).

It is also interesting that what Console command help states as Primary WLC for "clear lwapp controller ip address" command, when viewed from WLC in command "sh ap config gen " is not listed as Primary WLC.

Regards, MH

Sorry,

"clear lwapp controller ip address"

should read,

"lwapp controller ip address "

MH

Hi Mark,

You are very welcome my friend :) I think the easiest method would be;

clear lwapp private-config

Hope this helps!

Rob

Hi,

Now I've had a chance to play with this, it's not as simple as I had hoped for.

I put this config on new-out-of-box LAP_1242AG through LAP Console:

lwapp ap hostname wwmnphla41c12

lwapp ap ip addr 10.50.36.100 255.255.255.240

lwapp ap ip default 10.50.36.99

lwapp ap controller ip add 10.50.36.11

then connect ethernet.

LWAPP Joined OK.

Turned off power, disconnected from eth.

A few days later powered it up with AC adapter - no eth.

mh-test-c12#clear lwapp private-config

ERROR!!! Command is disabled.

mh-test-c12#

mh-test-c12#clear lwapp ap controller ip address

ERROR!!! Command is disabled.

mh-test-c12#

mh-test-c12#lwapp ap hostname wwmnphla41c12

ERROR!!! Command is disabled.

mh-test-c12#lwapp ap ip addr 10.50.36.100 255.255.255.240

ERROR!!! Command is disabled.

mh-test-c12#lwapp ap ip default 10.50.36.99

ERROR!!! Command is disabled.

mh-test-c12#lwapp ap controller ip add 10.50.36.11

ERROR!!! Command is disabled.

mh-test-c12#

mh-test-c12#delete flash:config.txt

Delete filename [config.txt]?

Delete flash:config.txt? [confirm]

mh-test-c12#

mh-test-c12#delete flash:private-multiple-fs

Delete filename [private-multiple-fs]?

Delete flash:private-multiple-fs? [confirm]

mh-test-c12#

>>> After a power-cycle, this cleared the AP name but not any of the IP config.

The only way I could factory-default the IP config. of the AP is from WLC CLI (obviously while AP is LWAPP Joined).

Anyone know a way of factory-defaulting the LAP from the Console, given that the LAP was once LWAPP Joined to a WLC but is not currently?

The only thing I can think of which I have not tried it,

delete flash:env_vars

but I'm reluctant to do this since it contains pointers to the LAP OS image.

I don't want a brick :)

Regards, MH

Rob Huffman
Hall of Fame
Hall of Fame

Hi Mark,

This highlights the likely problem ( Sorry, I wish I had sent you this earlier);

If you enter the clear lwapp private-config command, you might see this error message:

AP0017.5922.f384#clear lwapp private-config

ERROR!!! Command is disabled.

This error message indicates that the static configuration commands are locked out because either:

This command was entered while the LAP is registered to a controller.

***The LAP was previously registered to a WLC, but the username/password was not changed from the default

So try this;

Once your LAP successfully registers with the WLC, the static LWAPP configuration commands (discussed in the previous section) are locked out and are no longer accessible. In order to re-enable the commands, you must have set the username and password while the LAP was joined to the previous controller.

When the LAP is registered to a controller, use this controller CLI command to set the AP's username and password:

config ap username password

From this doc that I found after we last spoke :)

http://www.cisco.com/en/US/products/hw/wireless/ps430/products_tech_note09186a00808e2d27.shtml

Hope this helps!

Rob

Hi Rob,

I am totally astounded at your familiarity with the doco.

Thanks so much.

Is the doco spread all over the place like a mad man's breakfast or am I just overly critical :)

Why isn't the content of

Resetting the LWAPP Configuration on a LAP_DocID-99763

in,

1240AG Series AP_Hardware Inst. Guide

under troubleshooting LAPs (where they talk about Console commands).

Regards, MH

Hi Mark,

You are most welcome!

You are not overly critical, I think many people would agree that finding documentation here is hard (to say the least). I have probably spent too much time looking for things for myself and others to try and solve problems, but I guess thats part of the challenge :)

Here are some tips I use;

Start by logging in, this gives you access to a greater wealth of available docs.

Think of keywords like lwapp clear or ccm db

Keep trying different combinations

When you find a great doc, save the link or better yet save the pdf in a file on your desktop. You may find a great link oneday and have trouble ever finding it again.

Don't give up! The information you are looking for is almost always lurking somewhere on the site.

Use the search function on the Forums, there really are some great experts who post answers on a daily basis.

Check out Cisco Press (link on this site) there are some superb books that cover a wide range of topics.

Hope this helps! And good luck!

Rob

Getting Started

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: