CLI Reference DHCP Configuration Commands
network mask for the DHCP client.
host ip-address [ netmask ]
no host
Define the IP address of DHCP client.
Define the network mask of DHCP client.
No IP address or network mask of the host is defined.
DHCP address pool configuration mode.
If the network mask is not defined definitely, the DHCP server will use
the natural network mask of this IP address: 255.0.0.0 for class A IP
address, 255.255.0 for class B IP address, and 255.255.255.0 for
class C IP address.
This command can be used only when the DHCP is defined by
manual binding.
The example below sets the client IP address as 192.168.12.91, and the
network mask as 255.255.255.240.
host 192.168.12.91 255.255.255.240
Define the unique ID of the DHCP client
(indicated in hex, separated by dot).
Define the hardware address of DHCP client.
Define the name of the DHCP address pool
and enter the DHCP address pool
configuration mode.
Define the default router of the DHCP clinet.
ip address dhcp
Use this command to make the Ethernet interface or the PPP, HDLC and FR encapsulated interface obtain the IP
address information by the DHCP in interface configuration mode. The no form of this command can be used to
cancel this configuration.
ip address dhcp
no ip address dhcp
The interface cannot obtain the ID address by the DHCP by default.