Display DHCP packet error and relay agent option statistics that are reported for both DHCP relay and DHCP relay proxy, and also to display DHCP server statistics related only to DHCP relay.
![]() |
Note: The show dhcp relay proxy statistics command displays additional DHCP statistics that the router reports only for DHCP relay proxy. |
To display DHCP relay statistics:
host1# show dhcp relay statistics
DHCP Relay Statistics
---------------------
Statistic Values
----------------------------------------------------------- ------
Packet error statistics (standard & proxy modes):
dropped discover packets, no resources 0
dropped dhcp packets, no resources 0
dropped bad message operation packets 0
dropped unknown message type request packets 0
dropped unknown message type reply packets 0
Relay Agent Option statistics (standard & proxy modes):
add Relay Agent Option circuit ID suboption On
add Relay Agent Option remote ID suboption On
packets with giaddr override 0
packets with Relay Agent Option override 2
packets forwarded with Relay Agent Option already present 4
dropped packets with Relay Agent Option already present 3
dropped giaddr spoof packets 0
DHCP server statistics (standard mode only):
dropped duplicate request packets 12
packets transmitted to servers 38
packets received from servers 26
dropped unknown xid reply packets 0
dropped stale request packets 12
To display detailed statistics for DHCP relay only, use the optional detail keyword—this command displays DHCP server statistics and dropped unknown message type reply packets statistics:
host1# show dhcp relay statistics detail
DHCP Relay Detail Statistics
----------------------------
Statistics 10.10.1.1 192.168.32.12 192.168.32.1
------------------------------------ --------- ------------- ------------
Dropped unknown message type replies 0 0 0
Dropped duplicate requests 6 6 0
Packets transmitted to server 6 6 26
Packets received from server 0 0 26
Dropped unknown xids replies 0 0 0
Dropped stale requests 6 6 0
Table 117 lists the show dhcp relay statistics command output fields.
Table 117: show dhcp relay statistics Output Fields