Log in to an AP
and perform the following configurations:
Configure the mode in which the AP obtains an IP address (default: DHCP mode).
<Huawei> system-view [Huawei] ap-address mode static
Configure the IP address and gateway address for the AP to go online in static mode.
[Huawei] ap-address static ip-address 10.23.100.100 24 10.23.100.1
(Optional) Specify the IP address of the AC. For Layer 2 networking, the AC's IP address is not mandatory. For Layer 3 networking, the AC's IP address is mandatory.
[Huawei] ap-address static ac-list 10.23.100.1 [Huawei] quit
Restart the AP to make the configurations take effect.
<Huawei> reboot
NOTE
A maximum of four IP addresses can be configured for an AC at the same time. The IP addresses are separated by spaces.
You can run the display ap-address-info command to query the configuration result.