Use this command to specify an IP address and network mask for manual DHCP binding.
address | Specifies the IP address of the DHCP client. |
mask | prefix-length | (Optional) Specifies a network mask or prefix for the IP address. |
If not specified, DHCP server will examine its defined IP address pools for a mask or prefix-length.
DHCP address pool configuration command mode.
The “no” form of this command removes the client IP address.
This example shows how to set 15.12.1.99 255.255.248.0 as the IP address and subnet mask of a client in the “localpool” address pool:
System(rw-config)->ip dhcp pool localpool System(rw-config-dhcp-pool)->hardware-address 0e-fd-04-20-00-01 System(rw-config-dhcp-host)->host 15.12.1.99 255.255.248.0