Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

Configure external resource.

  config system external-resource
      Description: Configure external resource.
      edit <name>
          set status [enable|disable]
          set type [category|address|...]
          set category {integer}
          set username {string}
          set password {password}
          set comments {var-string}
          set resource {string}
          set user-agent {string}
          set refresh-rate {integer}
          set source-ip {ipv4-address}
          set interface-select-method [auto|sdwan|...]
          set interface {string}
      next
  end

config system external-resource

Parameter Name Description Type Size
status Enable/disable user resource.
enable: Enable user resource.
disable: Disable user resource.
option -
type User resource type.
category: FortiGuard category.
address: Firewall IP address.
domain: Domain Name.
malware: Malware hash.
option -
category User resource category. integer Minimum value: 192 Maximum value: 221
username HTTP basic authentication user name. string Maximum length: 64
password HTTP basic authentication password. password Not Specified
comments Comment. var-string Maximum length: 255
resource URI of external resource. string Maximum length: 511
user-agent Override HTTP User-Agent header used when retrieving this external resource. string Maximum length: 127
refresh-rate Time interval to refresh external resource (1 - 43200 min, default = 5 min). integer Minimum value: 1 Maximum value: 43200
source-ip Source IPv4 address used to communicate with server. ipv4-address Not Specified
interface-select-method Specify how to select outgoing interface to reach server.
auto: Set outgoing interface automatically.
sdwan: Set outgoing interface by SD-WAN or policy routing rules.
specify: Set outgoing interface manually.
option -
interface Specify outgoing interface to reach server. string Maximum length: 15

Configure external resource.

  config system external-resource
      Description: Configure external resource.
      edit <name>
          set status [enable|disable]
          set type [category|address|...]
          set category {integer}
          set username {string}
          set password {password}
          set comments {var-string}
          set resource {string}
          set user-agent {string}
          set refresh-rate {integer}
          set source-ip {ipv4-address}
          set interface-select-method [auto|sdwan|...]
          set interface {string}
      next
  end

config system external-resource

Parameter Name Description Type Size
status Enable/disable user resource.
enable: Enable user resource.
disable: Disable user resource.
option -
type User resource type.
category: FortiGuard category.
address: Firewall IP address.
domain: Domain Name.
malware: Malware hash.
option -
category User resource category. integer Minimum value: 192 Maximum value: 221
username HTTP basic authentication user name. string Maximum length: 64
password HTTP basic authentication password. password Not Specified
comments Comment. var-string Maximum length: 255
resource URI of external resource. string Maximum length: 511
user-agent Override HTTP User-Agent header used when retrieving this external resource. string Maximum length: 127
refresh-rate Time interval to refresh external resource (1 - 43200 min, default = 5 min). integer Minimum value: 1 Maximum value: 43200
source-ip Source IPv4 address used to communicate with server. ipv4-address Not Specified
interface-select-method Specify how to select outgoing interface to reach server.
auto: Set outgoing interface automatically.
sdwan: Set outgoing interface by SD-WAN or policy routing rules.
specify: Set outgoing interface manually.
option -
interface Specify outgoing interface to reach server. string Maximum length: 15