show system services dhcp relay-statistics

Syntax

show system services dhcp relay-statistics

Release Information

Command introduced in Release 8.5 of Junos OS.

Description

Display information about the DHCP relay.

Required Privilege Level

view and system

Related Topics

dhcp

List of Sample Output

show system services dhcp relay-statistics

Output Fields

Table 160 lists the output fields for the show system services dhcp relay-statistics command. Output fields are listed in the approximate order in which they appear.

Table 160: show system services dhcp relay-statistics Output Fields

Field Name

Field Description

Received packets

Total DHCP packets received.

Forwarded packets

Total DHCP packet forwarded.

Dropped packets

Total DHCP packets dropped for the following reasons:

  • Due to a missing interface in the relay database—Number of packets discarded because they did not belong to a configured interface.
  • Due to a missing matching routing instance—Number of packets discarded because they did not belong to a configured routing instance.
  • Due to an error during packet read—Number of packets discarded because of a system read error.
  • Due to an error during packet send—Number of packets that the DHCP relay application could not send.
  • Due to an invalid server address—Number of packets discarded because an invalid server address was specified.
  • Due to a missing valid local address—Number of packets discarded because there was no valid local address.
  • Due to a missing route to the server or client—Number of packets discarded because there were no addresses available for assignment.

Sample Output

show system services dhcp relay-statistics

user@host> show system services dhcp relay-statistics
  Received packets: 4
  Forwarded packets: 4
  Dropped packets: 4
    Due to missing interface in relay database: 4
    Due to missing matching routing instance: 0
    Due to an error during packet read: 0
    Due to an error during packet send: 0
    Due to invalid server address: 0
    Due to missing valid local address: 0
    Due to missing route to server/client: 0