I need static pre-configure the ap ip address, gateway and the address of the controller, throught CLI. I configure static ip information of AP througt wireless lan controller, but now I need make it through CLI.

From AP console issue a command "clear lwapp private-config" and see if it helps.

It should remove pre-existing static IP addresses and controller addresses, allowing them to be reconfigured manually.

If not AP can be returned to factory defaults by removing power, holding down the MODE button, applying power with the MODE button held down and keeping the MODE button held until the LED turns amber, then releasing the MODE button.

If this also does not help there are some drastic ways which we can discuss if this fails.