No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ap-address mode

ap-address mode


The ap-address mode command configures the mode in which an AP obtains an IP address.

By default, an AP obtains an IP address in DHCP mode.


ap-address mode { static | dhcp | slaac }


Parameter Description Value
static Indicates that a static IP address is obtained. The AP must be configured with a static IP address. -
dhcp Indicates that an IP address is obtained in DHCP mode. The AP functions as a DHCP client and is assigned an IP address by the DHCP server. -
slaac Indicates that an IP address is obtained in SLAAC mode. Only IPv6 addresses can be obtained through stateless address autoconfiguration (SLAAC). -


System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, an AP obtains an IP address in DHCP mode and goes online through an AC. You can run the ap-address mode command to change the mode in which an AP goes online.

After an AP is configured to obtain an IP address in DHCP mode, the AP serves as the DHCP client. The DHCP Discover and Request messages sent by the AP carry the Option 12 field by default. This field contains the AP model and MAC address in format of Huawei AP-AP model-AP MAC address, for example, HuaweiAP-AP5030DN-dc:d2:fc:f6:76:a0. After the AP obtains an IP address, you can check AP information based on the IP address on the DHCP server that supports the display of DHCP client information.

Follow-up Procedure

You must run the reboot command to restart the AP to make the configuration take effect.


# Configure an AP to obtain an IP address in DHCP mode.

<Huawei> system-view
[Huawei] ap-address mode dhcp
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 132907

Downloads: 106

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next