Understanding "show ap database" and "show ap active" CLI commands.
Environment : This article applies to Aruba Mobility Controllers running ArubaOS versions.
"Show ap database" and "Show ap active" are the CLI commands, which are very frequently used by WLAN administrators. These two commands provide significant information on the status of Campus and Remote access points.
Significant of "Show ap database" command is based on where it is being executed, whether on Master Controller or on the Local Controller. This command shows the list of the access points irrespective of whether they are UP or Down.
When executed on On Master controller, it shows the all the access points in the mobility domain, whether they are on Master or any of the Local Controller in the mobility domain.
The above image shows "192.168.10.1" as Master and "192.168.10.2" as Local controller and they are well synchronized.
Lets us execute the "Show ap database" command on Master and Local controller to see the difference in the command output:
The "Switch IP" in the above image shows the controller-ip on which the AP is terminated. As we see, it shows the Access Points on Master and also the one on Local Controller.
Now, lets login to Local Controller and execute the "Show ap database" command:
As we see in the above image, the command only lists the access points on Local controller. i.e 192.168.10.2 in our example setup.
"Show ap database long" pulls up additional colums such as Wired MAC Address , Serial # , Port , FQLN , Outer IP and User
Show ap active:
Unlike the above command, "Show ap active" has nothing to do with role of the controller that it is being executed on. It only shows the access points that are UP on the current controller.
(When we say current controller, it is the one that the command is being executed upon.)
Therefore, in our example setup, lets execute the "show ap active" command on Master and Local:
As we notice, executing the "show ap active" command on Master and Local brings up their specific access points that are UP status.