After the AP's uplink wired interface is configured to work in endpoint mode, the AP cannot go online after a restart.
Error-prone configuration:
When working as an uplink interface to connect to an AC, an AP's wired interface must work in root mode. In root mode, the AP's wired interface automatically joins service VLANs and user-specific VLANs (for example, VLANs assigned by the RADIUS server).
When working as a downlink interface to connect to a wired terminal, the AP's wired interface must work in endpoint mode. In endpoint mode, the AP's wired interface does not join any VLAN by default.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] wired-port-profile name wired [HUAWEI-wlan-wired-port-wired] mode endpoint Warning: If the AP goes online through a wired port, the incorrect port mode configuration will cause the AP to go out of management. This fault can be recovered only by modifying the configuration on the AP. Continue? [Y/N]:y [HUAWEI-wlan-wired-port-wired] return
Suggestion:
<Switch> system-view [Switch] arp static 169.254.1.1 a858-40dd-ef80 //The default IP address of the AP is 169.254.1.1. The MAC address of the AP is specified because devices on the network may have the same IP address.
[Switch] interface Vlanif1 [Switch-Vlanif1] ip address 169.254.1.100 255.255.255.0 [Switch-Vlanif1] quit
[Switch] interface GigabitEthernet0/0/1 [Switch-GigabitEthernet0/0/1] port trunk pvid vlan 1
<Huawei> system-view [Huawei] interface GigabitEthernet 0/0/0 [Huawei-GigabitEthernet0/0/0] work-mode root
<Huawei> reboot