display dhcp server statistics
Use display dhcp server statistics to display the DHCP server statistics.
Syntax
display dhcp server statistics [ pool pool-name | vpn-instance vpn-instance-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
pool pool-name: Specifies an address pool by its name, a case-insensitive string of 1 to 63 characters. If you do not specify this option, this command displays information about all address pools.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays DHCP server statistics for the public network.
Examples
# Display the DHCP server statistics.
<Sysname> display dhcp server statistics Pool number: 1 Pool utilization: 0.39% Bindings: Automatic: 1 Manual: 0 Expired: 0 Conflict: 1 Messages received: 10 DHCPDISCOVER: 5 DHCPREQUEST: 3 DHCPDECLINE: 0 DHCPRELEASE: 2 DHCPINFORM: 0 BOOTPREQUEST: 0 Messages sent: 6 DHCPOFFER: 3 DHCPACK: 3 DHCPNAK: 0 BOOTPREPLY: 0 Bad Messages: 0
Table 11: Command output
Field | Description | |
---|---|---|
Pool number | Total number of address pools. This field is not displayed when you display statistics for a specific address pool. | |
Pool utilization | Pool usage rate:
| |
Bindings | Bindings include the following types:
| |
Conflict | Total number of conflict addresses. This field is not displayed if you display statistics for a specific address pool. | |
Messages received | DHCP packets received from clients:
This field is not displayed if you display statistics for a specific address pool. | |
Messages sent | DHCP packets sent to clients:
This field is not displayed if statistics about a specific address pool are displayed. | |
Bad Messages | Number of bad messages. This field is not displayed if you display statistics for a specific address pool. |
Related commands
reset dhcp server statistics