CLI Reference DHCP Configuration Commands
DHCP Configuration Commands
address range
Use this command to specify the network segment range of the addresses that can be allocated by CLASS
associated with DHCP address pool.The no form of this command can be used to remove the network segment
range.
address range low-ip-address high-ip-address
no address range
Start address in the network segment
range.
End address in the network segment range.
By default, the associated CLASS is not configured with the network
segment range. It is defaulted to the address pool range.
Address pool CLASS configuration mode.
Each CLASS corresponds to one network range which must be from
low address to high address, so as to allow the duplication of network
segment range between multiple CLASSs. If the CLASS associated
with the address pool is specified without configuring the
corresponding network segment range, the default network segment
range of this CLASS is same as the range of the address pool where
this CLASS is.
The example below configures the network segment of class1 associated
with address pool mypool0 ranging from 172.16.1.1 to 172.16.1.8.
Ruijie(config)# ip dhcp pool mypool0
Ruijie(dhcp-config)# class class1
Ruijie (config-dhcp-pool-class)# address range 172.16.1.1
172.16.1.8
Define the name of the DHCP address
pool and enter the DHCP address pool
configuration mode.
Configure the CLASS associated with the
DHCP address pool and enter the address
pool CLASS configuration mode.