09-23-2014 02:31 PM - edited 07-05-2021 01:35 AM
How can i change AP hostname for LAP via CLI?
I got the error 'command is disabled' when i try to use command 'capwap ap hostname <>'
I try to disconnect LAP from WLC, factory default, clear all private-configure and clear all files in nvram: but not working (still got error
Need help.
Thank you.
09-23-2014 02:40 PM
Clearing the NVRAM is what you need to do. You also need to make sure that prior to trying to change the hostname, that the ap doesn't join the WLC. Once it joins, then you need to make changes in the WLC. You also can deleted the config when you look at the flash.
Scott
09-23-2014 05:10 PM
Hi Scott,
I had tried but still same. What command you use to clear NVRAM?
Thank you.
09-23-2014 06:35 PM
Here is what you need to do:
debug capwap console cli
erase /all nvram:
[confirm]
undebug all
reload
[confirm]
Scott
09-23-2014 02:43 PM
Hi
If your WLC has a code 5.2 or above you can use
"debug capwap console cli" "debug lapwap console cli"
After that the command will be allow
**Please rate useful answers**
09-23-2014 02:49 PM
and yes like Scott said don't let your AP join to WLC
09-23-2014 03:32 PM
Please note that if AP is already associated to WLC,
the new hostname will only reflect on WLC after AP dis-associates and rejoins
09-23-2014 05:07 PM
Hi Salodh,
It is a brand new ap and yet associated to WLC.
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: