Fortinet black logo

Administration Guide

Scheduled interface speed test

Scheduled interface speed test

The SD-WAN Network Monitor service supports running a speed test based on a schedule. The test results are automatically updated in the interface measured-upstream-bandwidth and measured-downstream-bandwidth fields. These fields do not impact the interface inbound bandwidth, outbound bandwidth, estimated upstream bandwidth, or estimated downstream bandwidth settings.

When the scheduled speed tests run, it is possible to temporarily bypass the bandwidth limits set on the interface and configure custom maximum or minimum bandwidth limits. These configurations are optional.

config system speed-test-schedule
    edit <interface>
        set mode {Auto | TCP | UDP}
        set schedules <schedule> ...
        set update-inbandwidth enable {enable | disable}
        set update-outbandwidth enable {enable | disable}
        set update-inbandwidth-maximum <integer>
        set update-outbandwidth-maximum <integer>
    next
end

mode {Auto | TCP | UDP}

Set the protocol used for the speed test:

  • Auto (default): dynamically select TCP or UDP based on the speed test setting.
  • UDP: use UDP.
  • TCP: use TCP.

update-inbandwidth enable {enable | disable}

Enable/disable bypassing the interface's inbound bandwidth setting.

update-outbandwidth enable {enable | disable}

Enable/disable bypassing the interface's outbound bandwidth setting.

update-inbandwidth-maximum <integer>

Set the maximum downloading bandwidth to be used in a speed test, in Kbps (0 - 16776000).

update-outbandwidth-maximum <integer>

Set the maximum uploading bandwidth to be used in a speed test, in Kbps (0 - 16776000).

See Example 4 for a sample configuration.

Scheduled interface speed test

The SD-WAN Network Monitor service supports running a speed test based on a schedule. The test results are automatically updated in the interface measured-upstream-bandwidth and measured-downstream-bandwidth fields. These fields do not impact the interface inbound bandwidth, outbound bandwidth, estimated upstream bandwidth, or estimated downstream bandwidth settings.

When the scheduled speed tests run, it is possible to temporarily bypass the bandwidth limits set on the interface and configure custom maximum or minimum bandwidth limits. These configurations are optional.

config system speed-test-schedule
    edit <interface>
        set mode {Auto | TCP | UDP}
        set schedules <schedule> ...
        set update-inbandwidth enable {enable | disable}
        set update-outbandwidth enable {enable | disable}
        set update-inbandwidth-maximum <integer>
        set update-outbandwidth-maximum <integer>
    next
end

mode {Auto | TCP | UDP}

Set the protocol used for the speed test:

  • Auto (default): dynamically select TCP or UDP based on the speed test setting.
  • UDP: use UDP.
  • TCP: use TCP.

update-inbandwidth enable {enable | disable}

Enable/disable bypassing the interface's inbound bandwidth setting.

update-outbandwidth enable {enable | disable}

Enable/disable bypassing the interface's outbound bandwidth setting.

update-inbandwidth-maximum <integer>

Set the maximum downloading bandwidth to be used in a speed test, in Kbps (0 - 16776000).

update-outbandwidth-maximum <integer>

Set the maximum uploading bandwidth to be used in a speed test, in Kbps (0 - 16776000).

See Example 4 for a sample configuration.