520| Access Points AOS-W 6.5.3.x| User Guide
Troubleshooting the APDiscovery Logic
The following sections describe troubleshooting scenarios users may encounter in the AP discovery logic.
Identifying the switch discovery method
APs can obtain the IP address of a switch through one of the following methods:
n Static controller discovery
n Aruba Discovery Protocol (ADP)
n DHCP server
n DNS server
Execute the show log provision command on the AP to determine which switch discovery method was used
to upgrade the AP to the AOS-W image.
The AP is unable to upgrade to the AOS-W image
There are several reasons why an AP may not be able to upgrade to the AOS-W image, even when a switch is
configured.
ADP is disabled
If the Alcatel-Lucent Discovery Protocol (ADP) is disabled on the switch, the AP will not be able to locate any
switches on its own. Execute the adp discovery enable command in the CLI to enable ADP.
The AP preference role is set to switch-less
If the AP preference role is set to switch-less, the AP bypasses switch discovery and immediately initiates
Instant discovery. Use one of the following methods to check if the AP preference role has been set to switch-
less:
n Execute the apboot> printenv command on the AP console to view the current environment variable
settings. The uap_controller_less field indicates if the preference role is set to switch-less:
l uap_controller_less=1: The switch-less preference role is enabled.
l uap_controller_less=0: The switch-less preference role is disabled.
See Managing AP Console Settings on page 585 for more details on APBoot commands.
n Check the boot up log from the AP console. If the preference role is set to switch-less, the “ADP is disabled
by uap_controller_less” message appears.
n Execute the show log provision command on the AP console to view the AP provisioning logs. If the
preference role is set to switch-less, the “Controller discovery is disabled by ap-env uap_controller_less”
message appears.
The AP is not factory default
If the AP is not set to factory default (manufacturing image in unprovisioned mode), it cannot enter the switch
discovery process. Use one of the following methods to check if the AP is factory default:
n Check the boot up log from the AP console. If the AP is not factory default, the “Not factory_default ap. Do
not run ADP.” message appears.
n Execute the show log provision command on the AP. If the AP is not factory default, the “Controller
discovery is disabled since UAP is not factory default status” message appears.
n APs remain in unprovisioned mode after failing both switch and Instant discovery. If the AP is unable to
upgrade to the AOS-W or Instant image through the switch and Instant discovery process, it can be
upgraded manually using the SetMeUp-xx:xx:xx provisioning SSID. Execute the show network
command on the AP to check if the AP is connected to the SetMeUp-xx:xx:xx provisioning SSID. If the AP
is connected to a different SSID, it is not factory default.