display dhcp server statistics

Syntax

display dhcp server statistics [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display dhcp server statistics to display the statistics of the DHCP server.

Related commands: reset dhcp server statistics.

Examples

# Display the statistics on the DHCP server.

<Sysname> display dhcp server statistics
    Global Pool:
      Pool Number:                     1
      Binding:
        Auto:                          1
        Manual:                        0
        Expire:                        0
    BOOTP Request:                     10
      DHCPDISCOVER:                    5
      DHCPREQUEST:                     3
      DHCPDECLINE:                     0
      DHCPRELEASE:                     2
      DHCPINFORM:                      0
      BOOTPREQUEST:                    0
    BOOTP Reply:                       6
      DHCPOFFER:                       3
      DHCPACK:                         3
      DHCPNAK:                         0
      BOOTPREPLY:                      0
    Bad Messages:                      0

Table 8: Command output

Field

Description

Global Pool

Statistics of a DHCP address pool.

Pool Number

The number of address pools.

Auto

The number of dynamic bindings.

Manual

The number of static bindings.

Expire

The number of expired bindings.

BOOTP Request

The number of DHCP requests sent from DHCP clients to the DHCP server. The requests include:

  • DHCPDISCOVER.

  • DHCPREQUEST.

  • DHCPDECLINE.

  • DHCPRELEASE.

  • DHCPINFORM.

  • BOOTPREQUEST.

BOOTP Reply

The number of DHCP replies sent from the DHCP server to DHCP clients. The replies include:

  • DHCPOFFER.

  • DHCPACK.

  • DHCPNAK.

  • BOOTPREPLY.

Bad Messages

The number of Erroneous messages.