address-mode (AP view)
Parameters
Parameter | Description | Value |
---|---|---|
dhcp | Indicates that an IP address is obtained in DHCP mode. The RU functions as a DHCP client and is assigned an IP address by the DHCP server. | - |
static | Indicates that a static IP address is obtained. The RU must be configured with a static IP address. | - |
Usage Guidelines
Usage Scenario
You can run the address-mode command to configure an RU to obtain an IP address in DHCP or static mode.
Precautions
After the configuration is delivered, restart the APs to make the configuration take effect.
Example
# Configure an RU to obtain an IP address in DHCP mode.
<Huawei> system-view [Huawei] wlan [Huawei-wlan-view] ap-id 1 [Huawei-wlan-ap-1] address-mode dhcp Warning: The incorrect configuration will cause the AP to go out of management. This operation will deliver parameter setting and ma y cause reboot of AP(s). Continue?[Y/N]:y