DHCP Server Commands
78-21075-01 Command Line Interface Reference Guide
•
ip-address1
ip-address2
[
Command Mode
DHCP Pool Host Configuration mode
DHCP Pool Network Configuration mode
User Guidelines
DHCP provides a framework for passing configuration information to hosts on a
TCP/IP network. Configuration parameters and other control information are
carried in tagged data items that are stored in the DHCP message options field.
The data items themselves are also called options. The current set of DHCP
options are documented in RFC 2131,
For options in hexadecimal format, the string parameter should include all the
bytes in the option value, including leading zeros.
Examples
Example 1 - The following example configures DHCP option 19, which specifies
whether the client should configure its IP layer for packet forwarding. A value of 0
means disable Ip forwarding. A value of 1 means enable IP forwarding. IP
forwarding is enabled in the following example.
Console(config-dhcp)#
Example 2 - The following example configures DHCP option 2, which specifies the
offset of the client's subnet in seconds from Coordinated Universal Time (UTC). A
value of 0xE10 in the following example indicates a location 1 hour east of the
meridian.
Console(config-dhcp)#
The following example configures DHCP option 72, which specifies the World
Wide Web servers for DHCP clients. World Wide Web servers 172.16.3.252 and
172.16.3.253 are configured in the following example.
Console(config-dhcp)#
...]—Specifies a list of one or more IP addresses.
Dynamic Host Configuration Protocol
option 19 hex
01
option 2 hex
00000E10
72 172.16.3.252 172.16.3.253
option ip-list
53
.
887