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


To have a better experience, please upgrade your IE browser.


S1720GFR, S2700, S5700, and S6720 V200R010C00 Web-based Configuration Guide

This document describes the configuration and maintenance of device through the web network management system. The web network management system provides the functions of viewing device information and managing the entire system, interfaces, services, ACL, QoS, routes, security, and tools.
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).
Example for Configuring a Device as a DHCP Server (Based on an Interface Address Pool)

Example for Configuring a Device as a DHCP Server (Based on an Interface Address Pool)

Networking Requirements

In Figure 1-308, an enterprise divides two network segments for office terminals: for employees with fixed office terminals and for employees on business trips to temporarily access the network. The enterprise requires that DHCP be used to assign IP addresses to employees with fixed office terminals and employees on business trips. A PC (DHCP Client_1) requires fixed IP address to meet service requirements.
Figure 1-308  Networking diagram for configuring the device as a DHCP server

Configuration Roadmap

The configuration roadmap is as follows:

Configure the DHCP server function on the gateway device Switch to dynamically allocate IP addresses to terminals on the two network segments. PCs on the network segment are employees' fixed office terminals, and the network segment is used by travelling employees to access the network temporarily.


Configure interface link types and VLANs on LSW_1 and LSW_2 to implement Layer 2 communication.


  1. Configure the VLANs to which interfaces belong.
    1. Choose Configuration > Basic Services > Interface Settings. Click Connect to PC.
    2. Select GE0/0/1 under Step 2: Select Interface, and set Interface Status and Default VLAN under Step 3: Configure Interface to ON and 10, as shown in Figure 1-309. You do not need to configure other parameters under Step 3: Configure Interface.

      Figure 1-309  Connecting an interface to a PC

    3. Click Apply. In the dialog box that is displayed, click OK.
    4. Configure GE0/0/2 using the same method.
  2. Configure an IP address for each VLANIF interface.
    1. Choose Configuration > Basic Services > VLAN in the navigation tree to open the VLAN configuration page.
    2. Click the VLAN data under VLAN ID to open the Modify VLAN page, select Create VLANIF, and set an appropriate address for IPv4 address, as shown in Figure 1-310.

      Figure 1-310  Configuring a VLANIF interface

    3. Set the parameters and click OK.
  3. Configure interface address pools.
    1. Choose Configuration > Basic Services > DHCP in the navigation tree to open the DHCP configuration page.
    2. Set DHCP status to ON to enable the DHCP function.
    3. Click Create to open the Create IP Pool page. Set VLANIF interface to Vlanif10 and DHCP mode to Local allocation, and click OK. Similarly, configure an interface address pool Vlanif11, as shown in Figure 1-311.

      Figure 1-311  Configuring interface address pools

    4. Click the data line of Vlanif10 in Address Pool List to view Vlanif10 Address Pool Information. Select and click Bind IP to open the Statically Bound page. Set MAC address to 286e-d488-b684 as shown in Figure 1-312 and click OK.

      Figure 1-312  Static IP binding

Operation Result

Choose Configuration > Basic Services > DHCP and click the data lines of Vlanif10 and Vlanif11 in Address Pool List to view address allocation of interface address pools, as shown in Figure 1-313.

Figure 1-313  Displaying address pool information

Updated: 2019-08-21

Document ID: EDOC1000114003

Views: 51612

Downloads: 1063

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