Common Operation (DHCP):Modifying the Lease

Latest reply: Mar 21, 2016 13:54:27 1205 2 0 0

You can modify the lease for the device functioning as a DHCP server or client. When a DHCP server assigns leases, it compares the lease expected by a DHCP client with the leases in the DHCP server address pool and assigns a shorter lease to the DHCP client.

By default, the lease is one day for the device functioning as a DHCP server and is not configured for the device functioning as a DHCP client.

# On the device functioning as a DHCP server, modify the lease of the IP addresses in the global address pool pool1 or interface address pool VLANIF100 to 10 days.

  • Configuration in the global address pool:

    <HUAWEI> system-view
    [HUAWEI] ip pool pool1
    [HUAWEI-ip-pool-pool1] lease day 10
  • Configuration in the interface address pool:

    <HUAWEI> system-view
    [HUAWEI] interface vlanif 100
    [HUAWEI-Vlanif100] dhcp server lease day 10

# Modify the lease to 10 days (864000 seconds) on the device functioning as a DHCP client.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] dhcp client expected-lease 864000
  • x
  • convention:

Created Mar 21, 2016 11:57:16 Helpful(0) Helpful(0)

Thank you for sharing.
  • x
  • convention:

Created Mar 21, 2016 13:54:27 Helpful(0) Helpful(0)

Thank you for sharing.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top