beautypg.com

Clear ip dhcp server statistics, Show dhcp lease – Enterasys Networks X-Pedition XSR CLI User Manual

Page 622

background image

DHCP Clear and Show Commands

15-112 Configuring DHCP

Example

The example below deletes address binding 18.12.22.99 from a DHCP server bindings database:

XSR#clear ip dhcp binding 18.12.22.99

clear ip dhcp server statistics

This command resets all DHCP server counters. All counters are cumulative and are initialized, or 
set to zero, with this command.

Syntax

clear ip DHCP server statistics

Mode

Privileged EXEC: 

XSR#

Example

The following example resets all DHCP counters to zero:

XSR#clear ip DHCP server statistics

show dhcp lease

This command displays DHCP Client information.

Syntax

show dhcp lease

Mode

Privileged EXEC: 

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