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

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).
DHCP

DHCP

The switch supports Dynamic Host Configuration Protocol (DHCP) applications based on the global address pool or an address pool configured on a VLANIF interface. The switch also provides security guarantee for DHCP services and supports DHCP relay.

DHCP is a technology used to dynamically manage and configure clients in a concentrated manner. DHCP adopts the client/server model. The client applies to the server for configurations such as the IP address, subnet mask, and default gateway, and the server replies with corresponding configurations according to policies.

DHCP

Context

You must enable DHCP before configuring the DHCP server and DHCP relay.

Procedure

  1. Choose Service Management > DHCP > DHCP in the navigation tree to open the DHCP page, as shown in Figure 2-131.

    Figure 2-131  DHCP

    Table 2-73 describes the parameters on the DHCP page.

    Table 2-73  DHCP

    Parameter

    Description

    DHCP

    Click Enabled or Disabled. Indicates whether to enable DHCP. By default, DHCP is disabled.

  2. Select the parameters.
  3. Click Apply to complete the configuration.

Configure Global Address Pool

A DHCP server can allocate IP addresses to clients by using a global address pool.

Context

You need to configure a DHCP server based on the global address pool to enable computers to obtain IP addresses from the global address pool dynamically.

Procedure

  • Query information about a global address pool.
    1. Choose Service Management > DHCP > Configure Global Address Pool in the navigation tree to display the Configure Global Address Pool page.
    2. Set the search criteria.
    3. Click Query to display all the matching records, as shown in Figure 2-132.

      Figure 2-132  Querying information about a global address pool

      Table 2-74 describes the parameters for querying information about a global address pool.

      Table 2-74  Parameters for querying information about a global address pool

      Parameter

      Description

      Address pool name

      Indicates the name of a global address pool.
      NOTE:

      The value must be an existing global address pool on the device; otherwise, there is no matching record.

      Total:1

      Indicates the number of matching records. The following information is displayed:
      • Address Pool Name

      • Subnet Address

      • Subnet Mask

      • Gateway IP

      • Lease Period

      • Forbidden IP

      For detailed meaning of each item, see Table 2-75.

  • Create a global address pool.
    1. Choose Service Management > DHCP > Configure Global Address Pool in the navigation tree to display the Configure Global Address Pool page.
    2. Click Create to display the Create a Global Address Pool page, as shown in Figure 2-133.

      Figure 2-133  Create a Global Address Pool

      Table 2-75 describes the parameters on the Create a Global Address Pool page.

      Table 2-75  Parameters on the Create a Global Address Pool page

      Parameter

      Description

      Basic Settings

      Address pool name

      Indicates the name of an address pool.

      Subnet address

      Indicates the IP subnet of the address pool.

      Subnet mask

      Indicates the mask of the IP subnet. Select a mask from the drop-down list box, for example, 24 (255.255.255.0).

      Gateway IP

      Indicates the IP address of a gateway. You can configure a maximum of eight gateway IP addresses.

      Lease period

      Indicates the lease of dynamic IP addresses. The default lease is one day. The value range is as follows:
      • day: an integer ranging from 0 to 999
      • hour: an integer ranging from 0 to 23
      • minute: an integer ranging from 0 to 59
      NOTE:

      Different address pools can have different IP address leases, but addresses in one pool have the same lease.

      Forbidden IP

      Indicates the IP address that will not be dynamically allocated to users.

      NOTE:

      Some IP addresses are allocated to applications such as the DNS server and cannot be allocated to users. You can specify these IP addresses as forbidden IP addresses.

      Configure DNS for the Address Pool

      Client domain name

      Indicates the domain name allocated by the DHCP server to the client.

      DNS server IP

      Indicates the IP address of a DNS server. You can configure a maximum of eight DNS server addresses.

      Configure NetBIOS for the Address Pool

      NetBIOS node type

      Indicates the type of a NetBIOS node. The options are:
      • unspecified

        The NetBIOS node type is not specified.

      • b-node

        The NetBIOS node obtains the mapping between the host name and IP address in broadcast mode. b represents broadcast.

      • p-node

        The NetBIOS node obtains the mapping between the host name and IP address by communicating with the NetBIOS server. p represents peer to peer.

      • m-node

        The NetBIOS node is a p-type node with some broadcast features. m represents mixed.

      • h-node

        The NetBIOS node is a b-type node using the peer-to-peer communication mechanism. h represents hybrid.

      The default value is unspecified.

      NetBIOS server IP

      Indicates the IP address of a NetBIOS server. You can configure a maximum of eight NetBIOS server addresses.

    3. Set parameters.
    4. Click OK.
  • Modify a global address pool.
    1. Choose Service Management > DHCP > Configure Global Address Pool in the navigation tree to display the Configure Global Address Pool page.
    2. Click to display the Modify Global Address Pool page, as shown in Figure 2-134.

      Figure 2-134  Modify Global Address Pool

      NOTE:
      • Table 2-75 describes the parameters on the Modify Global Address Pool page.
      • Address pool name, Subnet address and Subnet mask cannot be modified.

    3. Set parameters.
    4. Click OK.
  • Delete a global address pool.
    1. Choose Service Management > DHCP > Configure Global Address Pool in the navigation tree to display the Configure Global Address Pool page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
    3. Click OK.

