ip dhcp server max-lease-time
Use this command to set the maximum lease time for the DHCP Dynamic Host Configuration Protocol server to be shared with the DHCP client
A DHCP client is a hardware device or software that uses DHCP to get the network configuration information from a DHCP Server.
VRF: VRF creates a logically isolated routing table within a single physical network device. Each VRF instance works as an independent routing instance that enables separate network traffic, maintains different routing tables, and provides network isolation..
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 and VRF Virtual Routing and Forwarding 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