Cisco Systems 32369 host address mask /prefix-length, no host, Syntax Description, Defaults

Models: 32369

1 52
Download 52 pages 12.05 Kb
Page 24
Image 24
host

Command Reference

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

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 (/).

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)

24Release 12.0(1)T

Page 24
Image 24
Cisco Systems 32369 manual host address mask /prefix-length, no host, Specifies the IP address of the client, Defaults