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

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 select interface

dhcp select interface

Function

The dhcp select interface command enables an interface to use the interface address pool.

The undo dhcp select interface command disables an interface from using the interface address pool.

By default, the DHCP server function using the interface address pool is disabled on an interface.

Format

dhcp select interface

undo dhcp select interface

Parameters

None

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The dhcp select interface command applies to DHCP servers. After receiving a DHCP Request message from a DHCP client, a DHCP server assigns an IP address from the local address pool to the client. Run the dhcp select interface command to configure a DHCP server to assign IP addresses from the interface address pool to clients.

The device can also assign IP addresses from a global address pool using the dhcp select global command.

Prerequisites

DHCP has been enabled globally using the dhcp enable command in the system view.

An IP address has been configured for an interface using the ip address command. The IP addresses assigned by the address pool and configured on the interface are on the same network segment.

Precautions

If the DHCP relay and DHCP server functions are simultaneously configured on an interface, only the DHCP server function takes effect.

Example

# Enable VLANIF100 to use the interface address pool.
<Huawei> system-view
[Huawei] dhcp enable
[Huawei] interface vlanif 100
[Huawei-Vlanif100] ip address 10.1.1.2 24
[Huawei-Vlanif100] dhcp select interface
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 200721

Downloads: 122

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