Fortinet white logo
Fortinet white logo

Administration Guide

Speed test usage

Speed test usage

Using speed test results with SD-WAN

The interface speed test can be used to populate the bandwidth values based on the results.

To manually configure the upstream and downstream interface bandwidth values in the GUI:
  1. Go to Network > Interfaces.
  2. Edit a WAN interface.
  3. Input the results from the speed test in the Estimated bandwidth section, specifically into the appropriate kbps Upstream or kbps Downstream fields.
  4. Click OK.
Note

Alternatively, use the GUI speed test to add the speed test results to the interface's estimated bandwidth with one click.

To manually configure the upstream and downstream interface bandwidth values in the CLI:
config system interface
    edit <interface>
        set estimated-upstream-bandwidth <speed in kbps>
        set estimated-downstream-bandwidth <speed in kbps>
    next
end

The populated bandwidth values can be employed in conjunction with various WAN intelligence strategies such as load balancing without SLA targets, load balancing with SLA targets, and best quality. These strategies are used to select an SD-WAN interface in SD-WAN service rules.

Example

In this example, SD-WAN interfaces, wan1 and wan2, are connected to two different internet service providers (ISPs), both providing access to the public internet. The preference is for Gmail services to use the link with the highest bandwidth.

To apply speed test results to a best quality SD-WAN rule:
  1. Run theGUI speed test on wan1 and wan2:

    1. When the test is complete, click OK in the Confirm pane to apply the results to the estimated bandwidth.

  2. Add wan1 and wan2 as SD-WAN members, then add a policy and static route. See SD-WAN quick start for more information.

  3. Configure the health check:

    1. Go to Network > SD-WAN, select the Performance SLAs tab, and click Create New.

    2. Enter a name for the performance SLA, such as google, and set the Server to google.com. See Health checks for more information.

    3. Click OK.

  4. Configure an SD-WAN rule to use best quality with bandwidth set as the quality criteria:

    1. Go to Network > SD-WAN, select the SD-WAN Rules tab, and click Create New.

    2. Enter a name for the rule, such as gmail.

    3. Configure the following settings:

      Internet service

      Google-Gmail

      Interface selection strategy

      Best quality

      Interface preference

      wan1 and wan2

      Measured SLA

      google

      Quality criteria

      Bandwidth

    4. Click OK.

  5. Verify that the Estimated bandwidth values are used to select an SD-WAN interface in SD-WAN service rules.

    1. Verify the health check status:

      # diagnose sys sdwan health-check status
      Health Check(google): 
      Seq(1 wan1): state(alive), packet-loss(0.000%) latency(4.996), jitter(0.824), mos(4.401), bandwidth-up(414400), bandwidth-dw(405115), bandwidth-bi(819515) sla_map=0x0
      Seq(2 wan2): state(alive), packet-loss(0.000%) latency(4.634), jitter(0.340), mos(4.402), bandwidth-up(443975), bandwidth-dw(699264), bandwidth-bi(1143239) sla_map=0x0
    2. Verify the service rule 1 diagnostics:

      # diagnose sys sdwan service4 1
      
      Service(1): Address Mode(IPV4) flags=0x4200 use-shortcut-sla use-shortcut
       Tie break: cfg
        Gen(1), TOS(0x0/0x0), Protocol(0): src(1->65535):dst(1->65535), Mode(priority), link-cost-factor(bibandwidth), link-cost-threshold(10), heath-check(google)
        Members(2): 
          1: Seq_num(2 wan2 virtual-wan-link), alive, bibandwidth: 1143239Kbps, selected
          2: Seq_num(1 wan1 virtual-wan-link), alive, bibandwidth: 819506Kbps, selected
        Internet Service(1): Google-Gmail(65646,0,0,0,0)

    Since wan2 has superior bandwidth, SD-WAN will prioritize Seq_num(2) over Seq_num(1), and wan2 will be utilized to route Gmail traffic. The bandwidth is automatically determined by the Estimated bandwidth values, which were populated by running a speed test in the GUI.

Using speed test results with traffic shaping

The interface speed test can be used to populate the bandwidth values based on the results.

To configure the outbandwidth value in the GUI:
  1. Go to Network > Interfaces.
  2. Edit an interface.
  3. In the Traffic Shaping section, enable Outbound bandwidth and enter the result obtained from the speed test’s uploading mode.
  4. Click OK.
To configure the outbandwidth and inbandwidth values in the CLI:
config system interface
    edit <interface>
        set outbandwidth <speed_in_kbps>
        set inbandwidth <speed_in_kbps>
    next
end 

The populated bandwidth values can be used in conjunction with either an egress or ingress traffic shaping profile.

