Product and Software: This article applies to all Aruba controllers and ArubaOS versions.
It can be difficult to clear the Duplicate Location Code from the WebUI. This code usually can be removed from the CLI of the master by issuing the following command:
clear gap-list ap <ap's ethernet mac>
Sometimes this also does not help. In this case, these entries can be cleared from the gab-db of the controller by following these steps:
1) Enter the secret mode of the controller.
2) Use Telnet to connect to the switch on 2323.
3) Issue the following commands:
#mysql gapdb
mysql > show tables;
mysql > select * from global_ap_table;
mysql > delete from global_ap_table where wired_mac='<ap wired mac>';
mysql > quit;