Usage Scenario
You can run the display dhcp server statistics command to check whether the client is correctly configured or the network is connected.
Follow-up Procedure
After detecting incorrect message statistics on a DHCP server, run the reset dhcp server statistics command to clear message statistics on the DHCP server.
# Display statistics on the DHCP server.
<HUAWEI> display dhcp server statistics
DHCP Server Statistics:
Client Request: 6
Dhcp Discover: 1
Dhcp Request: 4
Dhcp Decline: 0
Dhcp Release: 1
Dhcp Inform: 0
Server Reply: 4
Dhcp Offer: 1
Dhcp Ack: 3
Dhcp Nak: 0
Bad Messages: 0
Item |
Description |
---|---|
DHCP Server Statistics |
Statistics on the DHCP server. |
Client Request |
Number of DHCP messages sent from the DHCP client to the DHCP server. |
Dhcp Discover, Dhcp Request, Dhcp Decline, Dhcp Release, Dhcp Inform |
Numbers of different types of DHCP messages sent from the DHCP client to the DHCP server. |
Server Reply |
Number of DHCP messages sent from the DHCP server to the DHCP client. |
Dhcp Offer, Dhcp Ack, Dhcp Nak |
Numbers of different types of DHCP messages sent from the DHCP server to the DHCP client. |
Bad Messages |
Number of unknown messages. |