DHCP has been configured on the SRX in Mist cloud as follows
Add IP Config
Network: EX_LAN_18_SW
IPAddr:192.168.18.1/24
VLAN ID:18
DHCP CONFIG
DHCP Config: Enabled
Add DHCP Config
DHCP: Server
IP Star:192.168.18.10
IP End:192.168.18.12
Geteway:192.168.18.1
DNS Servers:8.8.8.8
Add LANs
Interface:ge-0/0/6
Enabled
DHCP STATISTICS
PoolName:EX_LAN_18_SW
LeasedIPs:0
TotalIPs:3
Unable to execute dhcp-related commands on the remote shell , throughs an error message
〇n Remote Shell
mist@SRX340_01> show system services dhcp binding
node0:
--------------------------------------------------------------------------
warning: dhcp subsystem not running - not needed by configuration.
The reason DHCP commands are not working in the RemoteShell is Mist uses JDHCP or extended DHCP of the DHCP daemon.
Therefore when it comes to Mist managed devices, we should use the following commands for DHCP
mist@VSRX1> show dhcp server statistics Packets dropped: Total 0Offer Delay: DELAYED 0 INPROGRESS 0 TOTAL 0Messages received: BOOTREQUEST 0 DHCPDECLINE 0 DHCPDISCOVER 0 DHCPINFORM 0 DHCPRELEASE 0 DHCPREQUEST 0 DHCPLEASEQUERY 0 DHCPBULKLEASEQUERY 0 DHCPACTIVELEASEQUERY 0Messages sent: BOOTREPLY 0 DHCPOFFER 0 DHCPACK 0 DHCPNAK 0 DHCPFORCERENEW 0 DHCPLEASEUNASSIGNED 0 DHCPLEASEUNKNOWN 0 DHCPLEASEACTIVE 0 DHCPLEASEQUERYDONE 0