DHCP Relay and Pool Statistics

Aruba Employee
Q:

How to check the DHCP Relay and Pool Statistics?



A:

Earlier(in Pre 8.x image), we had an option to check the DHCP binding an DHCP database. But starting from 8.x , we have an additional option to display/check the DHCP relay and pool statistics. Which will be very useful while troubleshooting DHCP related issues.

The following command displays the DHCP server binding, database setting, relay and pool statistics.

show ip dhcp

binding
database
relay statistics
statistics

 

Examples:

The example below shows DHCP statistics for two configured networks.


(host) [mynode] #show ip dhcp statistics
DHCPv4 enabled; DHCPv6 enabled
DHCP Pools
----------
Network Name Type Active Configured leases Active leases Free leases Expired leases
Abandoned leases
------------ ---- ------ ----------------- ------------- ----------- -------------- ---
-------------
2-2-2-nw v4 Yes 242 0 242 0 0
3-2-2-nw v4 Yes 254 0 254 0 0
test v4 Yes 254 0 254 0 0
2011 v6 No 5 - - - -
2012 v6 No 5 - - - -
Current leases 750
Total leases 512

Starting from ArubaOS 8.2.0.0, if the DHCP lease limit is configured to exceed the user limit, a warning is
displayed in the command output.
host) (config) #show ip dhcp statistics
DHCPv4 disabled; DHCPv6 disabled
DHCP Pools
----------
Network Name Type Active Configured leases Active leases Free leases Expired leases
------------ ---- ------ ----------------- ------------- ----------- --------------
Abandoned leases
---------- ------
Current leases 0
Total leases 2048
WARNING: DHCP lease limit increased beyond user limit. Some of the controller's services may be impacted

NOTE: To make a DHCPv6 pool active, ensure that the pool name is added in vlan interface.

 

The output of this command includes the following parameters:

Network Name: Range of addresses that the DHCP server may assign to clients.
Type:  Indicates the IP version of the DHCP server. It can be v4 or v6.
Active: Indicates if the DHCP server is active or not.
Configured leases: Number of leases configured on the DHCP server.
Active leases: Number of active DHCP leases.
Free leases: Number of available DHCP leases.
Expired leases: Number of leases that have expired because they have extended past their valid lease period.
Abandoned leases: Number of abandoned leases. Abandoned leases will not be reassigned unless there are no free leases available.

Version history
Revision #:
2 of 2
Last update:
a week ago
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: