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


To have a better experience, please upgrade your IE browser.

Knowledge Base

DHCP address lease configuration on S series switch

Publication Date:  2016-11-24  |   Views:  1860  |   Downloads:  0  |   Document ID:  EKB1000384160


Issue Description

DHCP address lease configuration on S series switch.


For S series switches (except S1700 switches), IP addresses that are dynamically allocated by a DHCP server have leases. The lease is configurable and defaults to 1 day. IP address leases can be specified for global and interface address pools.

For example, to set the IP address lease of the address pool pl to 10 days, perform the following configuration:

- Global address pool
[HUAWEI] ip pool p1
[HUAWEI-ip-pool-p1] lease day 10

- Interface address pool
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] dhcp select interface
[HUAWEI-Vlanif10] dhcp server lease day 10

Different address pools on a DHCP server can be configured with different IP address leases, but IP addresses in the same address pool must have the same lease.