The dhcp trust port command enables a DHCP trusted port in a Mesh profile.
The undo dhcp trust port command disables a DHCP trusted port in a Mesh profile.
By default, a DHCP trusted port is enabled in a Mesh profile.
Format
dhcp trust port
undo dhcp trust port
Parameters
None
Views
Mesh profile view
Default Level
2: Configuration level
Usage Guidelines
After a DHCP trusted port is enabled in a Mesh profile and the Mesh profile is applied to an AP, the AP receives the DHCP OFFER, ACK, and NAK packets sent by authorized DHCP servers and forwards the packets to STAs so that the STAs can obtain valid IP addresses and go online.
Example
# Enable a DHCP trusted port in the Mesh profile test.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] mesh-profile name test
[HUAWEI-wlan-mesh-prof-test] dhcp trust port