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.


S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.

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 IP Addresses Not Dynamically Assigned

Configuring IP Addresses Not Dynamically Assigned

You can configure some IP addresses that are not dynamically assigned in the following scenarios:
  • An enterprise requires that the IP addresses assigned to employees' computers should be within the range of (gateway address To ensure stability of the DNS server deployed in the enterprise, the server IP address should be manually configured to Therefore, can be configured as an IP address that is not dynamically assigned.
  • Assume that an enterprise assigns the IP addresses (gateway address to the clients in department A and to those in department B based on the global mode. When the device functions as the DHCP server, create two address pools: pool1 (assigns addresses to hosts in department A) and pool2 (assigns addresses to hosts in department B). The network masks are both 24 for the address pools. Configure in pool1 and in pool2 as IP addresses that are not dynamically assigned.

Configure the IP addresses that are not dynamically assigned on the device functioning as the DHCP server. For example, in an address pool with a mask length of 24 on the network segment, configure as IP addresses that are not dynamically assigned.

  • Configuration in the global address pool:

    <HUAWEI> system-view
    [HUAWEI] ip pool pool1
    [HUAWEI-ip-pool-pool1] network mask 24
    [HUAWEI-ip-pool-pool1] gateway-list
    [HUAWEI-ip-pool-pool1] excluded-ip-address
  • Configuration in the interface address pool:

    <HUAWEI> system-view
    [HUAWEI] dhcp enable
    [HUAWEI] interface vlanif 100
    [HUAWEI-Vlanif100] ip address 24
    [HUAWEI-Vlanif100] dhcp select interface
    [HUAWEI-Vlanif100] dhcp server excluded-ip-address
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 123029

Downloads: 13185

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next