show ip dhcp-server statistics

Displays DHCP server statistics for a specific pool or all pools.
Syntax
show ip dhcp-server statistics[pool-name]
Parameters
pool-name
Specifies a pool in ASCII characters.
Modes

Privileged EXEC mode

Usage Guidelines

The show ip dhcp-server statistics command displays packet counters that are received to the DHCP server for a specified pool or all pools. DHCP must be enabled before this command can be executed.

Examples

The following example displays DHCP server statistics for a specified pool.

device# show ip dhcp-server statistics test

Statistics for address pool:
DHCP server pool name :  test(active)
Dynamically allocated addresses :  1
Statically allocated addresses :   1
      Total allocated addresses :   2
  Received Packets
                            (Valid) (Dropped)
              DHCP-DISCOVER :  1     2
               DHCP-REQUEST :  1     0
               DHCP-DECLINE :  0     0
               DHCP-RELEASE :  1     0
                DHCP-INFORM :  0     0
    Total Packets Received  :  4
  Sent Packets
                 DHCP-OFFER :  1
                   DHCP-ACK :  2
                   DHCP-NAK :  0
Total Packets Transmitted  :  3
History
Release version Command history
08.0.70 This command was introduced.