# Monitoring DHCP Relay Proxy Statistics

#### Purpose

Display statistics for the DHCP relay proxy.

| Note: The show dhcp relay statistics command displays additional DHCP statistics that the router reports for both DHCP relay and DHCP relay proxy.

#### Action

To display DHCP relay proxy statistics:

    host1# show dhcp relay proxy statistics
                             DHCP Relay/Proxy Statistics
                             ---------------------------
        Address     Disc.  Offer    Req.     Ack     Nak   Decline Release Inform
    --------------- ------ ------ -------- -------- ------ ------- ------- ------
        192.168.1.1      9      0        0        0      0       0       0      0
        192.168.1.2      9      0        0        0      0       0       0      0
       192.168.32.1      9      5        5        5      0       0       0      0
    Active Clients: 5
    Clients to Restore: 0
    Client Packets: 14
    Server Packets: 10
    Timed Out: 0
    No Offers: 4
    Modify Fail: 0

#### Meaning

Table 123 lists the show dhcp relay proxy statistics command output fields.

Table 123: show dhcp relay proxy statistics Output Fields

Field Name | Field Description
--- | ---
Address | IP address of the DHCP server
Disc. | Number of discover messages sent to server
Offer | Number of offers received from a server
Req. | Number of requests sent to a server
Ack | Number of ACK messages received from a server
Nak | Number of NAK messages received from a server
Decline | Number of decline messages sent to a server
Release | Number of releases sent to a server
Inform | Number of information messages sent to a server
Active Clients | Number of clients being maintained by the relay proxy
Clients to Restore | Number of host routes installed without an active client (waiting for renewal)
Client Packets | Total number of packets received from clients
Server Packets | Total number of packets received from servers
Timed Out | Number of clients removed because of lease expiration
No Offers | Number of clients removed because no server sent an offer
Modify Fail | Number of clients deleted because the relay proxy failed to modify the DHCP packet

#### Related Documentation

- show dhcp relay proxy statistics