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

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, BootLoad Menu Operation.

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 configuring option fields to implement the EasyDeploy function, deploy a DHCP server from which the zero touch devices can obtain information about files to be downloaded according to the option configuration.

If the zero touch devices and the DHCP 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 DHCP server and the zero touch devices.

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 S2720, S5700, and S6720 V200R013C00 Configuration Guide - IP Service.

The following procedure configures a Huawei switch as the DHCP server. To use a third-party device as the DHCP server, configure it according to its manual.

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.
    NOTE:

    Only the S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

  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 global 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 to be loaded to the zero touch devices.

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

  9. Run the gateway-list ip-address &<1-8> command to set a gateway address for DHCP clients.
  10. Run the option code { ascii ascii-string | hex hex-string | cipher cipher-string | ip-address ip-address &<1-8> } command to configure DHCP options.

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1100066063

Views: 41381

Downloads: 712

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next