SRX

 View Only
last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  DHCP Pool Exhaustion

    Posted 11-19-2019 08:12

    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.  RE: DHCP Pool Exhaustion
    Best Answer

    Posted 11-19-2019 13:15

    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.

     

     

     

     



  • 3.  RE: DHCP Pool Exhaustion

    Posted 11-20-2019 01:40

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