FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Mrinmoy
Staff
Staff
Article Id 301878
Description This article describes how to delete a DHCP configuration from a FortiGate.
Scope FortiOS 6.4 or above.
Solution

Option 1 (GUI):

 

  1. Under Network, select the interface which has DHCP configured:

 1.JPG

 

  1. Edit that interface:

 2.JPG

 

  1. Use the toggle button to disable the DHCP option:

 3.JPG

4.JPG

 

Option 2 (CLI):

 

  1. Verify the current DHCP config by entering the following command:

 

config system dhcp server

show

 

  1. Delete the desired entry by entering the following command:

delete ENTRY_NUMBER

end

 

CLI example:

 

config system dhcp server

show

config system dhcp server

edit 1

set ntp-service local
set default-gateway 10.255.1.1
set netmask 255.255.255.0
set interface "fortilink"

config ip-range

edit 1

set start-ip 10.255.1.2
set end-ip 10.255.1.254

next

end

set vci-match enable
set vci-string "FortiSwitch" "FortiExtender"

next

edit 2

set dns-service default
set default-gateway 192.168.100.1
set netmask 255.255.255.0
set interface "port2"

config ip-range

edit 1

set start-ip 192.168.100.2
set end-ip 192.168.100.254

next

end

next

end

delete 2

show

config system dhcp server

edit 1

set ntp-service local
set default-gateway 10.255.1.1
set netmask 255.255.255.0
set interface "fortilink"

config ip-range

edit 1

set start-ip 10.255.1.2
set end-ip 10.255.1.254

next

end

set vci-match enable
set vci-string "FortiSwitch" "FortiExtender"

next

end

Contributors