![[Knowledge sharing]AP Online Process-2752399-1](https://forum.huawei.com/enterprise/en/data/attachment/forum/201809/17/020140aq1tiu3vquv3vwpm.png)
- Static mode: An IP address is manually configured for the AP.
- DHCP mode: The AP functions as a DHCP client and requests an IP address from a DHCP server.
- SLAAC mode: APs obtain IPv6 addresses through stateless address autoconfiguration (SLAAC).
- Maintain the running status of APs and the AC.
- Help the AC manage APs and deliver configurations to APs.
- Transmit service data to the AC for centralized forwarding.
An AP sends a Discovery Request packet to find an available AC. (Discovery Phase)
In Discovery phase, the AC determines whether to permit access from an AP based on the Discovery Request packet that the APsends and will not respond to Discovery Request packets of APs not permitted for access. An AP can discover an AC in static or dynamic mode.The AP establishes CAPWAP tunnels with an AC.
The AP sends a Join Request packet to an AC. The AC then determines whether to allow the AP access and sends a Join Response packet to the AP. The Join Response packet carries the AP software upgrade mode and AP version information.
4)AP Software Upgrade:
The AP determines whether its system software version is the same as that specified on the AC according to parameters in the received Join Response packet. If the two versions are different, the AP updates its software version in AC, FTP, or SFTP mode.
After the software version is updated, the AP restarts and repeats steps 1 to 3.
5)CAPWAP Tunnel Maintenance:
The AP and AC exchange Keepalive (UDP port 5247) packets to monitor the data tunnel connectivity.
The AP and AC exchange Echo (UDP port 5246) packets to monitor the control tunnel connectivity.
6)AC Configuration Delivery:
The AC sends a Configuration Update Request packet to the AP, which then replies with a Configuration Update Response packet. The AC then delivers service configuration to the AP.
If you have some questions I'll be glad to answer.

