Get commands
get profile ldap
Use this command to get the details of LDAP authentication setting.
Syntax
get profile ldap <ldap profile name>
get profile authentication radius
Use this command to get the details of RADIUS authentication setting.
Syntax
get profile authentication radius <RADIUS auth server name>
get system accprofile
Use this command to get the number of accprofile of the current system.
Syntax
get system accprofile
get system admin
Use this command to get information about FortiAI administrator accounts.
By default, FortiAI has a single administrator account: admin.
For more information about the attributes, see config system admin.
Syntax
get system admin <userName>
Example
When user name is not presented:
== [ admin ]
status: enable trusted-hosts: 0.0.0.0/0 ::/0 auth-strategy: local access‑profile: SuperAdminProfile user-profile:
When user name is presented:
username : admin
name :
wildcard : disable
status : enable
trusted-hosts : 0.0.0.0/0 ::/0
auth-strategy : local
msg-methods :
password : *
radius-permission-check: disable
radius-vendor-id : 0
radius-subtype-id : 0
access-profile : SuperAdminProfile
user-profile :
theme : Green
sshkey :
assist-user :
assist-password : *
assist-access : alexa ifttt
get system admin-list
Use this command to get the list of users that has accessed this server.
Syntax
get system admin-list
Example
[0] login-name: adminror at 'admin-list'. (-284)
access-profile: SuperAdminProfile
login-method: CONSOLEmin-list
login-time: Thu Nov 21 11:12:17 2019
timeout-time: Thu Nov 21 11:57:17 2019
process-ID: 10217
client-address:
get system appearance
Syntax
get system appearance
Example
Last Update Time : 2019-11-20 17:34:10
get system automation-settings
Syntax
get system automation-settings <profile-name>
Example
When profile name is not presented:
name Automation settings name fgt1
When a specified profile name is presented
name : fgt1 vdom : root api-key : * webhook-config : "{\"action\" : 1,\"webhook_exec\" : \"ip_blocker\", \"webhook_undo\" : \"ip_unblocker\"}" ip : 172.19.235.251 port : 443 enabled : enable source : fabric-device
get system dhcp server
Syntax
get system dhcp server
get system dns
Syntax
get system dns
Example
Last Update Time : 2019-11-20 18:12:41
primary : 208.91.112.53
secondary : 208.91.112.52
private-ip-query : disable
cache : enable
truncate-handling : tcp-retry
protected-domain-dns-state : disable
protected-domain-dns-servers:
cache-min-ttl : 300
get system enforcement-settings
Syntax
get system enforcement-settings
Example
Last Update Time : 2020-07-31 10:00:00 allowlist : 192.16.1.222/32 risk-level : 4 conf-level : 0.800000
get system interface
Syntax
get system interface <interface-name>
Example
When interface name is not presented:
== [ port1 ] (2019-11-05 05:22:30)
type: physical redundant-master: 0 ip: 172.19.122.250/24 status: up allowaccess: https ping ssh discover: enable
When a specific interface name is presented:
name : port1
type : physical
mode : static
redundant-master :
ip : 172.19.122.250/24
ip6 : ::/0
mtu : 1500
speed : auto
status : up
mac-addr : 00:0c:29:09:5a:55
allowaccess : https ping ssh
discover : enable
get system performance
Syntax
get system performance
Example
CPU usage: 0% used, 100% idle
Memory usage: 60% used
System Load: 18
Uptime: 1 days 21 hours 14 minutes
get system raid-status
Get information about RAID.
Syntax
get system raid-status
get system raid-status-detail
Get information about RAID including the available commands and detailed information of virtual and physical disks.
Syntax
get system raid-status-detail
get system route
Syntax
get system route <route number>
Example
Without specifying a route number:
== [ 1 ] (2019-11-21 09:45:24) destination: 0.0.0.0/0 gateway: 172.19.122.1 interface: port1
With specifying a route number:
<No.> : 1
destination : 0.0.0.0/0
gateway : 172.19.122.1
interface : port1
get system status
Syntax
get system status
Example
Version: FortiAI-3500F v1.5.2,build117,210903 Architecture: 64-bit Serial-Number: FAI35FT319000026 BIOS version: 00010002 Log disk: Capacity 173 GB, Used 60 MB (0.04%), Free 173 GB Data disk: Capacity 3313 GB, Used 25 GB (0.78%), Free 3287 GB Remote disk: n/a Memory: Capacity 375 GB, Used 25 GB (6.83%), Free 350 GB Swap Memory: Capacity 31 GB, Used 0 MB (0.00%), Free 31 GB Hostname: FAI35FT319000026 Strong-crypto: disabled Distribution: International Branch point: 117 Uptime: 3 days 16 hours 24 minutes Last reboot: Fri Sep 03 19:29:00 MDT 2021 System time: Tue Sep 07 11:53:00 MDT 2021 Scenario AI DB: 1.076(2021-09-04 23:55) Text AI Feature DB: 1.076(2021-09-04 23:56) Text AI Group DB: 1.076(2021-09-04 23:56) Text AI Learning Feature DB: 1.076(2021-09-04 23:56) Binary Behavior DB: 1.082(2021-09-04 23:43) Binary AI Feature DB: 1.082(2021-09-04 23:52) Binary AI Group DB: 1.082(2021-09-04 23:52) Binary AI Learning Feature DB: 1.082(2021-09-04 23:52) Text AI Learning Engine: 1.004(2020-01-01 00:00) Binary AI Engine: 1.053(2021-09-03 11:19) Binary AI Learning Engine: 1.013(2021-09-03 11:19) Scenario AI Engine: 1.001(2020-01-01 00:00) Text AI Engine: 1.042(2020-01-01 00:00)
get system time manual
Syntax
get system time manual
Example
Last Update Time :
daylight-saving-time: enable
zone : 4
get system time ntp
Syntax
get system time ntp
Example
Last Update Time :
ntpsync : enable
ntpserver : ntp1.fortiguard.com ntp2.fortiguard.com
syncinterval : 60