It won't stop answering DHCP requests until you commit your code, did you try that? You can see if there's any DHCP config left by doing:
config
edit system services
show
You shouldn't see anything there about dhcp. If you want to add dhcp service in the future, do something like (change your IP's):
config
set system services dhcp pool 192.168.32.0/24 address-range low 192.168.32.100
set system services dhcp pool 192.168.32.0/24 address-range high 192.168.32.254
set system services dhcp pool 192.168.32.0/24 name-server 1.1.1.1
set system services dhcp pool 192.168.32.0/24 name-server 8.8.8.8
set system services dhcp pool 192.168.32.0/24 router 192.168.32.1
commit check
commit
The router part of the command means it will answer dhcp requests on the interface that you've already configured to be the gateway of 192.168.32.1, so make sure that's already set up on the interface you want to use.
Original Message:
Sent: 10-22-2021 07:14
From: Fadhel ALSAWAD
Subject: Disable DHCP on SRX320
Good day,
Your instructions was helpful for me,
I noticed the configuration for the dhcp still exist after deleting the dhcp servics.
In case I need to activate the dhcp agin what is the command I need to use.
Thanks
------------------------------
FA
Original Message:
Sent: 10-21-2021 13:30
From: bob
Subject: Disable DHCP on SRX320
Juniper uses mostly the CLI, and most of the help you're likely to get will favor CLI, so it's worth learning. So you'd login using the console cable like this on my SRX-345 and do:
Login: rootPassword:Last login: Tue Oct 19 03:51:53 2021 from 10.1.10.3--- JUNOS 15.1X49-D45 built 2016-04-25 07:29:58 UTCroot@routername% cliroot@routername> configure Entering configuration mode[edit]root@routername# edit system services [edit system services]root@routername# show ssh;web-management { http { interface ge-0/0/2.0; } https { system-generated-certificate; interface ge-0/0/2.0; }}dhcp { pool 100.64.205.0/24 { address-range low 100.64.205.5 high 100.64.205.250; name-server { 1.1.1.1; 8.8.8.8; } router { 100.64.205.1; } }}[edit system services]root@routername# delete dhcp root@routername# commit checkif no errors then doroot@routername# commit
hope that help.
Original Message:
Sent: 10-21-2021 11:09
From: Fadhel ALSAWAD
Subject: Disable DHCP on SRX320
Greetings,
Excuses me, I am new to Juniper.
Is this from CLI or JWeb?
Thanks
------------------------------
FA
Original Message:
Sent: 10-20-2021 15:33
From: bob
Subject: Disable DHCP on SRX320
Go under config > edit system services > del dhcp > commit
Original Message:
Sent: 10-08-2021 03:22
From: Fadhel ALSAWAD
Subject: Disable DHCP on SRX320
Greetings Community,
How to disable DHCP service on SRX320, and allow IRB.0 ports use Windows server DHCP.
Thanks
FA