beautypg.com

Host, Syntax description, Defaults – Cisco 32369 User Manual

Page 24: Command modes, Usage guidelines, Examples, Related commands

background image

Command Reference

24

Release 12.0(1)T

host

To specify the IP address and network mask for a manual binding to a Dynamic Host Configuration
Protocol (DHCP) client, use the host DHCP pool configuration command. Use the no form of this
command to remove the client’s IP address.

host address [mask |

/

prefix-length]

no host

Syntax Description

Defaults

None

Command Modes

DHCP pool configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 12.0(1)T.

If the mask and prefix length are unspecified, DHCP examines its address pools. If no mask is found
in the pool database, the Class A, B, or C natural mask is used. This command is valid for manual
bindings only.

There is no limit on the number of manual bindings but you can only configure one manual binding
per host pool.

Examples

The following example specifies 10.12.1.99 as the client’s IP address and 255.255.248.0 as the
subnet mask:

host 10.12.1.99 255.255.248.0

Related Commands

client-identifier
hardware-address
ip dhcp pool
network (DHCP)

address

Specifies the IP address of the client.

mask

(Optional) Specifies the network mask of the client.

/

prefix-length

(Optional) Specifies the number of bits that comprise the address
prefix. The prefix is an alternative way of specifying the network mask
of the client. The prefix length must be preceded by a forward slash (/).