How to Assign Static ip to LAP 1131AG before Registering to WLC?
Each of the WLCs that receives the LWAPP discovery message replies with a unicast LWAPP discovery response message to the LAP.
How to assign static ip to lightweight Access Point 1131AG before registering to controller? Some user raised the question like that: He has Wireless LAN controller (WLC) is installed in corporate office with H-reap enabled so that remote office access point can be registered with corporate office controller. This AP was registered with WLC on different subnet and he has shifted this AP to other remote office and want to assign static IP address.
More Notes: APs are “lightweight,” which means that they cannot act independently of a wireless LAN controller (WLC). The WLC manages the AP configurations and firmware. The APs are “zero touch” deployed, and individual configuration of APs is not necessary. The APs are also lightweight in the sense that they handle only real-time MAC functionality. The APs leave all the non-real-time MAC functionality to be processed by the WLC. This architecture is referred to as the “split MAC” architecture. We cannot configure the LAP to operate independent of a wireless LAN controller (WLC). LAPs cannot function independent of WLCs. LAPs function in conjunction with a WLC only. The reason is that the WLC provides all the configuration parameters and firmware that the LAP needs in the registration process.
While assigning static IP address to remote site AP through console before registering to the controller, after login into the AP, we got the console with below name:
But when we try any command to assign IP address, it shows the error "Command Disabled"
We can connect this AP to corporate office LAN and get registered with WLC and then through WLC GUI and can assign static IP address but we need solution to assign static IP before getting registered to WLC.
We Also tried the following command, but got error "Command disabled "
AP#lwapp ap ip address <IP address> <subnet mask>
AP#lwapp ap ip default-gateway <IP-address>
AP#lwapp ap controller ip address <IP-address>
AP#lwapp ap hostname <name>
By Default in LWAPP APs the config commands are disabled. We need to issue the command:
"debug lwapp console cli"
"debug capwap console cli"
(depending on the version of the sw of the AP)
After this you can use the AP config as you would do in IOS APs.
There is one Bug CSCsy17745 filed for this issue. The workaround will be helpful to fix the issue: http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsy17745
The command DEBUG LWAPP CONSOLE CLI is a HIDDEN command. Please enter the complete command and then you need to perform the work around mentioned in this Bug.
"lwapp ap" CLI always returns "ERROR!!! Command is disabled.".
When attempting to configure a lightweight AP using the "Ease of Deploy" CLI, i.e. the "lwapp ap" exec mode command, from the console, the following error is returned:
ERROR!!! Command is disabled.
The access point is running the lightweight IOS featureset (k9w8) or recovery image (rcvk9w8).
1. configure the AP to boot the recovery image:
ap#debug lwapp console cli (use "debug capwap console cli" if running 5.2 or above)
ap#dir flash:/ (look for a folder with "rcvk9w8" in its name)
ap(config)#boot system flash:/c1250-rcvk9w8-mx/c1250-rcvk9w8-mx
2. disconnect the AP from the LAN (e.g. shutdown the switchport)
3. reload the AP
4. from the AP console, clear the LWAPP (CAPWAP) configuration:
ap#clear lwapp private-config
5. You can now enter the "lwapp ap" "Ease of Deploy" CLI commands.
1. Disconnect the AP from the LAN (e.g. shutdown the switchport)
2. ap#debug lwapp console cli (use "debug capwap console cli" if running 5.2 or above)
3. ap#write erase
5. After reloading, you can now use the "lwapp ap" (or "capwap ap")
"Ease of Deploy" CLI commands.
ap#test lwapp controller ip a.b.c.d [w.x.y.z] (or "test capwap controller")
Even with the resolution of this bug, the "capwap ap hostname" CLI is still disabled. See CSCtl96208.
Reference from https://supportforums.cisco.com/document/71531/how-assign-static-ip-lightweight-access-point-lap-1131ag-registering-controller-wlc