OcNOS-SP : System Management Guide : System Management Command Reference : DHCP Server Commands : ip dhcp server max-lease-time
ip dhcp server max-lease-time
Use this command to set the maximum lease time for the DHCP server to be shared with the DHCP client.
Use the no form of this command to delete the IPv4 maximum lease time configuration.
Command Syntax
ip dhcp server max-lease-time SECONDS
no ip dhcp server max-lease-time
Parameters
SECONDS
Maximum lease time in seconds. Default is 86400 seconds.
Default
Default value is 86400 seconds
Command Mode
Configure mode
VRF mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Examples
#configure terminal
(config)#ip dhcp server max-lease-time 500
 
#configure terminal
(config)#ip vrf vrf1
(config-vrf)#ip dhcp server max-lease-time 400
Last modified date: 10/19/2023