Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
DHCP Service Configuration Mode Commands
lease-time ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
3285
lease-time
Configures the local DHCP Server lease time in seconds.
Product
ASN-GW
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > DHCP Service Configuration
configure > context context_name > dhcp-service service_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-dhcp-service)#
Syntax
lease-time time
default lease-time
default
Returns the command to its default setting of 600.
time
Specifies the IP address lease time from the local DHCP server (in seconds) as an integer from 600 through
4294967295. Default: 600
4294967295. Default: 600
Usage
Use this command to configure the lease time of the IP address from the local DHCP server
Example
The following command sets the lease time of the IP address from the local DHCP server to 20 minutes
(1200 seconds):
(1200 seconds):
lease-time 1200