Fortinet white logo
Fortinet white logo

CLI Reference

config system external-resource

config system external-resource

Configure external resource.

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

config system external-resource

Parameter

Description

Type

Size

Default

category

User resource category.

integer

Minimum value: 192 Maximum value: 221

0

comments

Comment.

var-string

Not Specified

interface

Specify outgoing interface to reach server.

string

Not Specified

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

name

External resource name.

string

Not Specified

password

HTTP basic authentication password.

password

Not Specified

refresh-rate

Time interval to refresh external resource.

integer

Minimum value: 1 Maximum value: 43200

5

resource

URI of external resource.

string

Not Specified

source-ip

Source IPv4 address used to communicate with server.

ipv4-address

Not Specified

0.0.0.0

status

Enable/disable user resource.

option

-

enable

Option

Description

enable

Enable user resource.

disable

Disable user resource.

type

User resource type.

option

-

category

Option

Description

category

FortiGuard category.

address

Firewall IP address.

domain

Domain Name.

malware

Malware hash.

user-agent

HTTP User-Agent header.

string

Not Specified

curl/7.58.0

username

HTTP basic authentication user name.

string

Not Specified

config system external-resource

config system external-resource

Configure external resource.

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

config system external-resource

Parameter

Description

Type

Size

Default

category

User resource category.

integer

Minimum value: 192 Maximum value: 221

0

comments

Comment.

var-string

Not Specified

interface

Specify outgoing interface to reach server.

string

Not Specified

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

name

External resource name.

string

Not Specified

password

HTTP basic authentication password.

password

Not Specified

refresh-rate

Time interval to refresh external resource.

integer

Minimum value: 1 Maximum value: 43200

5

resource

URI of external resource.

string

Not Specified

source-ip

Source IPv4 address used to communicate with server.

ipv4-address

Not Specified

0.0.0.0

status

Enable/disable user resource.

option

-

enable

Option

Description

enable

Enable user resource.

disable

Disable user resource.

type

User resource type.

option

-

category

Option

Description

category

FortiGuard category.

address

Firewall IP address.

domain

Domain Name.

malware

Malware hash.

user-agent

HTTP User-Agent header.

string

Not Specified

curl/7.58.0

username

HTTP basic authentication user name.

string

Not Specified