DHCP C
OMMANDS
35-6
Example
Related Commands
ip dhcp restart relay (35-4)
DHCP Server
Console(config)#interface vlan 1
Console(config-if)#ip dhcp relay server 10.1.0.99
Console(config-if)#
Table 35-4 DHCP Server Commands
Command Function Mode Page
service dhcp Enables the DHCP server feature on this
switch
GC 35-7
ip dhcp
excluded-address
Specifies IP addresses that a DHCP server
should not assign to DHCP clients
GC 35-8
ip dhcp pool Configures a DHCP address pool on a
DHCP Server
GC 35-8
network Configures the subnet number and mask
for a DHCP address pool
DC 35-9
default-router Specifies the default router list for a DHCP
client
DC 35-10
domain-name Specifies the domain name for a DHCP
client
DC 35-11
dns-server Specifies the Domain Name Server (DNS)
servers available to a DHCP client
DC 35-11
next-server Configures the next server in the boot
process of a DHCP client
DC 35-12
bootfile Specifies a default boot image for a DHCP
client
DC 35-13
netbios-name-server Configures NetBIOS Windows Internet
Naming Service (WINS) name servers
available to Microsoft DHCP clients
DC 35-13
netbios-node-type Configures NetBIOS node type for
Microsoft DHCP clients
DC 35-14
lease Sets the duration an IP address is assigned
to a DHCP client
DC 35-15