H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – DHCP
H3C S7500E Series Ethernet Switches Chapter 2 DHCP Server Configuration
2-17
2.8 Displaying and Maintaining the DHCP Server
To do… Use the command… Remarks
Display information about IP
address conflicts
display dhcp server conflict { all |
ip ip-address }
Display information about
lease expiration
display dhcp server expired { all |
ip ip-address | pool [ pool-name ] }
Display information about
assignable IP addresses
display dhcp server free-ip
Display IP addresses excluded
from dynamic allocation in the
DHCP address pool
display dhcp server forbidden-ip
Display information about
bindings
display dhcp server ip-in-use { all
| ip ip-address | pool [ pool-name ] }
Display information about
DHCP server statistics
display dhcp server statistics
Display information about the
address pool tree organization
display dhcp server tree { all |
pool [ pool-name ] }
Available
in any view
Clear information about IP
address conflicts
reset dhcp server conflict { all | ip
ip-address }
Clear information about
dynamic bindings
reset dhcp server ip-in-use { all |
ip ip-address | pool [ pool-name ] }
Clear information about DHCP
server statistics
reset dhcp server statistics
Available
in user
view
Note:
Using the save command does not save DHCP server lease information. Therefore,
when the system boots up or the reset dhcp server ip-in-use command is executed,
no lease information will be available in the configuration file. In this case, the server
will deny the request for lease extension from a client and the client needs to request an
IP address again.
2.9 DHCP Server Configuration Examples
DHCP networking involves two types:
z The DHCP server and client are on the same subnet and exchange messages
directly.
z The DHCP server and client are not on the same subnet and they communicate
with each other via a DHCP relay agent.