SROS Command Line Interface Reference Guide
DHCP Pool Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1416
host
<address>
[
<subnet mask>
or <
prefix length>
]
Use the
host
command to specify the IP address and subnet mask for a manual binding to a Dynamic Host
Configuration Protocol (DHCP) client. Use the
no
form of this command to remove the configured client
address.
Syntax Description
<address>
Specifies the IP address (in dotted decimal notation) for a manual binding to a
DHCP client.
<subnet mask>
Optional. Specifies the network mask (subnet) for a manual binding to a DHCP
client.
If the subnet mask is left unspecified, the DHCP server examines its address
pools to obtain an appropriate mask. If no valid mask is found in the address
pools, the DHCP server uses the Class A, B, or C natural mask.
<prefix length>
Optional. Alternately, the prefix length may be used to specify the number of bits
that comprise the network address. The prefix length must be preceded by a
forward slash ( / ). For example, to specify an IP address with a subnet mask of
255.255.0.0, enter
/16
after the address.
Default Values
By default, there are no specified host addresses.
Usage Examples
The following examples show two different ways to specify a client with IP address
10.200.5.99
and a
21-bit subnet mask:
ProCurve(config)#
ip dhcp-server pool MyPool
ProCurve(config-dhcp)#
host 10.200.5.99 255.255.248.0
or
ProCurve(config)#
ip dhcp-server pool MyPool
ProCurve(config-dhcp)#
host 10.200.5.99/21