To set a Cisco WLAN controller to factory default settings, you can connect via console or telnet/ssh to the WLC and type in the following:
(Cisco Controller) > reset system (Cisco Controller) > recover-config
or you can boot up the device and just press ESC several times to come to the boot menu. Type “5” to clear the configuration. After this you need to activate the webinterface (http and secure https) to configure the WLC by webmanagement:
config network webmode enable config network secureweb enable
You can also deactivate the http access. Just type in the command with parameter “disable” at the end instead of “enable”.