Description
This article explains how to display the command tree for a configuration section.
Scope
FortiGate.
Solution
To see the full command options for the DHCP server part, navigate to the DHCP server config section and enter the command:
# config system dhcp server
# tree
-- [server] --*id (0,4294967295)
|- status
|- lease-time (0,4294967295)
|- mac-acl-default-action
|- forticlient-on-net-status
|- dns-service
|- dns-server1
|- dns-server2
|- dns-server3
|- wifi-ac1
|- wifi-ac2
|- wifi-ac3
|- ntp-service
|- ntp-server1
|- ntp-server2
|- ntp-server3
|- domain (36)
|- wins-server1
|- wins-server2
|- default-gateway
|- next-server
|- netmask
|- interface (16)
|- [ip-range] --*id (0,4294967295)
|- start-ip
+- end-ip
|- timezone-option
|- timezone
|- tftp-server (64)
|- filename (128)
|- [options] --*id (0,4294967295)
|- code (0,4294967295)
|- type
|- value (313)
+- ip
|- server-type
|- ip-mode
|- conflicted-ip-timeout (0,4294967295)
|- ipsec-lease-hold (0,4294967295)
|- auto-configuration
|- ddns-update
|- ddns-update-override
|- ddns-server-ip
|- ddns-zone (65)
|- ddns-auth
|- ddns-keyname (65)
|- ddns-key
|- ddns-ttl (60,86400)
|- vci-match
|- [vci-string] --*vci-string (256)
|- [exclude-range] --*id (0,4294967295)
|- start-ip
+- end-ip
+- [reserved-address] --*id (0,4294967295)
|- ip
|- mac
|- action
+- description
NOTE: After FortiOS version 6.4 and later the above command will not work. Use the following command:
# tree system dhcp server