FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
rvijayaraj
Staff
Staff
Article Id 198205
Description
This article describes how to set a scheduled speed test for the SD-WAN Network Monitor.

Solution
Running a test will automatically update 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.


While running a speed test, it is possible to bypass the bandwidth limit set on the interface temporarily and configure maximum and minimum bandwidth limits.
# config system speed-test-schedule
    edit <interface>
        set schedules <schedule> ...
        set update-inbandwidth enable {enable | disable}
        set update-outbandwidth enable {enable | disable}
        set update-inbandwidth-maximum <integer>
        set update-inbandwidth-minimum <integer>
        set update-outbandwidth-maximum <integer>
        set update-outbandwidth-minimum <integer>
    next
end
update-inbandwidth                     <----- Enable/disable bypassing interface's inbound bandwidth setting.
update-outbandwidth                    <----- Enable/disable bypassing interface's outbound bandwidth setting.
update-inbandwidth-maximum         <----- Maximum downloading bandwidth (kbps) to be used in a speed test.
update-inbandwidth-minimum         <----- Minimum downloading bandwidth (kbps) to be considered effective.
update-outbandwidth-maximum       <----- Maximum uploading bandwidth (kbps) to be used in a speed test.
update-outbandwidth-minimum       <----- Minimum uploading bandwidth (kbps) to be considered effective.

Setting up a speed test schedule on port1 at 9:13 PM and another at 5:00PM.

1) Configure the recurring schedules.
# config firewall schedule recurring
    edit "At-9PM"
        set start 09:13
        set end 09:14
        set day monday tuesday wednesday thursday friday
    next
    edit "At-5PM"
        set start 17:00
        set end 18:00
        set day monday tuesday wednesday thursday friday
    next
end
Configure the speed test schedule.
# config system speed-test-schedule
    edit "port1"
        set schedules "At-9PM" "At-5PM"
        set update-inbandwidth enable   
        set update-outbandwidth enable
        set update-inbandwidth-maximum 60000
        set update-inbandwidth-minimum 10000
        set update-outbandwidth-maximum 50000
        set update-outbandwidth-minimum 10000
    next
end
View the speed test results.
# config system interface
    edit port1
        get | grep measure
            measured-upstream-bandwidth: 23691
            measured-downstream-bandwidth: 48862
            bandwidth-measure-time:  Mon May 31 09:13:42 2021
    next
end

Contributors