Command Manual – Network Protocol 
Quidway S8500 Series Routing Switches  Chapter 4  DHCP Configuration Commands
 
Huawei Technologies Proprietary 
4-17 
Example 
# Display the ranges of available (unassigned) IP addresses in DHCP address pools. 
<Quidway> display dhcp server free-ip 
IP Range from 1.0.0.0              to  2.2.2.1 
IP Range from 2.2.2.3              to  2.255.255.255 
IP Range from 4.0.0.0              to  4.255.255.255 
IP Range from 5.5.5.0              to  5.5.5.0 
IP Range from 5.5.5.2              to  5.5.5.255 
4.2.16  display dhcp server ip-in-use 
Syntax 
display dhcp server ip-in-use { ip  ip-address | pool [ pool-name  ] | interface 
[ vlan-interface vlan-id ] | all } 
View 
Any view 
Parameter 
ip ip-address: Specifies an IP address. 
pool [ pool-name ]: Specifies a global address pool. If you do not input a pool-name, all 
global address pools are included. 
interface [ vlan-interface vlan-id ]: Specifies a VLAN interface address pool. If you do 
not input a vlan-id, all VLAN interface address pools are included. 
all: Specifies all DHCP address pools. 
Description 
Use the display dhcp server ip-in-use command to display information about IP 
address binding in DHCP address pool(s). 
Related command: reset dhcp server ip-in-use. 
Example 
# Display information about IP address binding in all DHCP address pools. 
<Quidway> display dhcp server ip-in-use all 
Global pool: 
 IP address  Hardware address Lease expiration Type 
 2.2.2.2  44444-4444-4444  NOT Used Manual 
 
Interface pool: 
 IP address  Hardware address Lease expiration Type