Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

Home > Success Center > Netflow Traffic Analyzer (NTA) > Configure sFlow export on Fortigate devices

Configure sFlow export on Fortigate devices

Table of contents
Created by Joseph Esquitin, last modified by Steven Bansil_ret on Jun 24, 2016

Views: 3,664 Votes: 0 Revisions: 6


The following is an example that helps to explain how to configure your FortiGate unit to

send sFlow datagrams to an sFlow collector.

To configure the FortiGate unit to send sFlow datagrams to an sFlow collector


  • All Netflow versions NOTE: Fortigate needs to be running FortiOS 4.0MR3 release or higher


To configure the FortiGate unit to send sFlow datagrams to an sFlow collector follow the steps below


1.)  Enter the following command syntax to set the IP address of your sFlow collector to

config system sflow

set collector-ip



2.)  If required you can also change the UDP port number that the sFlow agent uses. You

should only change this port if required by your network configuration or sFlow

collector. The default sFlow port is 6343. The following command changes the sFlow

agent port to 2055.

config system sflow

set collector-port 2055


3.) Use the following command to enable sFlow for the port1 interface:

config system interface

edit port1

set sflow-sample enable


4.) Repeat this step to add sFlow agents to other FortiGate interfaces.

5.)  You can also change the sampling rate, polling interval, and sample direction for each

sFlow agent:

config system interface

edit port1

set sample-rate <rate_number>

set polling-interval <frequency>

set sample-direction {both | rx | tx}



Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.


Last modified