Host <address> [<subnet mask> or <prefix length, Host <address> [ <subnet mask> or < prefix length – ADTRAN 1000R Series User Manual

Page 1336

Advertising
background image

Command Reference Guide

DHCP Pool Command Set

61200510L1-35E

Copyright © 2005 ADTRAN

1336

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.

Applicable Platforms

This command applies to the NetVanta 300, 1000, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.

Command History

Release 2.1

Command was introduced.

Usage Examples

The following examples show two different ways to specify a client with IP address 12.200.5.99 and a
21-bit subnet mask:

(config)#ip dhcp-server pool MyPool

(config-dhcp)#host 12.200.5.99 255.255.248.0

or

(config)#ip dhcp-server pool MyPool

(config-dhcp)#host 12.200.5.99/21

Advertising