Reset the CAPWAP
Reset the CAPWAP
Introduction
This document describes how to manually set or reset static configuration information on Cisco
IOS and ClickOS Access Points (APs)
Prerequisites
Requirements
● Basic knowledge of the configuration of CAPWAP APs and Cisco Wireless LAN Controllers
(WLC)
● Basic knowledge of Control And Provisioning of Wireless Access Points protocol
Components Used
The information in this document is based on these software and hardware versions:
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
In order to manually configure static information on a AP through the AP CLI interface, you can
use these EXEC mode CLI commands:
Note: You must issue these commands while in enable mode. The default enable password is
Cisco.
The static information configured with the CLI commands is used by the AP to join a controller.
After the AP joined the controller, the user can configure new settings on the LAP via the
controller.
In addition to the previous methods, you can also reset the configuration of the LAP from the WLC.
When the LAP is registered to the controller, you can use these commands from the controller in
order to reset the configuration on the LAP:
● Use clear ap config <ap-name> keep-ip-config command in order to clear all of the AP's
configurations to default, except for the AP's static IP configuration.
● Use clear ap config <ap-name> command in order to clear all of the AP's configurations to
default, which includes the AP's static IP configuration.
In order to use that method you need to login to AP console mode in priviledge exec mode:
AP#clear capwap ap ?
all-config <-- if you need to reset AP to factory default (this command causes system)
controller <-- if you need to clear static configuration for WLC IP address (this command may
cause termination session to WLC and new DTLS handshake)
dot1x <-- if you need to reset dot1x credentials for AP authentication
hostname <-- if you need to reset AP host name config
ip <-- if you need to remove static IP configuration on AP. (this command may cause termination
session to WLC and new DTLS handshake)
● For ClickOS based APs:
AP#capwap ap erase ?
all <-- Erase all AP config (this commands causes AP to reboot)
static-ip <-- Erase static IP/DNS config (this command causes termination session to WLC and new
DTLS handshake)
In order to use that method you need to have physical access to AP. Process is the same for both
Cisco IOS and ClickOS APs.
In order to disable the reset button on the AP registered to the controller, use this CLI command:
Troubleshoot
You can use this debug command on a LAP with a console port to troubleshoot problem related to
IP address assignment:
●On ClickOS based APs: debug dhcp eventsdebug dhcp errorsdebug dhcp packets
Note: If the AP has no console port, it is necessary to take a wired sniffer trace of the port that the
LAP is plugged into to see what packets are received by and transmitted to the LAP.
You can use these debug commands in order to monitor the discovery process through the WLC
CLI.