Description

"show dhcp relay statistics" shows a certain number of "Interface not configured " What is the meaning of "Interface not configured "?

Documentation for  "show dhcp relay statistics" does not show the meaning of the field "Interface not configured"

show dhcp relay statistics 
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/command/show-dhcp-relay-statistics.html



Is there a way to know which packets are being dropped on the "Interface not configured" field? 


sho dhcp relay statictics.GIF

 

Symptoms

-Users having issues to get DHCP.
-The field "Interface not configured" is increasing its values.

Solution

Use system processes dhcp-service traceoptions to identify the not configured interfaces.
 

set system processes dhcp-service traceoptions file DHCP_RELAY
set system processes dhcp-service traceoptions file size 2m
set system processes dhcp-service traceoptions file files 10
set system processes dhcp-service traceoptions file world-readable
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet



Review the trace-option file and filter the results using the keyword "unconfigured"
[irb.X] jdhcpd_packet_handle: BOOTPREQUEST irb.x arrived on unconfigured interface REQUEST, flag 23, config 0x0
[irb.Y] jdhcpd_packet_handle: BOOTPREQUEST irb.y arrived on unconfigured interface REQUEST, flag 23, config 0x0
[irb.Z] jdhcpd_packet_handle: BOOTPREQUEST irb.z arrived on unconfigured interface REQUEST, flag 23, config 0x0


To stop the counter increase identify the missing interface on the logs and include them under the the DHCP-RELAY 

set forwarding-options dhcp-relay group internal-standard interface irb.x
set forwarding-options dhcp-relay group internal-standard interface irb.y
set routing-instances A forwarding-options dhcp-relay group B interface irb.z


 

Modification History

2024-02-27 : Article Created

Related Information

https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/command/show-dhcp-relay-statistics.html