Command Reference DHCP Commands
4 DHCP Commands
4.1 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. Use the no form of this command to restore the default
setting.
address range low-ip-address high-ip-address
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. The default is
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 CLASSes. 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 following example 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
Defines the name of the DHCP address pool and enters the DHCP
address pool configuration mode.
Configures the CLASS associated with the DHCP address pool and
enters the address pool CLASS configuration mode.