662
DHCP Server Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\DCHP_Server.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
Syntax
lease
{
days
[{
hours
} [
minutes
]
] | infinite}
no lease
Parameters
•
days
—Specifies the number of days in the lease.
•
hours
—Specifies the number of hours in the lease. A
days
value must be
supplied before configuring an
hours
value.
•
minutes
—Specifies the number of minutes in the lease. A
days
value and
an
hours
value must be supplied before configuring a
minutes
value.
•
infinite
—Specifies that the duration of the lease is unlimited.
Default Configuration
The default lease duration is 1 day.
Command Mode
DHCP Pool Network Configuration mode
Examples
The following example shows a 1-day lease.
Console(config-dhcp)#
lease
1
The following example shows a one-hour lease.
Console(config-dhcp)#
lease
0 1
The following example shows a one-minute lease.
Console(config-dhcp)#
lease
0 0 1
The following example shows an infinite (unlimited) lease.
Console(config-dhcp)#
lease infinite