DHCP address lease configuration on S series switch

Publication Date:  2016-11-24 Views:  435 Downloads:  0
Issue Description
DHCP address lease configuration on S series switch.
Solution
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.

END