CLI Reference DHCP Configuration Commands
No DHCP address pool is defined by default.
Global configuration mode.
Execute the command to enter the DHCP address pool configuration
mode:
Ruijie(dhcp-config)#
In this configuration mode, configure the IP address range, the DNS
server and the default gateway.
The configuration example below defines a DHCP address pool with the
name mypool0.
ip dhcp pool mypool0
Define the IP address and network
mask, which is used to configure the
DHCP manual binding.
Define the IP addresses that the DHCP
server cannot assign to the clients.
Define the network number and
network mask of the DHCP address
pool.
ip dhcp use class
Use this command to enable the CLASS to allocate addresses in global configuration mode.The no form of this
command can be used to disable the CLASS.
ip dhcp use class
no ip dhcp use class
Global configuration mode.