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 server next-server

dhcp server next-server

Function

The dhcp server next-server command specifies a server IP address for DHCP clients.

The undo dhcp server next-server command cancels the configuration.

By default, no server IP address is specified by the DHCP Server for DHCP clients.

Format

dhcp server next-server ip-address

undo dhcp server next-server

Parameters

Parameter

Description

Value

ip-address

Specifies a server IP address.

The value is in dotted decimal notation.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The dhcp server next-server command is used on DHCP servers. When assigning a DHCP client an IP address, a DHCP server can also assign the DHCP client an IP address of the server that provides network services for the client. For example, some clients like IP phones still need other configuration parameters after automatically obtaining IP addresses. You can run the dhcp server next-server command to specify the server address used after a client obtains an IP address. The client then requests the configuration parameters from the specified server after obtaining an IP address.

If users use addresses in the interface address pool, run the dhcp server next-server command to specify the DHCP server IP address. If users use addresses in the global address pool, run the next-server command to specify the DHCP server IP address.

Prerequisites
  • The address of an interface address pool has been configured using the ip address command.

  • The DHCP server function has been enabled on the interface using the dhcp select interface command.

Precautions

  • The dhcp server next-server command takes effect for only users that use addresses in the interface address pool.
  • If you run the dhcp server next-server command multiple times, only the latest configuration takes effect.

Example

# Specify the server IP address 192.168.1.2 in the interface address pool on VLANIF100 used to provide services for terminal users.
<Huawei> system-view
[Huawei] dhcp enable
[Huawei] interface vlanif 100
[Huawei-Vlanif100] ip address 10.1.1.2 24
[Huawei-Vlanif100] dhcp select interface
[Huawei-Vlanif100] dhcp server next-server 192.168.1.2
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 208033

Downloads: 122

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