Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show system services dhcp relay-statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
         show system services dhcp relay-statistics       

Description

Display information about the DHCP relay.

Required Privilege Level

view and system

Output Fields

Table 1 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 1: 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

content_copy zoom_out_map
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

Release Information

Command introduced in Junos OS Release 8.5 .

footer-navigation