How to delete AP stale entries in Aruba Mobility Controller in the role of "Local"?

MVP
MVP
Requirement:

Aruba Mobility Controllers should be running Minimum ArubaOS 6.5.0.1 or above



Solution:

When an AP terminates on a controller and moves to another controller, or an AP is removed from the WLAN network, a stale entry of the AP continues to remain in the AP database of the controller. The controller might be a Master or Local controller. 

Prior to 6.5.0.1 a stale entry of the AP can be deleted only in the "Master" Controller. When we try to delete the stale entry from a "Local" controller we get the following error message ""This command must be run on the active master""

Starting from ArubaOS 6.5.0.1, a stale entry of the AP in the "Local" controller can be deleted.



Configuration:

From CLI:

Syntax:

(Local) #clear gap-db stale-ap ap-name/wired-mac <ap-name/ap-wired-mac-address> lms lms-ip/lms-ip6 <ipv4/ipv6 ip-address>

Example

(Local) #clear gap-db stale-ap ap-name AP225 lms lms-ip 10.17.169.151

From WebUI:

At the moment this option is available only from CLI and not available from WebUI.



Verification

Verification with an Example:

Before the execution of the command:

(Local) #show ap database long

AP Database
-----------
Name               Group       AP Type  IP Address     Status  Flags  Switch IP      Standby IP  Wired MAC Address  Serial #   Port  FQLN  Outer IP  User
----               -----       -------  ----------     ------  -----  ---------      ----------  -----------------  --------   ----  ----  --------  ----
24:de:c6:cf:81:36  Aruba-Test  215      10.17.169.158  Down    2      10.17.169.151  0.0.0.0     24:de:c6:cf:81:36  CK0005594        N/A   N/A
AP225              Aruba-Test  225      10.20.25.34    Down    2      10.17.169.151  0.0.0.0     9c:1c:12:c1:41:8e  BX0061358        N/A   N/A

Flags: U = Unprovisioned; N = Duplicate name; G = No such group; L = Unlicensed
       I = Inactive; D = Dirty or no config; E = Regulatory Domain Mismatch
       X = Maintenance Mode; P = PPPoE AP; B = Built-in AP; s = LACP striping
       R = Remote AP; R- = Remote AP requires Auth; C = Cellular RAP;
       c = CERT-based RAP; 1 = 802.1x authenticated AP; 2 = Using IKE version 2
       u = Custom-Cert RAP; S = Standby-mode AP; J = USB cert at AP
       i = Indoor; o = Outdoor
       M = Mesh node; Y = Mesh Recovery

Port information is available only on 6xx.

Total APs:2

(Local) #

After the Execution of the command 

(Local) #clear gap-db stale-ap ap-name AP225 lms lms-ip 10.17.169.151

(Local) #show ap database long

AP Database
-----------
Name               Group       AP Type  IP Address     Status  Flags  Switch IP      Standby IP  Wired MAC Address  Serial #   Port  FQLN  Outer IP  User
----               -----       -------  ----------     ------  -----  ---------      ----------  -----------------  --------   ----  ----  --------  ----
24:de:c6:cf:81:36  Aruba-Test  215      10.17.169.158  Down    2      10.17.169.151  0.0.0.0     24:de:c6:cf:81:36  CK0005594        N/A   N/A

Flags: U = Unprovisioned; N = Duplicate name; G = No such group; L = Unlicensed
       I = Inactive; D = Dirty or no config; E = Regulatory Domain Mismatch
       X = Maintenance Mode; P = PPPoE AP; B = Built-in AP; s = LACP striping
       R = Remote AP; R- = Remote AP requires Auth; C = Cellular RAP;
       c = CERT-based RAP; 1 = 802.1x authenticated AP; 2 = Using IKE version 2
       u = Custom-Cert RAP; S = Standby-mode AP; J = USB cert at AP
       i = Indoor; o = Outdoor
       M = Mesh node; Y = Mesh Recovery

Port information is available only on 6xx.

Total APs:1

(Local) #
Version history
Revision #:
2 of 2
Last update:
‎03-20-2017 02:53 PM
Updated by:
 
Labels (1)
Contributors
Comments
WiFivomFranMan

I can't seem to clear the AP out of MM, does this not work on AOS8?

mwjohns

Command doesn't work in 8.0

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: