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.


Fat AP and Cloud 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).
dhcp trust port

dhcp trust port


The dhcp trust port command configures a DHCP trusted interface on an AP.

The undo dhcp trust port command cancels the configuration.

By default, the DHCP trusted interface is enabled on an AP.


dhcp trust port

undo dhcp trust port




GE interface view, Eth-Trunk interface view, MultiGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When STA address learning is enabled using the undo learn-client-address disable (VAP profile view) command:
  • If the STA gateway is deployed on the AP, disable the DHCP trusted interface function to prevent attacks to STAs from bogus DHCP servers.
  • If the STA gateway is deployed on a non-AP device, configure the AP interface connected to the gateway as a DHCP trusted interface so that STAs can obtain IP addresses of the same VLAN from the DHCP server.

When STA address learning is disabled using the learn-client-address disable (VAP profile view) command, STAs can obtain IP addresses of the same VLAN through the interface regardless of whether the interface is configured as a DHCP trusted interface.


# Configure GE0/0/0 on the AP as a DHCP trusted interface.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] dhcp trust port
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212514

Downloads: 122

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