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

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DNS, IP performance optimization, IPv6, DHCPv6, and IPv6 DNS.
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).
(Optional) Requesting the DHCP Server to Release the Client IP Address

(Optional) Requesting the DHCP Server to Release the Client IP Address

This section describes how to configure the DHCP relay agent to request the Dynamic Host Configuration Protocol (DHCP) server to release a DHCP client IP address.

Context

If a DHCP client does not need an IP address or you require a user to log out, run the dhcp relay release command on the DHCP relay agent to send a release packet to the DHCP server. After the DHCP server receives this packet, it releases the specified IP address.

To configure the DHCP relay agent to request a specified DHCP server or all DHCP servers to release a DHCP client IP address, perform the following operations on the DHCP relay agent.

Procedure

  • In the system view, configure the DHCP relay agent to request all DHCP servers to release a DHCP client IP address.
    1. Run system-view

      The system view is displayed.

    2. Run dhcp relay release client-ip-address mac-address

      The DHCP relay agent is configured to request all DHCP servers to release a specified DHCP client IP address.

  • In the system view, configure the DHCP relay agent to request a specified DHCP server to release a DHCP client IP address.
    1. Run system-view

      The system view is displayed.

    2. Run dhcp relay release client-ip-address mac-address [ server-ip-address ]

      The DHCP relay agent is configured to request a specified DHCP server to release a specified DHCP client IP address.

  • In the system view, configure the DHCP relay agent to request a specified DHCP server to release a VPN IP address.
    1. Run system-view

      The system view is displayed.

    2. Run dhcp relay release client-ip-address mac-address vpn-instance vpn-instance-name server-ip-address

      The DHCP relay agent is configured to request a specified DHCP server to release a specified DHCP client IP address.

  • In the interface view, configure the DHCP relay agent to request a specified DHCP server to release a DHCP client IP address.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

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

      The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

      NOTE:

      If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

    4. Run dhcp relay releaseclient-ip-address mac-address [ server-ip-address ]

      The DHCP relay agent is configured to request a specified DHCP server to release a specified DHCP client IP address.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166635

Views: 130514

Downloads: 284

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