Fortinet white logo
Fortinet white logo

CLI Reference

config fortigate

config fortigate

Description: Configure FortiGate settings.

set ac-discovery-type [static | broadcast]
  config static-ac-addr *only accessible when ac-discovery-type is static
     edit <name>
         set server <name>
      next
  end
set ac-ctl-port [1024 – 49150]
set ac-data-port [1024 – 49150]
set discovery-intf <name1>
set ingress-intf <name1>
unset
show
end
Parameter Description Type Size Default
ac-discovery-type The method that the device uses to discover the AC, i.e., FortiGate. option - broadcast
Option Description
broadcast Broadcast.
static Static IP address.
server IP address or hostname of the AC server. string - none
ac-ctl-port CAPWAP control port of the AC server. integer 1024 - 49150 5246
ac-data-port CAPWAP data port of the AC server. integer 1024 - 49150 5246
discovery-intf The physical port from which FortiExtender sends broadcast packets in search for FortiGate. option - none
Option Description
lan LAN as the discovery interface.
lte1 LTE 1 as the discovery interface.
wan WAN as the discovery interface.
port4 Port 4 as the discovery interface.

config fortigate

config fortigate

Description: Configure FortiGate settings.

set ac-discovery-type [static | broadcast]
  config static-ac-addr *only accessible when ac-discovery-type is static
     edit <name>
         set server <name>
      next
  end
set ac-ctl-port [1024 – 49150]
set ac-data-port [1024 – 49150]
set discovery-intf <name1>
set ingress-intf <name1>
unset
show
end
Parameter Description Type Size Default
ac-discovery-type The method that the device uses to discover the AC, i.e., FortiGate. option - broadcast
Option Description
broadcast Broadcast.
static Static IP address.
server IP address or hostname of the AC server. string - none
ac-ctl-port CAPWAP control port of the AC server. integer 1024 - 49150 5246
ac-data-port CAPWAP data port of the AC server. integer 1024 - 49150 5246
discovery-intf The physical port from which FortiExtender sends broadcast packets in search for FortiGate. option - none
Option Description
lan LAN as the discovery interface.
lte1 LTE 1 as the discovery interface.
wan WAN as the discovery interface.
port4 Port 4 as the discovery interface.