DHCP Clear and Show Commands
15-112 Configuring DHCP
Example
Theexamplebelowdeletesaddressbinding18.12.22.99fromaDHCPserverbindingsdatabase:
XSR#clear ip dhcp binding 18.12.22.99

clear ip dhcp server statistics

ThiscommandresetsallDHCPservercounters.Allcountersarecumulativeandareinitialized,or
settozero,withthiscommand.
Syntax
clear ip DHCP server statistics
Mode
PrivilegedEXEC:XSR#
Example
ThefollowingexampleresetsallDHCPcounterstozero:
XSR#clear ip DHCP server statistics

show dhcp lease

ThiscommanddisplaysDHCPClientinformation.
Syntax
show dhcp lease
Mode
PrivilegedEXEC:XSR#
Example
XSR#show dhcp lease
Temp IP addr: 192.168.70.102 for peer on Interface: FastEthernet0
Temp sub net mask: 255.255.255.0
Temp default-gateway addr: 192.168.70.1
State: 5 BOUND
DHCP Lease Server: 192.168.70.1, config.enterasys.com
DNS Server: 24.25.26.27
24.25.26.28
DHCP transaction id: 29247
Lease: 36000 secs, Renewal: 17205 secs, Rebind: 31500 secs
Next timer fires after 4:44:25