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

Fat AP and Cloud AP V200R010C00 Command Reference

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 client renew

dhcp client renew

Function

The dhcp client renew command renews the lease of the IP address obtained by a DHCP client.

Format

dhcp client renew

Parameters

None

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

This command applies to the following scenarios:

  • Manually renewing the lease

    If a DHCP server assigns the original IP address to the client, only the lease is renewed. If another DHCP server assigns an IP address to the client, the client obtains a new IP address and related network parameters.

  • Updating the IP address

    When the DHCP client is migrated from a network segment to another network segment and the original IP address lease does not expire, the client needs to update the IP address.

After the dhcp client renew command is run, the DHCP client sends a lease renewal request to the DHCP server.

  • If the DHCP client receives a positive reply from the server, the client updates the parameters such as the lease duration.
  • If the DHCP client receives a negative reply from the server, the client releases the applied parameters and re-applies to the DHCP server for an IP address and other network parameters.
  • If no reply is received, the client does not perform any operation.

The dhcp client renew command can be normally run only after the DHCP client function is enabled on the interface and an IP address is obtained.

Example

# Renew the IP address lease on VLANIF100.

<Huawei> system-view  
[Huawei] interface vlanif 100 
[Huawei-Vlanif100] dhcp client renew
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207477

Downloads: 122

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