DHCP MIB’s for SNMP supported only from 12.1X version
Various attributes of DHCP bindings can be retrieved using SNMP.
However these are supported only from version 12.1X .
Below is the document that provides a list of DHCP MIB.
http://www.juniper.net/techpubs/en_US/junos12.1/topics/reference/mibs/mib-jnx-jdhcp.txt
To retrieve an OID value of any MIB use the command ‘display xml’ as shown below.
>show snmp mib walk jnxJdhcpLocalServerDhcpDiscoverReceived | display xml
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/12.1X45/junos"> <snmp-object-information xmlns="http://xml.juniper.net/junos/12.1X45/junos-snmp"> <snmp-object> <name>jnxJdhcpLocalServerDhcpDiscoverReceived.0</name> <object-value-type>counter</object-value-type> <object-value>3</object-value> <oid>1.3.6.1.4.1.2636.3.61.61.1.1.18.0</oid> </snmp-object> </snmp-object-information> <cli> <banner>[edit]</banner> </cli> </rpc-reply>
Starting with 12.x, the DHCP process has been modified and the new process is JDHCP. Even though both of the processes run on the device, it is recommended to use JDHCP and not DHCP.