DHCP S
ERVER
35-7
service dhcp
This command enables the DHCP server on this switch. Use the no form
to disable the DHCP server.
Syntax
[no] service dhcp
Default Setting
Enabled
Command Mode
Global Configuration
Command Usage
If the DHCP server is running, you must restart it to implement any
configuration changes.
Example
host
*
Specifies the IP address and network mask
to manually bind to a DHCP client
DC 35-16
client-identifier
*
Specifies a client identifier for a DHCP
client
DC 35-17
hardware-address
*
Specifies the hardware address of a DHCP
client
DC 35-18
clear ip dhcp binding Deletes an automatic address binding from
the DHCP server database
PE 35-19
show ip dhcp
binding
Displays address bindings on the DHCP
server
PE,
NE
35-20
* These commands are used for manually binding an address to a client.
Console(config)#service dhcp
Console(config)#
Table 35-4 DHCP Server Commands (Continued)
Command Function Mode Page