2-27Displaying and Maintaining the DHCP ServerTo do… Use the command… RemarksDisplay the statistics on IPaddress conflictsdisplay dhcp server conflict { all | ipip-address }Display lease expirationinformationdisplay dhcp server expired { ip ip-address |pool [ pool-name ] | interface [ interface-typeinterface-number ] | all }Display the free IP addresses display dhcp server free-ipDisplay information aboutaddress bindingdisplay dhcp server ip-in-use { ip ip-address |pool [ pool-name ] | interface [ interface-typeinterface-number ] | all }Display the statistics on aDHCP server display dhcp server statisticsDisplay information aboutDHCP address pool treedisplay dhcp server tree { pool [ pool-name ] |interface [ interface-type interface-number ] |all }Available inany viewClear IP address conflictstatistics reset dhcp server conflict { all | ip ip-address }Clear dynamic address bindinginformationreset dhcp server ip-in-use { ip ip-address |pool [ pool-name ] | interface [ interface-typeinterface-number ] | all }Clear the statistics on a DHCPserver reset dhcp server statisticsAvailable inuser viewExecuting the save command will not save the lease information on a DHCP server to the flash memory.Therefore, the configuration file contains no lease information after the DHCP server restarts or youclear the lease information by executing the reset dhcp server ip-in-use command. In this case, anylease-update requests will be denied, and the clients must apply for IP addresses again.DHCP Server Configuration ExamplesCurrently, DHCP networking can be implemented in two ways. One is to deploy the DHCP server andDHCP clients in the same network segment. This enables the clients to communicate with the serverdirectly. The other is to deploy the DHCP server and DHCP clients in different network segments. In thiscase, IP address assigning is carried out through DHCP relay agent. Note that DHCP serverconfiguration is the same in both scenarios.DHCP Server Configuration ExampleNetwork requirementsz The DHCP server (Switch A) assigns IP address to clients in subnet 10.1.1.0/24, which issubnetted into 10.1.1.0/25 and 10.1.1.128/25.