CLI Reference Guide-R04

Table Of Contents
Chapter 30
| DHCP Commands
DHCP Server
– 883 –
days - Specifies the duration of the lease in numbers of days. (Range: 0-364)
hours - Specifies the number of hours in the lease. A days value must be
supplied before you can configure hours. (Range: 0-23)
minutes - Specifies the number of minutes in the lease. A days and hours
value must be supplied before you can configure minutes. (Range: 0-59)
infinite - Specifies that the lease time is unlimited. This option is normally
used for addresses manually bound to a BOOTP client via the host
command.
Default Setting
One day
Command Modes
DHCP Pool Configuration
Example
The following example leases an address to clients using this pool for 7 days.
Console(config-dhcp)#lease 7
Console(config-dhcp)#
netbios-name-server This command configures NetBIOS Windows Internet Naming Service (WINS) name
servers that are available to Microsoft DHCP clients. Use the no form to remove the
NetBIOS name server list.
Syntax
netbios-name-server address1 [address2]
no netbios-name-server
address1 - Specifies IP address of primary NetBIOS WINS name server.
address2 - Specifies IP address of alternate NetBIOS WINS name server.
Default Setting
None
Command Mode
DHCP Pool Configuration
Usage Guidelines
Servers are listed in order of preference (starting with address1 as the most
preferred server).