CLI Reference Guide-R04

Table Of Contents
Chapter 30
| DHCP Commands
DHCP Server
– 876 –
ip dhcp
excluded-address
This command specifies IP addresses that the DHCP server should not assign to
DHCP clients. Use the no form to remove the excluded IP addresses.
Syntax
[no] ip dhcp excluded-address low-address [high-address]
low-address - An excluded IP address, or the first IP address in an excluded
address range.
high-address - The last IP address in an excluded address range.
Default Setting
All IP pool addresses may be assigned.
Command Mode
Global Configuration
Example
Console(config)#ip dhcp excluded-address 10.1.0.19
Console(config)#
ip dhcp pool This command configures a DHCP address pool and enter DHCP Pool Configuration
mode. Use the no form to remove the address pool.
Syntax
[no] ip dhcp pool name
lease Sets the duration an IP address is assigned to a DHCP client DC
netbios-name-server Configures NetBIOS Windows Internet Naming Service
(WINS) name servers available to Microsoft DHCP clients
DC
netbios-node-type Configures NetBIOS node type for Microsoft DHCP clients DC
network Configures the subnet number and mask for a DHCP
address pool
DC
next-server Configures the next server in the boot process of a DHCP
client
DC
clear ip dhcp binding Deletes an automatic address binding from the DHCP
server database
PE
show ip dhcp Displays brief list of DHCP address pools PE
show ip dhcp binding Displays address bindings on the DHCP server PE
show ip dhcp pool Displays configuration settings for DHCP address pools PE
* These commands are used for manually binding an address to a client.
Table 172: DHCP Server Commands (Continued)
Command Function Mode