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

Configuration Guide - Basic Configuration

S9300, S9300E, and S9300X V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
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).
Configuring DHCP

Configuring DHCP

Context

Before deploying unconfigured devices, you must configure the DHCP functions to allow the DHCP clients to obtain an IP address and Commander's address from the DHCP server. The clients then can communicate with the Commander to obtain information about the files they need to download.

If the clients and server are located on the same network segment, you only need to configure the DHCP server. If they are located on different network segments, deploy a DHCP relay agent between the server and clients.

You can configure the Commander, another Huawei switch, or a third-party device on the network as the DHCP server or DHCP relay agent. In the following operations, another Huawei switch is configured as the DHCP server. If a third-party device is used, configure them according to the manual of the device.

The DHCP server must support the options required for device deployment. This section provides basic configurations of the DHCP server. For more information about DHCP configuration, see DHCP Configuration in the S9300, S9300E, and S9300X V200R011C10 Configuration Guide - IP Service.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the dhcp enable command to enable DHCP.
  3. Run the interface interface-type interface-number command to enter the interface view.
  4. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

  5. Run the dhcp select global command to configure the interface to use the global IP address pool.
  6. Run the quit command to return to the system view.
  7. Run the ip pool ip-pool-name command to create a DHCP address pool and enter its view.
  8. Run the network ip-address [ mask { mask | mask-length } ] command to specify the range of IP addresses in the global address pool.

    • To prevent IP address conflicts, ensure that the configured IP address range does not include the IP addresses specified in the configuration files.

    • The DHCP server must have sufficient IP addresses to assign.

  9. Run the gateway-list ip-address &<1-8> command to set a gateway address for DHCP clients.
  10. Run the option 148 ascii ascii-string command to configure DHCP option fields.

    • The option 148 parameter must be specified first, indicating the Commander's IP address. After this parameter is specified, the clients implement EasyDeploy using the Commander.

    • The ascii-string parameter is set in the format of "ipaddr=ip-address;port=udp-port;". For example, if the IP address and port number of the Commander are 10.10.10.1 and 60000, respectively, the ascii-string parameter is expressed as ipaddr=10.10.10.1;port=60000; or ipaddr=10.10.10.1; (the default port number 60000 is omitted).

Translation
Download
Updated: 2019-04-17

Document ID: EDOC1000178413

Views: 68945

Downloads: 109

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