Quick Reference Guide

DHCP Server Commands | 239
Default
If the next-server command is not used to configure a boot server list, the DHCP Server uses
inbound interface helper addresses as boot servers.
Mode
DHCP Pool Config
option
The command configures DHCP Server options. Code specifies the DHCP option code. Ascii string
specifies an NVT ASCII character string. ASCII character strings that contain white space must be
delimited by quotation marks. Hex string specifies hexadecimal data. in hexadecimal character strings
is two hexadecimal digits—each byte can be separated by a period, colon, or white space.
Example: a3:4f:22:0c / a3 4f 22 0c / a34f.220c.9fed The address specifies an IP
address.
The no version of this command removes the options.
Syntax
option code {ascii string | hex string1 [string2...string8] | ip address1 [address2...address8]}
no option code
Default
none
Mode
DHCP Pool Config
service dhcp
This command enables the DHCP server and relay agent features on the router.
The no version of this command disables the DHCP server and relay agent features.
Syntax
service dhcp
Default
disabled
Mode
Global Config
show ip dhcp binding
This command displays address bindings for the specific IP address on the DHCP server. If no IP
address is specified, the bindings corresponding to all the addresses are displayed.
Syntax
show ip dhcp binding [address]
Mode
Privileged Exec and User Exec
IP address—The IP address of the client.
Hardware Address—The MAC Address or the client identifier.