Command Reference Guide
host <ipv4 address>
Use the host command to specify the Internet Protocol version 4 (IPv4) address and subnet mask for a
manual binding to a Dynamic Host Configuration Protocol version 4 (DHCPv4) client. Use the no form of
this command to remove the configured client address. Variations of this command include:
host <ipv4 address>
host <ipv4 address> <subnet mask>
Syntax Description
<ipv4 address>
<subnet mask>
Default Values
By default, there are no specified host addresses.
Command History
Release 2.1
Usage Examples
The following examples show two different ways to specify a client with IPv4 address 12.200.5.99 and a
21-bit subnet mask:
(config)#ip dhcp pool MyPool
(config-dhcp)#host 12.200.5.99 255.255.248.0
or
(config)#ip dhcp pool MyPool
(config-dhcp)#host 12.200.5.99 /21
60000CRG0-35E
Specifies the IPv4 address for a manual binding to a DHCPv4 client. IPv4
addresses should be expressed in dotted decimal notation (for example,
10.10.10.1).
Optional. Specifies the subnet mask that corresponds to a range of IPv4
addresses (network) or a specific host. Subnet masks can be expressed in
dotted decimal notation (for example, 255.255.255.0) or as a prefix length
(for example, /24).
If the subnet mask is left unspecified, the DHCPv4 server examines its
address pools to obtain an appropriate mask. If no valid mask is found in
the address pools, the DHCPv4 server uses the Class A, B, or C natural
mask.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
DHCPv4 Pool Command Set
3054
Need help?
Do you have a question about the AOS Version R10.1.0 and is the answer not in the manual?
Questions and answers