Configuring a VLANIF Interface Address Pool

If a DHCP server based on a VLANIF interface address pool is configured, all the users going online through this interface obtain IP addresses from the VLANIF interface address pool.

Context

Enable the DHCP service before configuring an address pool on a VLANIF interface.

Procedure

  • Query information about a VLANIF interface address pool.
    1. Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to display the Configure VLANIF Interface Address Pool page.
    2. Set the search criteria.
    3. Click Query to display all the matching records, as shown in Figure 2-135.

      Figure 2-135  Querying information about a VLANIF interface address pool

      Table 2-76 describes the parameters for querying information about a VLANIF interface address pool.

      Table 2-76  Parameters for querying information about a VLANIF interface address pool

      Parameter

      Description

      VLANIF name

      Indicates the name of a VLANIF interface.
      NOTE:

      The VLANIF interface must be configured to work in the interface address pool or global address pool mode; otherwise, there is no matching record.

      Total:1

      Indicates the number of matching records. The following information is displayed:
      • VLANIF Name

      • Address Pool type

      • Interface IP

      • Mask

      • Gateway IP

      • Lease Period

      • Forbidden IP

      For detailed meaning of each item, see Table 2-77.

  • Create a VLANIF address pool.
    1. Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to display the Configure VLANIF Interface Address Pool page.
    2. Click Create to display the Create a VLANIF Address Pool page, as shown in Figure 2-136.

      Figure 2-136  Create a VLANIF Address Pool

      Table 2-77 describes the parameters on the Create a VLANIF Address Pool page.

      Table 2-77  Parameters on the Create a VLANIF Address Pool page

      Parameter

      Description

      Basic Settings

      VLANIF name

      Indicates the name of a VLNAIF interface. Select a name from the drop-down list box.
      NOTE:

      The VLANIF interfaces in the drop-down list box are created in the Interface Management module.

      Address pool type

      Indicates the address pool type of a VLNAIF interface.
      • global: The interface works in the global address pool mode.
      • interface: The interface works in the interface address pool mode.

      Interface IP

      Indicates the IP address of the selected VLANIF interface. The value is displayed automatically after you select a VLANIF interface.

      Mask

      Indicates the subnet mask of the selected VLANIF interface. The value is displayed automatically after you select a VLANIF interface.

      Lease Period

      Indicates the lease of dynamic IP addresses. The default lease is one day. The value range is as follows:
      • day: an integer ranging from 0 to 999
      • hour: an integer ranging from 0 to 23
      • minute: an integer ranging from 0 to 59
      NOTE:

      This parameter can be configured only when the address pool type is interface. Different address pools can have different IP address leases, but addresses in one pool have the same lease.

      Forbidden IP

      Indicates the IP address that will not be dynamically allocated to users.

      Some IP addresses are allocated to applications such as the DNS server and cannot be allocated to users. You can specify these IP addresses as forbidden IP addresses.

      NOTE:
      This parameter can be configured only when the address pool type is interface.

      Configure DNS for the Address Pool

      Client domain name

      Indicates the domain name allocated by the DHCP server to the client.

      NOTE:
      This parameter can be configured only when the address pool type is interface.

      DNS server IP

      Indicates the IP address of a DNS server. You can configure a maximum of eight DNS server addresses.

      NOTE:
      This parameter can be configured only when the address pool type is interface.

      Configure NetBIOS for the Address Pool

      NetBIOS node type

      Indicates the type of a NetBIOS node. The options are:
      • unspecified

        The NetBIOS node type is not specified.

      • b-node

        The NetBIOS node obtains the mapping between the host name and IP address in broadcast mode. b represents broadcast.

      • p-node

        The NetBIOS node obtains the mapping between the host name and IP address by communicating with the NetBIOS server. p represents peer to peer.

      • m-node

        The NetBIOS node is a p-type node with some broadcast features. m represents mixed.

      • h-node

        The NetBIOS node is a b-type node using the peer-to-peer communication mechanism. h represents hybrid.

      The default value is unspecified.

      NOTE:
      This parameter can be configured only when the address pool type is interface.

      NetBIOS server IP

      Indicates the IP address of a NetBIOS server. You can configure a maximum of eight NetBIOS server addresses.

      NOTE:
      This parameter can be configured only when the address pool type is interface.

    3. Set the parameters.
    4. Click OK.
  • Modify VLANIF Address Pool
    1. Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to display the Configure VLANIF Interface Address Pool page.
    2. Click to display the Modify VLANIF Address Pool page, as shown in Figure 2-137.

      Figure 2-137  Modify VLANIF Address Pool

      NOTE:
      • Table 2-77 describes the parameters on the Modify VLANIF Address Pool page.
      • Address pool name, Interface IP and Mask cannot be modified.

    3. Set the parameters.
    4. Click OK.
  • Delete a VLANIF Address Pool
    1. Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to display the Configure VLANIF Interface Address Pool page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
    3. Click OK.

