Fortinet black logo

CLI Reference

config system speed-test-schedule

config system speed-test-schedule

Speed test schedule for each interface.

config system speed-test-schedule
    Description: Speed test schedule for each interface.
    edit <interface>
        set ctrl-port {integer}
        set diffserv {user}
        set dynamic-server [disable|enable]
        set mode [UDP|TCP|...]
        set schedules <name1>, <name2>, ...
        set server-name {string}
        set server-port {integer}
        set status [disable|enable]
        set update-inbandwidth [disable|enable]
        set update-inbandwidth-maximum {integer}
        set update-inbandwidth-minimum {integer}
        set update-outbandwidth [disable|enable]
        set update-outbandwidth-maximum {integer}
        set update-outbandwidth-minimum {integer}
        set update-shaper [disable|local|...]
    next
end

config system speed-test-schedule

Parameter

Description

Type

Size

Default

ctrl-port

Port of the controller to get access token.

integer

Minimum value: 1 Maximum value: 65535

5200

diffserv

DSCP used for speed test.

user

Not Specified

dynamic-server

Enable/disable dynamic server option.

option

-

disable

Option

Description

disable

Disable dynamic server.

enable

Enable dynamic server.The speed test server will be found automatically.

interface

Interface name.

string

Maximum length: 35

mode

Protocol Auto, TCP or UDP used for speed test.

option

-

Auto

Option

Description

UDP

Protocol UDP for speed test.

TCP

Protocol TCP for speed test.

Auto

Dynamically selects TCP or UDP based on the speed test setting

schedules <name>

Schedules for the interface.

Name of a firewall recurring schedule.

string

Maximum length: 31

server-name

Speed test server name.

string

Maximum length: 35

server-port

Port of the server to run speed test.

integer

Minimum value: 1 Maximum value: 65535

5201

status

Enable/disable scheduled speed test.

option

-

enable

Option

Description

disable

Disable scheduled speed test.

enable

Enable scheduled speed test.

update-inbandwidth

Enable/disable bypassing interface's inbound bandwidth setting.

option

-

disable

Option

Description

disable

Honor interface's inbandwidth shaping.

enable

Ignore interface's inbandwidth shaping.

update-inbandwidth-maximum

Maximum downloading bandwidth (kbps) to be used in a speed test.

integer

Minimum value: 0 Maximum value: 16776000

0

update-inbandwidth-minimum

Minimum downloading bandwidth (kbps) to be considered effective.

integer

Minimum value: 0 Maximum value: 16776000

0

update-outbandwidth

Enable/disable bypassing interface's outbound bandwidth setting.

option

-

disable

Option

Description

disable

Honor interface's outbandwidth shaping.

enable

Ignore updating interface's outbandwidth shaping.

update-outbandwidth-maximum

Maximum uploading bandwidth (kbps) to be used in a speed test.

integer

Minimum value: 0 Maximum value: 16776000

0

update-outbandwidth-minimum

Minimum uploading bandwidth (kbps) to be considered effective.

integer

Minimum value: 0 Maximum value: 16776000

0

update-shaper

Set egress shaper based on the test result.

option

-

disable

Option

Description

disable

Disable updating egress shaper.

local

Update local-side egress shaper.

remote

Update remote-side egress shaper.

both

Update both local-side and remote-side egress shaper.

config system speed-test-schedule

Speed test schedule for each interface.

config system speed-test-schedule
    Description: Speed test schedule for each interface.
    edit <interface>
        set ctrl-port {integer}
        set diffserv {user}
        set dynamic-server [disable|enable]
        set mode [UDP|TCP|...]
        set schedules <name1>, <name2>, ...
        set server-name {string}
        set server-port {integer}
        set status [disable|enable]
        set update-inbandwidth [disable|enable]
        set update-inbandwidth-maximum {integer}
        set update-inbandwidth-minimum {integer}
        set update-outbandwidth [disable|enable]
        set update-outbandwidth-maximum {integer}
        set update-outbandwidth-minimum {integer}
        set update-shaper [disable|local|...]
    next
end

config system speed-test-schedule

Parameter

Description

Type

Size

Default

ctrl-port

Port of the controller to get access token.

integer

Minimum value: 1 Maximum value: 65535

5200

diffserv

DSCP used for speed test.

user

Not Specified

dynamic-server

Enable/disable dynamic server option.

option

-

disable

Option

Description

disable

Disable dynamic server.

enable

Enable dynamic server.The speed test server will be found automatically.

interface

Interface name.

string

Maximum length: 35

mode

Protocol Auto, TCP or UDP used for speed test.

option

-

Auto

Option

Description

UDP

Protocol UDP for speed test.

TCP

Protocol TCP for speed test.

Auto

Dynamically selects TCP or UDP based on the speed test setting

schedules <name>

Schedules for the interface.

Name of a firewall recurring schedule.

string

Maximum length: 31

server-name

Speed test server name.

string

Maximum length: 35

server-port

Port of the server to run speed test.

integer

Minimum value: 1 Maximum value: 65535

5201

status

Enable/disable scheduled speed test.

option

-

enable

Option

Description

disable

Disable scheduled speed test.

enable

Enable scheduled speed test.

update-inbandwidth

Enable/disable bypassing interface's inbound bandwidth setting.

option

-

disable

Option

Description

disable

Honor interface's inbandwidth shaping.

enable

Ignore interface's inbandwidth shaping.

update-inbandwidth-maximum

Maximum downloading bandwidth (kbps) to be used in a speed test.

integer

Minimum value: 0 Maximum value: 16776000

0

update-inbandwidth-minimum

Minimum downloading bandwidth (kbps) to be considered effective.

integer

Minimum value: 0 Maximum value: 16776000

0

update-outbandwidth

Enable/disable bypassing interface's outbound bandwidth setting.

option

-

disable

Option

Description

disable

Honor interface's outbandwidth shaping.

enable

Ignore updating interface's outbandwidth shaping.

update-outbandwidth-maximum

Maximum uploading bandwidth (kbps) to be used in a speed test.

integer

Minimum value: 0 Maximum value: 16776000

0

update-outbandwidth-minimum

Minimum uploading bandwidth (kbps) to be considered effective.

integer

Minimum value: 0 Maximum value: 16776000

0

update-shaper

Set egress shaper based on the test result.

option

-

disable

Option

Description

disable

Disable updating egress shaper.

local

Update local-side egress shaper.

remote

Update remote-side egress shaper.

both

Update both local-side and remote-side egress shaper.