Speed test usage

Speed test usage

Using speed test results with SD-WAN

The interface speed test can be used to populate the bandwidth values based on the results.

To manually configure the upstream and downstream interface bandwidth values in the GUI:
  1. Go to Network > Interfaces.
  2. Edit a WAN interface.
  3. Input the results from the speed test in the Estimated bandwidth section, specifically into the appropriate kbps Upstream or kbps Downstream fields.
  4. Click OK.
Note

Alternatively, use the GUI speed test to add the speed test results to the interface's estimated bandwidth with one click.

To manually configure the upstream and downstream interface bandwidth values in the CLI:
config system interface
    edit <interface>
        set estimated-upstream-bandwidth <speed in kbps>
        set estimated-downstream-bandwidth <speed in kbps>
    next
end

The populated bandwidth values can be employed in conjunction with various WAN intelligence strategies such as load balancing without SLA targets, load balancing with SLA targets, and best quality. These strategies are used to select an SD-WAN interface in SD-WAN service rules.

Example

In this example, SD-WAN interfaces, wan1 and wan2, are connected to two different internet service providers (ISPs), both providing access to the public internet. The preference is for Gmail services to use the link with the highest bandwidth.

To apply speed test results to a best quality SD-WAN rule:
  1. Run theGUI speed test on wan1 and wan2:

    1. When the test is complete, click OK in the Confirm pane to apply the results to the estimated bandwidth.

  2. Add wan1 and wan2 as SD-WAN members, then add a policy and static route. See SD-WAN quick start for more information.

  3. Configure the health check:

    1. Go to Network > SD-WAN, select the Performance SLAs tab, and click Create New.

    2. Enter a name for the performance SLA, such as google, and set the Server to google.com. See Health checks for more information.

    3. Click OK.

  4. Configure an SD-WAN rule to use best quality with bandwidth set as the quality criteria:

    1. Go to Network > SD-WAN, select the SD-WAN Rules tab, and click Create New.

    2. Enter a name for the rule, such as gmail.

    3. Configure the following settings:

      Internet service

      Google-Gmail

      Interface selection strategy

      Best quality

      Interface preference

      wan1 and wan2

      Measured SLA

      google

      Quality criteria

      Bandwidth

    4. Click OK.

  5. Verify that the Estimated bandwidth values are used to select an SD-WAN interface in SD-WAN service rules.

    1. Verify the health check status:

      # diagnose sys sdwan health-check status
      Health Check(google): 
      Seq(1 wan1): state(alive), packet-loss(0.000%) latency(4.996), jitter(0.824), mos(4.401), bandwidth-up(414400), bandwidth-dw(405115), bandwidth-bi(819515) sla_map=0x0
      Seq(2 wan2): state(alive), packet-loss(0.000%) latency(4.634), jitter(0.340), mos(4.402), bandwidth-up(443975), bandwidth-dw(699264), bandwidth-bi(1143239) sla_map=0x0
    2. Verify the service rule 1 diagnostics:

      # diagnose sys sdwan service4 1
      
      Service(1): Address Mode(IPV4) flags=0x4200 use-shortcut-sla use-shortcut
       Tie break: cfg
        Gen(1), TOS(0x0/0x0), Protocol(0): src(1->65535):dst(1->65535), Mode(priority), link-cost-factor(bibandwidth), link-cost-threshold(10), heath-check(google)
        Members(2): 
          1: Seq_num(2 wan2 virtual-wan-link), alive, bibandwidth: 1143239Kbps, selected
          2: Seq_num(1 wan1 virtual-wan-link), alive, bibandwidth: 819506Kbps, selected
        Internet Service(1): Google-Gmail(65646,0,0,0,0)

    Since wan2 has superior bandwidth, SD-WAN will prioritize Seq_num(2) over Seq_num(1), and wan2 will be utilized to route Gmail traffic. The bandwidth is automatically determined by the Estimated bandwidth values, which were populated by running a speed test in the GUI.

Using speed test results with traffic shaping

The interface speed test can be used to populate the bandwidth values based on the results.

To configure the outbandwidth value in the GUI:
  1. Go to Network > Interfaces.
  2. Edit an interface.
  3. In the Traffic Shaping section, enable Outbound bandwidth and enter the result obtained from the speed test’s uploading mode.
  4. Click OK.
To configure the outbandwidth and inbandwidth values in the CLI:
config system interface
    edit <interface>
        set outbandwidth <speed_in_kbps>
        set inbandwidth <speed_in_kbps>
    next
end 

The populated bandwidth values can be used in conjunction with either an egress or ingress traffic shaping profile.