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 - IP Service

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
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).
Resetting a DHCP Address Pool

Resetting a DHCP Address Pool

Context

To force a DHCP server to re-allocate IP addresses to clients or to set IP addresses in an address pool to idle (idle IP addresses will be preferentially allocated), reset an address pool.

Procedure

  • Run the following commands to reset address pools on the device.

    • Interface address pool:

      reset ip pool interface interface-name { start-ip-address [ end-ip-address ] | all | conflict | expired | used }

    • Global address pool:

      reset ip pool name ip-pool-name { start-ip-address [ end-ip-address ] | all | conflict | expired | used }

  • Configure a DHCP relay agent to request a DHCP server to release IP addresses of clients.

    After a DHCP relay agent is configured to request the DHCP server to release IP addresses of clients, it sends DHCP Release messages to the specified DHCP server. After receiving the message, the DHCP server restores specified IP addresses to the idle status. Released IP addresses can then be allocated to other clients. Run the following commands to configure the DHCP relay agent to request the DHCP server to release IP addresses of clients:

    1. Run the system-view command to enter the system view.

    2. Run interface interface-type interface-number[.subinterface-number ]

      The interface view or sub-interface view is displayed.

      NOTE:

      Only the S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI support sub-interfaces.

    3. (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.

    4. Run the dhcp relay release client-ip-address mac-address [ vpn-instance vpn-instance-name ] [ server-ip-address ] command to request the DHCP server to release IP addresses allocated to DHCP clients.

      NOTE:

      The parameter vpn-instance vpn-instance-name cannot be configured in the interface view.

      Only the S1720GF, S1720GW, S1720GW-E, S1720GWR, S1720GWR-E, S1720GFR-P, S1720X, S1720X-E, S2720EI, S5720EI, S5720HI, S5720I-SI, S5720LI, S5720S-LI, S5720S-SI, S5720SI, S5730HI, S5730S-EI, S5730SI, S6720EI, S6720HI, S6720LI, S6720S-EI, S6720S-LI, S6720S-SI, and S6720SI support the vpn-instance vpn-instance-name parameter.

      • When you run the preceding command in the system view:
        • If no DHCP server is specified, the DHCP relay agent sends DHCP Release messages to all DHCP servers connected to DHCP relay-enabled interfaces.
        • If a DHCP server is specified, the DHCP relay agent sends DHCP Release messages to only the specified DHCP server.
      • When you run the preceding command in the interface view:
        • If no DHCP server is specified, the DHCP relay agent sends DHCP Release messages to the DHCP server connected to this interface.
        • If a DHCP server is specified, the DHCP relay agent sends DHCP Release messages to only the specified DHCP server.

Translation
Download
Updated: 2018-12-24

Document ID: EDOC1100038342

Views: 90085

Downloads: 291

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