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 deploying zero touch devices using an intermediate file, you must configure a DHCP server to allow the zero touch devices to obtain IP addresses, file server addresses, and intermediate file names from the DHCP server.

If the devices to be configured 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 devices to be configured.

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.

In the following operations, the DHCP server is Huawei switch. If a third-party device is used, configure them according to the manual of the device.

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 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 IP address range does not include the IP addresses specified in the configuration file to be loaded to the zero touch devices.

    • 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 code { ascii ascii-string | hex hex-string | cipher cipher-string | ip-address ip-address &<1-8> } command to configure DHCP option fields.

    • If devices obtain file information using an intermediate file, do not configure Option 67. Instead, configure Option 146 and set the netfile field to the name of the intermediate file.

    • Configure at least one file server. For details about DHCP options specifying file server information and other related options, see Table 3-1 in Zero Touch Device Deployment Using Option Fields or an Intermediate File.

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1100066063

Views: 32659

Downloads: 688

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