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 7Send error 3No binding found 4
Messages received:BOOTREQUEST 120659DHCPDECLINE 17DHCPDISCOVER 26217DHCPINFORM 752DHCPRELEASE 263DHCPREQUEST 93410DHCPLEASEQUERY 0DHCPBULKLEASEQUERY 0
Messages sent:BOOTREPLY 114861DHCPOFFER 22805DHCPACK 86431DHCPNAK 5625DHCPFORCERENEW 0DHCPLEASEUNASSIGNED 0DHCPLEASEUNKNOWN 0DHCPLEASEACTIVE 0DHCPLEASEQUERYDONE 0
Or 'show dhcp server binding'
Is there a way to check the pool to show available addresses and perhaps conflicts?
Go to Solution.
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:
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:
Hope this clarifies your concern. Please mark my comment as "Solution" if it applies.
Thanks for that reply, a rather odd thing for Juniper to overlook right?