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

Reminder

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

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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

Function

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.

Format

dhcp trust port

undo dhcp trust port

Parameters

None

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before WLAN services are delivered to an AP, run the dhcp trust port command in the AP wired port profile view. After the command is run, the AP receives the DHCP OFFER, ACK, and NAK packets sent by the authorized DHCP server and forwards the packets to STAs so that the STAs can obtain valid IP addresses and go online.

The undo dhcp trust port command configured in the AP wired port profile view takes effect only in direct forwarding mode, but not the tunnel forwarding mode.

Precautions

When executed in the AP wired port view, this command takes effect only on uplink interfaces of an AP. To configure a downlink wired interface on an AP as a DHCP trusted interface, you only need to run the learn-client-address enable (AP wired port profile view) command to enable STA address learning, but do not need to run the dhcp trust port command.

Example

# Create an AP wired port profile named wire1, and enable a DHCP trusted interface on an AP in this profile.
<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] wired-port-profile name wire1
[HUAWEI-wlan-wired-port-wire1] dhcp trust port
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 116472

Downloads: 83

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