09-14-2006 03:57 AM - edited 07-04-2021 01:06 PM
Is there any way to set the static ip address to lwapp AP? If I have changed the controller management ip address, The lwapp AP is not discover and join the controller without DHCP server. right?
I have tried to set lwapp AP ip address by console, but failed. Is any good idea?
Solved! Go to Solution.
09-14-2006 09:04 PM
Hi Yong,
If you do sh flash: you will see an env_var file. Can you try deleting that file and try to enter same command once again.
Regards,
Ankur
09-14-2006 04:11 AM
Hi Friend,
Why don't you connect your AP to the same subnet on which your management interface is and cofnigure DHCP pool for management subnet so that when AP comes up it will first send a broadcast on same subnet and if AP and controller magagement interface are on same subnet , AP will be able to discover controller management IP address and will join.
Just change the switch settings on which you have you AP to vlan on which you have your management interface.
Also what procedure you tried to assign a static ip address to your AP?
Regards,
Ankur
09-14-2006 05:30 AM
The lwapp AP is AP1131AG converted ios to lwapp. I have set by "lwapp ap ip address x.x.x.x" command in CLI. but failed. May be this command blocked.
Is DHCP Server mandatory in controller base design?
If the lwapp AP had static ip address, should be deployed another subnet network later, I think this lwapp AP could not join to controll without DHCP Server.
Our netwok is divided with several VLANs and controller and AP's are differnt subnets.
09-14-2006 06:30 AM
Hi Yong,
No DHCP server is not mandatory in controller base design but DHCP server give a ease in network setup.
Can you tell me the exact error message which you get while giving that command is the error message like "command disable"?
Can you post the error message and also show flash from your AP.
Regards,
Ankur
09-14-2006 05:21 PM
Below is the log on lwapp AP.
Even also i can not change AP hostname and controller ip address. May be these commands are blocked for some reason.
******************************************
AP0016.c875.2d34#lwapp ap ip address ?
A.B.C.D static IP address
AP0016.c875.2d34#lwapp ap ip address 10.0.0.10 255.255.255.0
ERROR!!! Command is disabled.
AP0016.c875.2d34#lwapp ap controller ip address 10.0.0.1
ERROR!!! Command is disabled.
AP0016.c875.2d34#lwapp ap hostname test_ap
ERROR!!! Command is disabled.
*******************************************
Thanks.
09-14-2006 09:04 PM
Hi Yong,
If you do sh flash: you will see an env_var file. Can you try deleting that file and try to enter same command once again.
Regards,
Ankur
09-14-2006 09:36 PM
Hi Ankur,
I have tried that way, but failed.
But I have found description below about lwapp AP ip address configuration on cisco web site.
"The access point stores the address in
NVRAM so that the static address is preserved across a reboot or power cycle. This is important to remember because an access point static IP address can only be changed through a WLC interface. If you move a statically addressed access point to a different IP network, it will not be able to forward traffic."
If i have to change lwapp AP's ip address, the WLC is needed.
Anyway, Thanks your support.
Regards,
Yong
09-14-2006 10:45 PM
Hi Yong,
An acces point always falls back to DHCP server if you have a static ip address which is unreachable. It attemots using a static ip address first and later falls back to DHCP.
AP1010 take somewher near 15 min approx for the same and APs like 1130 etc atke some more time.
Also can you paste me the output of your "sh flash"
Regards,
Ankur
09-15-2006 12:07 AM
Hi,
This below is sh flash output.
AP_1#show flash
Directory of flash:/
2 -rwx 7192 Sep 15 2006 16:25:37 +00:00 private-multiple-fs
3 -rwx 211 Sep 15 2006 14:21:53 +00:00 env_vars
149 drwx 128 Sep 13 2006 15:23:06 +00:00 c1130-rcvk9w8-mx
7 drwx 256 Sep 15 2006 13:53:29 +00:00 c1130-k9w8-mx.123-11.JA
Regards,
Yong
09-15-2006 12:29 AM
Hi Yong,
I found the way which can help you assigning a new static ip address on your AP thoug its tedious.
You can take your AP out of network. Console into it and reload it and hit a break key to take it to rommon mode and then issue a command "flash_init" and then hit a command "set" and you will see your enviroment variables.
You can use "set" and "unset" command to change the ip address variable from there and then boot command will boot you AP with changed configuration.
Try this and update if that works for you. I will wait for the results.
Regards,
Ankur
11-14-2006 05:50 AM
Actually, all I needed to do was run this command first:
clear lwapp private-config
And then I was good to go.
thanks
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