ip dhcp server default-lease-time

Use this command to set the default lease time for the DHCPClosed Dynamic Host Configuration Protocol server to be shared with the DHCP clientClosed 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 default lease time configuration.

Command Syntax

Copy
ip dhcp server default-lease-time SECONDS
no ip dhcp server default-lease-time

Parameters

SECONDS

Default lease time in seconds. Default is 86400 seconds.

Default

Default value is 86400 seconds

Command Mode

Configure mode and VRFClosed Virtual Routing and Forwarding mode

Applicability

This command was introduced in OcNOS version 6.1.0.

Examples

Copy
#configure terminal
(config)#ip dhcp server default-lease-time 500
 
#configure terminal
(config)#ip vrf vrf1 
(config-vrf)#ip dhcp server default-lease-time 400