Configure DHCP Relay

By using a DHCP relay agent, the DHCP clients on a local area network (LAN) can communicate with the DHCP servers on other network segments, and obtain IP addresses from them. The DHCP clients on different network segments can also use one DHCP server. This reduces costs and achieves centralized device management.

Context

  • Before configuring the DHCP relay function, you must configure DHCP servers.
  • DHCP relay is introduced to transmit packets between DHCP clients and a DHCP server that are on different network segments. A DHCP relay agent can transparently transmit DHCP broadcast packets between DHCP clients and a DHCP server that are on different network segments.
  • In applications, the DHCP relay function is generally implemented on a VLANIF interface of a switch. This interface needs to be configured with an IP relay address to specify the DHCP server. An IP relay address refers to the IP address of the DHCP server specified on the DHCP relay agent. After the DHCP relay function is enabled on an interface, the DHCP broadcast packets received on the interface are sent to the specified server.
  • If DHCP server is configured on a network, the DHCP relay function can be enabled on a switch. In this manner, the DHCP Request packet from clients can be transmitted to the DHCP server on another network through the DHCP relay agent. To enable clients to obtain IP addresses, the DHCP server must use a global address pool. That is, the interface of the server connected to the DHCP relay agent cannot be configured with any address pool.

Procedure

  • Create a DHCP server group.
    1. Choose Service Management > DHCP > Configure DHCP Relay in the navigation tree to open the Configure DHCP Relay page.
    2. Click Create to open the Create a DHCP Server Group page, as shown in Figure 2-138.

      Figure 2-138  Create a DHCP Server Group

    3. Set parameters.
    4. Click OK.
  • Delete a DHCP server group.
    1. Choose Service Management > DHCP > Configure DHCP Relay in the navigation tree to open the Configure DHCP Relay page.
    2. Select a record that you want to delete and click Delete. The system asks you whether to delete the record.
    3. Click OK.
  • Query DHCP relay information.
    1. Choose Service Management > DHCP > Configure DHCP Relay in the navigation tree to open the Configure DHCP Relay page.
    2. Set the search criteria.
    3. Click Query to display all matching records.
  • Configure DHCP relay.
    1. Choose Service Management > DHCP > Configure DHCP Relay in the navigation tree to open the Configure DHCP Relay page.
    2. Select a record and click Configure to open the Configure DHCP Relay page, as shown in Figure 2-139.

      Figure 2-139  Configure DHCP Relay

      Table 2-78 describes the parameters on the Configure DHCP Relay page.

      Table 2-78  Configure DHCP Relay

      Parameter

      Description

      VLANIF name

      Indicates the name of a VLANIF interface. The VLANIF interface name cannot be modified. You can only select one interface each time.

      DHCP server group name

      Indicates the name of a DHCP server group. Select a configured DHCP server from the drop-down list box.

    3. Set parameters.
    4. Click OK.
  • Delete the DHCP relay configuration.
    1. Choose Service Management > DHCP > Configure DHCP Relay in the navigation tree to open the Configure DHCP Relay page.
    2. Select a record and click Clear Configuration. The system asks you whether to delete the record.
    3. Click OK.
Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000114003

Views: 31566

Downloads: 977

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