Skip to main content
vrajendran
Staff
Staff
May 7, 2020

Technical Tip: How to perform interface speed test

  • May 7, 2020
  • 0 replies
  • 31141 views

Description

 

This article describes how to do a speed test on the WAN interface from the GUI.

 

Scope

 

FortiGate.

Solution

 

The results of the test can be added to the interface's estimated bandwidth.
An SD-WAN Network Monitor license is required.

The License widget and the System -> FortiGuard page display the SD-WAN Network Monitor license status.

kb_17944_1.png

 

kb_17944_2.png

  

To run an interface speed test from the GUI:

  1. Go to Network -> Interfaces.

  2. Edit a WAN interface. The interfaces can be grouped by role using the grouping drop-down on the right side of the toolbar.

  3. Select 'Execute speed test' in the right pane. (This button is only available with the 'super_admin' profile).

 

kb_17944_3.png

 

  1. When the test completes, select 'Apply' results to estimated bandwidth.

 

kb_17944_4.png

  

  1. The speed test results are used to populate the estimated bandwidth fields.

Select 'OK'.

 

Note:
The FortiGate has to be connected to FortiGuard and able to reach either the AWS or Google speed test servers.

 

To run a speed test in the CLI, the following commands can be used: 

To download the speed test servers list: 

 

execute speed-test-server download

 

To view the speed test servers list: 

 

execute speed-test-server list

 

gui srv-list.png

 

To run a speed test:

 

execute speed-test <interface> <server> {Auto | TCP | UDP}

 

Example:

 

Run the TCP speed test.jpg

 

diagnose netlink interface speed-test <interface> <server> {Auto | TCP | UDP}

 

Example:

  

diagnose netlink interface speed-test.jpg

 

If the FortiGate does not have a valid SD-WAN Network Monitoring License, the following error will be generated:

 

FGT # execute speed-test 
Failed to get a valid SD-WAN Monitoring (SWNM) license to execute speed test.
Command fail. Return code 25

 

For more information, refer to the admin guide: Speed test examples.

 

Notes:

The following checks may be needed if the interface speed test result shows an abnormal zero-byte download speed.  

  • Run the interface speed test in CLI to ensure the reverse downloading mode is running.

  • Check FortiGuard and FortiCloud connectivity on the running firewall.

  • Check AWS or Google speed test servers' connectivity on the running firewall.

  • Check that the HTTPSD daemon is running normally when performing the interface speed test.

 

Related article:

Technical Tip: How to perform bandwidth tests

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!