hi bac1
Please try enabling LLDP on the 3850 switch, or, enable "ipm-enable" in the AP system profile "default".
Enabling lldp is the preferred fix, but you can confirm this is due to the AP being on 802.3af power using the ap system profile tweak as well.
* edit/update 23 July 2019*
The root cause of this is that starting with 8.5.0.0 Aruba OS will keep an AP51x in an Inactive state (captial i flag in show ap database) if the AP is powered up by 802.3af power. This can be verified using following step:
--------------------
(7008-core) [mynode] #show ap debug system-status ap-name ap515 | begin "Power Status"
Power Status
------------
Item Value
---- -----
Power Supply : POE-AF
LLDP Power : 0.0W
Current Operational State : USB disabled, eth1 disabled, All radios disabled
Eth0 HW POE status : POE AF, LLDP power: 0.0W
note the current operational state is "All radios disabled".
To solve this, ensure the AP is connected to a switch that supports 802.3at power or better, or, if the switch does support 802.3at then ensure LLDP is enabled so as to communicate the power managemet TLVs to the AP. Here is the same output when the AP is connected to an 802.3at power source:
(7008-core) [mynode] #show ap debug system-status ap-name ap515 | begin "Power Status"
Power Status
------------
Item Value
---- -----
Power Supply : POE-AT
LLDP Power : Successfully negotiated at 25.0W
Current Operational State : USB port enabled
Eth0 HW POE status : POE AT, LLDP power: 25.0W
To workaround this you can enable "IPM" (intelligent power management) in the AP system profile, this will allow the AP to shut down various resources in order to guarantee that 802.3af power can run the AP. Please refer to the user guide for the full extent of IPM behaviour. Here is the same output once IPM has been enabled and the AP is still on the 802.3af power source:
(7008-core) [mynode] #configure terminal ap system-profile default ipm-enable
(7008-core) ^[mynode] #write mem
(7008-core) [mynode] #show ap debug system-status ap-name ap515 | begin "Power Status"
Power Status
------------
Item Value
---- -----
Power Supply : POE-AF
LLDP Power : 0.0W
Current Operational State : 2.4GHz radio: No restrictions, 5GHz radio: No restrictions
Eth0 HW POE status : POE AF, LLDP power: 0.0W
I'll post this as it's own topic in the forum too.