If the next-server command is not used to configure a boot server list, the DHCP Server uses
Default
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.
option code {ascii string | hex string1 [ string2 ... string8 ] | ip address1 [ address2 ... address8 ]}
Syntax
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.
service dhcp
Syntax
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.
show ip dhcp binding [ address ]
Syntax
Mode
Privileged Exec and User Exec
IP address—The IP address of the client.
Hardware Address—The MAC Address or the client identifier.
DHCP Server Commands | 239