set protocols dhcp server pool lease-time


The set protocols dhcp server pool lease-time command configures the lease time for IP addresses in an address pool.


Command Syntax

set protocols dhcp server pool <pool-name> lease-time <lease-time>


Parameter

Parameter

Description

pool <pool-name>

Specifies an address pool name. The value is a string of case-sensitive characters, spaces are not supported.

lease-time <lease-time>

Specifies the lease time for IP addresses. The value is an integer that ranges from 2 to 4294967295, in minute.

The default value is 60 minutes.


Example

  • Configure the lease for IP addresses in an address pool to two days.
admin@Xorplus# set protocols dhcp server pool pool2 lease-time 2880
admin@Xorplus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.