SRX Services Gateway
SRX Services Gateway

DHCP Pool Exhaustion

‎11-19-2019 08:11 AM

Hi

 

I have an SRX320 running 15.1X49-D70.3 and am struggling to get any useful DHCP information from the box, just as you can do with a Cisco equivilent.

 

Simply put, I want to check the the pool has not been exhausted, however the only meaningful commands to run are;

 

user@SRX> show dhcp server statistics
Packets dropped:
Total 7
Send error 3
No binding found 4

Messages received:
BOOTREQUEST 120659
DHCPDECLINE 17
DHCPDISCOVER 26217
DHCPINFORM 752
DHCPRELEASE 263
DHCPREQUEST 93410
DHCPLEASEQUERY 0
DHCPBULKLEASEQUERY 0

Messages sent:
BOOTREPLY 114861
DHCPOFFER 22805
DHCPACK 86431
DHCPNAK 5625
DHCPFORCERENEW 0
DHCPLEASEUNASSIGNED 0
DHCPLEASEUNKNOWN 0
DHCPLEASEACTIVE 0
DHCPLEASEQUERYDONE 0

 

Or 'show dhcp server binding' 

 

Is there a way to check the pool to show available addresses and perhaps conflicts?


Thanks!

2 REPLIES 2
SRX Services Gateway
Solution
Accepted by topic author firestars
‎11-20-2019 01:40 AM

Re: DHCP Pool Exhaustion

[ Edited ]
‎11-19-2019 01:15 PM

Hi firestars,

 

In the current DHCP version (recommended one) called JDHCP there are no commands to check the IP conflicts nor pool utilization as you stated.

 

In previous DHCP version there were commands to check this info:

 

> show system services dhcp pool [pool_name] detail
> show system services dhcp conflict

 

The old DHCP version can still be configured but the hierarchy is hidden so some of the commands wont auto-complete when you type Tab key:

 

https://kb.juniper.net/InfoCenter/index?page=content&id=KB15754&actp=METADATA

 

I also checked if there was any SNMP OID that could show the pool utilization but on the 15.1X49 versions I only found the JDHCP MIB which doesnt have a way to monitor that information:

 

https://apps.juniper.net/mib-explorer/getMibContent.html?q=junos-os/15.1x49-D180/mib-jnx-jdhcp.txt

 

Hope this clarifies your concern. Please mark my comment as "Solution" if it applies.

 

 

 

 

SRX Services Gateway

Re: DHCP Pool Exhaustion

‎11-20-2019 01:40 AM

Thanks for that reply, a rather odd thing for Juniper to overlook right? Smiley Happy