Displaying and maintaining the DHCP server

IMPORTANT:

A restart of the DHCP server or execution of the reset dhcp server ip-in-use command deletes all lease information. The DHCP server denies any DHCP request for lease extension, and the client must request an IP address again.

Task

Command

Remarks

Display information about IP address conflicts.

display dhcp server conflict { all | ip ip-address } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display information about lease expiration.

display dhcp server expired { all | ip ip-address | pool [ pool-name ] } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display information about assignable IP addresses.

display dhcp server free-ip [ | { begin | exclude | include } regular-expression ]

Available in any view

Display IP addresses excluded from automatic allocation in the DHCP address pool.

display dhcp server forbidden-ip [ | { begin | exclude | include } regular-expression ]

Available in any view

Display information about bindings.

display dhcp server ip-in-use { all | ip ip-address | pool [ pool-name ] } [ | { begin | exclude | include } regular-expression ]

Available in any view

Display information about DHCP server statistics.

display dhcp server statistics [ | { begin | exclude | include } regular-expression ]

Available in any view

Display tree organization information about address pools.

display dhcp server tree { all | pool [ pool-name ] } [ | { begin | exclude | include } regular-expression ]

Available in any view

Clear information about IP address conflicts.

reset dhcp server conflict { all | ip ip-address }

Available in user view

Clear information about dynamic bindings.

reset dhcp server ip-in-use { all | ip ip-address | pool [ pool-name ] }

Available in user view

Clear information about DHCP server statistics.

reset dhcp server statistics

Available in user view