2013/11/11

Error!!! Command is disabled

Declaration:
1.  CISCO Aironet LAP1131AG-A-K9.
2. Console cable used to CLI config.
3. Terminal emulator: Putty.

Problem:
1a. IP already set by someone, but no longer usable and must be changed.
1b. AP hostname no longer represent correct AP connection with controller, and needed to be changed.
2. Commands attempted to apply, always comes with the same result:
    #Error!!! Command is disabled.

Solution:
use the clear command!

#clear lwapp private-config
#clear lwapp ap hostname
ap#clear lwapp ap controller ip address
ap#lwapp ap hostname NEW-AP-NAME
#lwapp ap ip address x.x.x.x x.x.x.x

notice that your AP state changed from "DISCOVERY" to "JOIN", and watch how it recover its database...