Focus
Focus
Table of Contents

dump dhcpstat

Use the dump dhcpstat command to display the dynamic host configuration protocol (DHCP) server statistics, to understand DHCP requests and responses, and the number of IP addresses that have been used out of the available pool of IP addresses.

Command

dump dhcpstat (all | vrf-name=vrf name)

Options

allEnter all to display information on all the DHCP stats.
vrf-nameEnter vrf name for selected VRF DHCP stats.Release 6.3.1

Command Notes

RoleSuper, Read Only, Monitor
Related Commands
inspect dhcplease
Introduced in Release 4.4.1

Example

dump dhcpstat Request: 15 Response: 16 NACK: 0 Decline: 0 ACK: 7 Lease Used: 1 Lease Available: 10
dump dhcpstat all ===================================== VRF: Global Request : 0 Response : 0 NACK : 0 Decline : 0 ACK : 0 Lease Used : 0 Lease Available : 9 ===================================== VRF: yellow Request : 0 Response : 0 NACK : 0 Decline : 0 ACK : 0 Lease Used : 0 Lease Available : 9
dump dhcpstat vrf-name=Global ===================================== VRF: Global Request : 0 Response : 0 NACK : 0 Decline : 0 ACK : 0 Lease Used : 0 Lease Available : 9