How to enable and verify the preferred master on Aruba IAP using CLI?
This feature is available on Instant APs with InstantOS version 18.104.22.168-4.0 and above. Hence it is mandatory for the IAPs to be running minimum 22.214.171.124-4.0.
Preferred Master feature is used to manually provision an IAP as the master IAP. Manual assignment works well in an environment that requires a specific AP with a lower load, an AP with more capable hardware, or an AP with an alternate uplink to always function as the master. The AP that you manually select as the master is known as the preferred master. As long as the preferred master is online, it is the cluster master. If the preferred master goes down because of an uplink failure, the default reelection algorithm elects a new AP as the master. When the preferred master comes back online, it becomes the cluster master again, and the AP that was automatically elected as the
master through the reelection algorithm reboots to rejoin the cluster as a regular member AP.
Note: Instant AP on which "Preferred Master" is enabled, need to be restarted. By default Preferred Master feature is disable.
To enable the preferred master use the following command
To disable the preferred master use the following command
Aruba-Instant# no iap-master
Note: This command is applicable only from Privilege mode of the Command Line Interface (CLI).
To check if preferred master is enabled/disabled use the following command
Aruba-Instant# show ap-env Antenna Type:Internal name:Aruba-Instant wifi0_arm_channel:161 wifi0_arm_power:23 disable_prov_ssid:1 mesh-ldart-disable:1 iap_master:1 <---------------- Indicates "preferred master" is enabled Aruba-Instant#
Note: If preferred master is disabled we will not see "iap_master:1" in the "show ap-env" output
When preferred master is disabled
Aruba-Instant# show ap-env Antenna Type:Internal name:Aruba-Instant wifi0_arm_channel:161 wifi0_arm_power:23 disable_prov_ssid:1 mesh-ldart-disable:1 Aruba-Instant#